joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004d560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087578
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x1004d658
cmp dword [ebp + 0xc], 0
je 0x1004d658
test esi, esi
je 0x1004d658
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.1003d0c0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.1003ea00
mov dword [ebp - 0x10], 0x100af8dc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1004d5e5
cmp dword [ebp - 0x1c], 0
je 0x1004d5e5
push eax
call dword [0x1008c3a0]
test eax, eax
jne 0x1004d5ee
lea eax, [ebp - 0x20]
push eax
call fcn.1004d740
push 0x30
push 0x100af8b8
push esi
call fcn.1006c59c
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1004d631
push edi
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.1006cd6f
push edi
mov esi, eax
call fcn.1006b41a
add esp, 0x14
push edi
call fcn.1006cba1
add esp, 4
test esi, esi
jle 0x1004d631
mov esi, 1
jmp 0x1004d633
xor esi, esi
lea ecx, [ebp - 0x20]
call fcn.10021af0
lea ecx, [ebp - 0x30]
call fcn.10021af0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1004f850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100879ab
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov esi, dword [0x1008c244]
mov dword [edi + 4], 0x100afb48
lea eax, [edi + 0xc4]
mov dword [edi + 0xb8], 0x100ae3a4
push eax
mov dword [edi + 0xc0], 0x100ae37c
call esi
lea eax, [edi + 0xe0]
mov dword [edi + 0xbc], 1
mov dword [edi + 0xb8], 0x100adaac
push eax
mov dword [edi + 0xdc], 0x100ae37c
call esi
mov eax, dword [ebp + 8]
mov dword [edi + 0xfc], eax
mov dword [edi + 0x100], 0
mov dword [edi + 0xf8], 0
mov eax, dword [edi + 4]
mov dword [edi], 0x100afb34
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [eax + edi + 4], 0x100afaec
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0xb4]
mov dword [ecx + edi], eax
mov dword [edi + 8], 0x100ad8f8
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0x100ad8f8
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
lea eax, [edi + 0x34]
push eax
mov dword [edi + 0x30], 0x100ae37c
call esi
mov dword [edi + 0x4c], 0x100ae39c
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0xa
mov dword [edi + 0x5c], 0
push 0x1f
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 4
call fcn.100456e0
mov eax, dword [0x100e98f8]
mov dword [edi + 0xa0], 0x100ad8f8
mov dword [edi + 0xac], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xb0], 0
cmp eax, 0x15f8f
jge 0x1004f9e7
inc eax
jmp 0x1004f9ec
mov eax, 0x11170
mov dword [0x100e98f8], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1004fe40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087898
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1004fe7c
add eax, 4
push eax
call dword [0x1008c24c]
mov dword [ebp - 4], 0
cmp dword [0x100eb538], 0
jne 0x1004fefd
cmp dword [0x100eb50c], 0
jne 0x1004fefd
cmp dword [edi + 0x28], 0
jne 0x1004fefd
push str.Start
push 0x100afc10
push 0xe
call fcn.10040980
add esp, 0xc
lea esi, [edi + 0x2c]
push esi
push 0
push edi
push 0x10050060
push 0
push 0
call fcn.10069fc8
push dword [esi]
mov dword [edi + 0x28], eax
push str.Thread_created___Thread_ID___d
push 0x5d
push 0x100afc10
push 0x18
call fcn.10040a30
add esp, 0x2c
push 0x10091d8c
push 0x100afc10
push 0xe
call fcn.10040980
xor ebx, ebx
add esp, 0xc
cmp dword [edi + 0x28], ebx
setne bl
jmp 0x1004ff02
mov ebx, 1
lea ecx, [ebp - 0x10]
call fcn.100456a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10050d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087bf6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 8]
mov dword [ebx], 0x100b02d0
mov dword [ecx], 0x100922a0
mov dword [ecx + 4], 0x100ae384
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0x100ae384
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov byte [ebp - 4], 1
mov eax, dword [ecx]
lea esi, [ebx + 4]
push 0x25
mov dword [esi], 0
call dword [eax]
mov eax, dword [ebx + 0x28]
push 0x25
lea ecx, [ebx + 0x28]
call dword [eax + 4]
push esi
push 0x10091c74
push 1
push 0
push 0x10091c84
call dword [0x1008c538]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10054e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088447
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], 0x100b07ec
mov dword [esi + 0x10], 0x100ad8f8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0x100ad8f8
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0x100ad8f8
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x5c], 0x100ad8f8
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x6c], 0x100ad8f8
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x20]
push eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.1001ff60
mov ebx, eax
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [ebx + 0xc]
je 0x10054f86
test ecx, ecx
je 0x10054f63
push ecx
call fcn.1006a76f
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
push dword [ebx + 4]
lea ecx, [esi + 0x30]
push dword [ebx + 0xc]
call fcn.1003d5d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x100ad8f8
test eax, eax
je 0x10054f9d
push eax
call fcn.1006a76f
add esp, 4
mov dword [esi + 0x44], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100556c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008859c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100b0814
mov dword [esi + 0x4c], 0x100ae384
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
lea ecx, [esi + 0x68]
mov dword [ebp - 4], 0
mov dword [ecx], 0x100ae384
mov dword [ecx + 4], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
lea ebx, [esi + 0x84]
mov dword [ebx], 0x100ae384
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [ebp + 8], 0x100afae4
mov byte [ebp - 4], 3
mov eax, dword [0x100e98f8]
cmp eax, 0x15f8f
jge 0x100557c7
inc eax
jmp 0x100557cc
mov eax, 0x11170
mov dword [esi + 0x28], eax
cmp eax, 0x15f8f
jge 0x100557d9
inc eax
jmp 0x100557de
mov eax, 0x11170
mov dword [0x100e98f8], eax
mov dword [esi + 0x2c], eax
mov eax, dword [ecx]
push 0x1f
mov dword [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call dword [eax + 4]
mov eax, dword [esi + 0x4c]
push 0x1f
lea ecx, [esi + 0x4c]
call dword [eax + 4]
mov eax, dword [ebx]
push 0x1f
mov ecx, ebx
call dword [eax + 4]
mov dword [esi + 0xa0], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005ad90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10088eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0x100af8ac
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 1
call fcn.1005b130
mov ebx, dword [ebp + 8]
mov byte [esp + 0x38], 2
mov esi, dword [ebx + 0xc]
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.10042140
mov dword [esp + 0x18], 0x100af8ac
push 0
push dword [ebp + 0xc]
mov byte [esp + 0x40], 3
push esi
push edi
push eax
call fcn.1004c3f0
mov byte [esp + 0x38], 2
test eax, eax
jne 0x1005ae63
push eax
push dword [ebp + 0xc]
push dword [ebx + 0xc]
push dword [esp + 0x34]
push 0x80000002
call fcn.1004c3f0
test eax, eax
jne 0x1005ae3b
xor esi, esi
jmp 0x1005ae68
mov esi, dword [ebx + 0xc]
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.10042140
mov dword [esp + 0x18], 0x100af8ac
push dword [ebp + 0xc]
mov byte [esp + 0x3c], 4
push esi
push edi
push eax
call fcn.1004bb00
mov esi, 1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 0x100ad8f8
test eax, eax
je 0x1005ae81
push eax
call fcn.1006a76f
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x100ae3bc
test ecx, ecx
je 0x1005aeb0
push ecx
call dword [0x1008c03c]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005c6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10089198
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], 0x100ad8f8
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x68], 1
push dword [eax + 4]
lea ecx, [esp + 0x20]
push dword [eax + 0xc]
mov dword [esp + 0x24], 0x100ad8f8
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.1003d5d0
mov esi, dword [ebp + 0xc]
mov byte [esp + 0x68], 2
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1005c7c2
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x1005c7b8
lea ecx, [eax - 1]
cmp ecx, eax
sbb eax, eax
inc eax
jne 0x1005c7ad
mov eax, dword [esp + 0x28]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x1005c7b8
cmp eax, 0x2f
je 0x1005c7b8
push 0x5c
lea ecx, [esp + 0x20]
call fcn.1003d9e0
push esi
lea ecx, [esp + 0x20]
call fcn.1003dac0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 3
call fcn.10042140
mov dword [esp + 0x18], 0x100af8ac
push 0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x70], 4
mov edi, dword [esp + 0x30]
push str.HookDllPath
push edi
push eax
call fcn.1004c3f0
mov byte [esp + 0x68], 3
mov ebx, dword [esp + 0x48]
test eax, eax
je 0x1005c91d
test ebx, ebx
je 0x1005c91d
cmp dword [esp + 0x40], 0
je 0x1005c91d
lea ecx, [esp + 0x10]
call fcn.10042140
mov dword [esp + 0x18], 0x100af8ac
mov esi, dword [ebp + 0x10]
push 0
push esi
push str.HookDllVersion
push edi
push eax
mov byte [esp + 0x7c], 5
call fcn.1004c3f0
mov byte [esp + 0x68], 3
test eax, eax
je 0x1005c91d
cmp dword [esi + 0xc], 0
je 0x1005c91d
cmp dword [esi + 4], 0
je 0x1005c91d
mov dword [esp + 0x2c], 0x100ad8f8
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
push ecx
push str.Software
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 6
call fcn.1003d0c0
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x68], 7
push dword [eax + 0xc]
lea ecx, [esp + 0x50]
call fcn.1003da70
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push dword [eax + 0x30]
call fcn.1003da70
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x10]
call fcn.10042140
mov dword [esp + 0x18], 0x100af8ac
push 0
lea ecx, [esp + 0x30]
push ecx
push str.HookDllName
push esi
push eax
mov byte [esp + 0x7c], 8
call fcn.1004c3f0
test eax, eax
je 0x1005c907
cmp dword [esp + 0x38], 0
je 0x1005c907
cmp dword [esp + 0x30], 0
je 0x1005c907
mov esi, 1
jmp 0x1005c909
xor esi, esi
lea ecx, [esp + 0x4c]
call fcn.10021af0
lea ecx, [esp + 0x2c]
call fcn.10021af0
jmp 0x1005c91f
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1005c936
push eax
call dword [0x1008c03c]
mov dword [esp + 0x10], 0
test edi, edi
je 0x1005c943
push edi
call fcn.1006a76f
add esp, 4
test ebx, ebx
je 0x1005c950
push ebx
call fcn.1006a76f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005d4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089306
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], 0x100b1054
mov dword [ecx], 0x100922a0
mov dword [ecx + 4], 0x100ae384
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0x100ad8f8
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov byte [ebp - 4], 1
mov eax, dword [ecx]
push 0x19b
call dword [eax]
push 0x100b0fac
lea ecx, [edi + 0x24]
call fcn.1003d7a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1005e0e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080e58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov dword [esi], 0x100ad8f8
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
push dword [ecx + 0x28]
push dword [ecx + 0x30]
mov ecx, esi
call fcn.1003d5d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10068de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a4e6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c20a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], 0x100b1a50
mov dword [ecx], 0x100ae384
mov dword [ecx + 4], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0x100ae39c
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xa
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [ecx]
push 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403687
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4260e0]
jne 0x403691
repz ret
jmp fcn.0040a85c

Function at 0x41b6f8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4260e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404e6f
and dword [ebp - 0x14], 0
cmp dword [0x427ddc], 0
mov dword [ebp - 0x18], eax
jne 0x41b7ab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41b853
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41b853
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427ddc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427de0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427de4], eax
call edi
push eax
call esi
mov dword [0x427dec], eax
test eax, eax
je 0x41b7ab
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427de8], eax
mov eax, dword [0x427de8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41b804
cmp dword [0x427dec], ecx
je 0x41b804
push eax
call esi
push dword [0x427dec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41b804
test ebx, ebx
je 0x41b804
call edi
test eax, eax
je 0x41b7fb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41b7fb
test byte [ebp - 8], 1
jne 0x41b804
or dword [ebp + 0x10], 0x200000
jmp 0x41b837
mov eax, dword [0x427de0]
cmp eax, dword [ebp - 0x18]
je 0x41b837
push eax
call esi
test eax, eax
je 0x41b837
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b837
mov eax, dword [0x427de4]
cmp eax, dword [ebp - 0x18]
je 0x41b837
push eax
call esi
test eax, eax
je 0x41b837
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427ddc]
call esi
test eax, eax
je 0x41b853
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41b855
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403687
leave
ret
Function at 0x805c1c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805c22
pop ebp
sub ebp, 6
sub ebp, 0x405c1c
jmp 0x805c80
jmp 0x805c89
mov eax, 0x405c1c
add eax, ebp
add eax, 0x93
mov ecx, 0x62c
mov edx, 0xb7788a8f
xor byte [eax], dl
inc eax
dec ecx
jne 0x805ca0
jmp 0x805cb3
in eax, 0xcf
out 0x8f, eax
lahf
invalid

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4020c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4020d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402114
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402110
lea ebx, [ebx]
cmp esi, eax
jae 0x402114
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402100
cmp esi, eax
jb 0x40211a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405f40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
test ebx, ebx
jne 0x405f4d
xor eax, eax
add esp, 0x10
ret
mov cl, byte [esi + 0xe]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov eax, 0x4d42
mov edi, 1
push esi
shl edi, cl
mov word [esp + 0xc], ax
call ebp
add eax, 0xe
push ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xe], eax
mov eax, dword [esi]
push 0xe
mov word [esp + 0x18], dx
mov word [esp + 0x16], cx
lea edx, [esp + 0x10]
lea ecx, [eax + edi*4 + 0xe]
push 1
push edx
mov dword [esp + 0x22], ecx
call fcn.0057e4e0
add esp, 0x10
push ebx
push esi
call ebp
push eax
push 1
push esi
call fcn.0057e4e0
add esp, 0x10
pop edi
mov eax, 1
pop ebp
add esp, 0x10
ret
Function at 0x40b0a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x98
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
call fcn.0040b8d0
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x40b203
push edi
push esi
call fcn.0056cbbf
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40b1f9
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x5d20b0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b1f9
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x5d20b4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b1d9
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 2]
movzx eax, word [eax]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edx
push eax
lea ecx, [esp + 0x2c]
push str.StringFileInfo_04x_04xFileVersion
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b18b
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebp + 0x10]
push 0x100
push eax
call fcn.0043a290
add esp, 0xc
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.StringFileInfo_04x_04xCompanyName
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b1d9
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebp + 0x110]
push 0x100
push edx
call fcn.0043a290
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xa]
mov dword [ebp], ecx
movzx edx, word [eax + 8]
mov dword [ebp + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [ebp + 8], ecx
movzx edx, word [eax + 0xc]
mov dword [ebp + 0xc], edx
push edi
call fcn.0056cbb4
add esp, 4
pop edi
mov ecx, dword [esp + 0xa0]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x98
ret 4