joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439734
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
xor esi, esi
test eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
jne 0x439751
mov eax, 0xffffff9a
jmp 0x439919
mov ebx, eax
cmp dword [ebx + 0x2c], 0
jne 0x439763
mov eax, 0xffffff9a
jmp 0x439919
xor edx, edx
mov dword [ebx + 0x34], edx
cmp dword [ebx + 0x80], 8
jne 0x4397ba
cmp dword [ebx + 0x84], 0
jne 0x4397ba
test esi, esi
jne 0x4397ba
cmp dword [ebx + 0x40], 0
jne 0x43979c
mov eax, ebx
call fcn.004395c0
mov dword [ebx + 0x40], 0x10000
lea edx, [ebx + 0x88]
inc eax
mov dword [ebx + 0x3c], edx
mov edi, dword [ebx + 0x44]
lea eax, [ebx + 0x30]
mov edx, 4
call fcn.0043af3c
mov esi, eax
mov eax, dword [ebx + 0x44]
sub eax, edi
add dword [ebx + 0x6c], eax
test esi, esi
je 0x43977e
cmp esi, 1
jne 0x4397c1
xor esi, esi
cmp dword [ebx + 0x6c], 0
jbe 0x4397d8
test esi, esi
jne 0x4397d8
mov eax, ebx
call fcn.004395c0
inc eax
jne 0x4397d8
or esi, 0xffffffff
cmp dword [ebx + 0x80], 8
jne 0x4397f9
cmp dword [ebx + 0x84], 0
jne 0x4397f9
lea eax, [ebx + 0x30]
call fcn.0043b200
mov esi, eax
xor eax, eax
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x84], 0
jne 0x439812
mov edx, dword [ebx + 0x1008c]
mov dword [esp + 4], edx
mov ecx, dword [ebx + 0x38]
mov dword [esp], ecx
mov edi, dword [ebx + 0x44]
add edi, dword [ebx + 0x100a4]
mov eax, dword [ebx + 0x74]
add eax, 0x10
mov ecx, 4
mov edx, dword [esp + 4]
call fcn.0043895c
mov eax, dword [ebx + 0x74]
add eax, 0x14
mov ecx, 4
mov edx, edi
call fcn.0043895c
cmp dword [ebx + 0x5c], 1
jne 0x43985c
mov eax, dword [ebx + 0x74]
add eax, 0x24
mov ecx, 2
mov edx, 1
call fcn.0043895c
mov eax, dword [ebx + 0x74]
add eax, 0x18
mov ecx, 4
mov edx, dword [esp]
call fcn.0043895c
test esi, esi
jne 0x439883
lea eax, [ebx + 0x24]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
call fcn.00438834
mov esi, eax
mov eax, dword [ebx + 0x74]
push eax
call fcn.00438004
pop ecx
test esi, esi
jne 0x43990c
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
push 0
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x20]
add ecx, 0xe
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x10]
test eax, eax
je 0x4398b6
or esi, 0xffffffff
test esi, esi
jne 0x4398cc
push 4
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.004388f0
mov esi, eax
test esi, esi
jne 0x4398e0
push 4
mov ecx, edi
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.004388f0
mov esi, eax
test esi, esi
jne 0x4398f6
push 4
mov ecx, dword [esp + 4]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.004388f0
mov esi, eax
push 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x10]
test eax, eax
je 0x43990c
or esi, 0xffffffff
inc dword [ebx + 0x100b0]
xor eax, eax
mov dword [ebx + 0x2c], eax
mov eax, esi
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x439fc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x55130c], 0
je 0x43a0e2
xor eax, eax
xor esi, esi
mov dword [0x55130c], eax
mov eax, 0x551310
xor ebx, ebx
xor edx, edx
mov ecx, 0x1f
mov dl, byte [eax]
inc eax
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc ebx
cmp ebx, 0xe
jl 0x439fe1
xor ebx, ebx
mov ecx, 0x55a930
mov eax, ebx
xor edx, edx
test al, 1
je 0x43a013
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x43a017
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x43a007
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x43a003
xor ebx, ebx
mov esi, 0x55a930
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
add edx, ecx
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
add edx, ecx
lea ecx, [esi + 0x400]
mov dword [esi + 0x1000], edx
mov edx, 1
mov edi, eax
and edi, 0xff
shr eax, 8
mov edi, dword [edi*4 + 0x55a930]
xor edi, eax
mov eax, edi
mov ebp, eax
mov edi, eax
shr ebp, 8
mov dword [ecx], eax
shr edi, 0x18
and ebp, 0xff00
add edi, ebp
mov ebp, eax
and ebp, 0xff00
shl ebp, 8
add edi, ebp
mov ebp, eax
and ebp, 0xff
shl ebp, 0x18
add edi, ebp
mov dword [ecx + 0x1000], edi
inc edx
add ecx, 0x400
cmp edx, 4
jl 0x43a073
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x43a034
xor eax, eax
mov dword [0x551308], eax
jmp 0x43a0eb
cmp dword [0x551308], 0
jne 0x43a0e2
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43f900
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x43f90f
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x5522cc], 0
jne 0x43f91d
call fcn.0043f8a4
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x55d1c0]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x43f920
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x43f948
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00404f5c
test eax, eax
jle 0x43f98c
mov edx, 1
xor ecx, ecx
mov cl, byte [esi + edx - 1]
movzx edi, bx
shr edi, 8
xor ecx, edi
and ecx, 0xff
mov cx, word [ecx*2 + 0x5520cc]
shl ebx, 8
and bx, 0xffff
xor cx, bx
mov ebx, ecx
inc edx
dec eax
jne 0x43f95f
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x440268
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.004033a0
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.004033a0
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
shl eax, 3
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x4402d8
inc dword [ebp - 0x5c]
test ebx, ebx
jbe 0x440326
mov eax, 0x40
sub eax, dword [ebp - 0x54]
cmp eax, ebx
ja 0x44030d
mov ecx, eax
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
call fcn.00402b88
mov eax, 0x40
sub eax, dword [ebp - 0x54]
sub ebx, eax
add esi, eax
push ebp
call fcn.0043f9ac
pop ecx
jmp 0x440322
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
mov ecx, ebx
call fcn.00402b88
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x4402dc
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x44033b
push ebp
call fcn.0043f9ac
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.0043f9ac
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402b88
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4403a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4403c0
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4403ae
pop edi
pop esi
pop ebx
ret
Function at 0x4403f8
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.004403c4
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.004403c4
mov esi, eax
xor eax, eax
mov ecx, dword [0x55d5cc]
mov edx, dword [0x55d5d0]
mov dword [esp + 4], edx
mov edx, dword [0x55d5d4]
mov dword [esp + 8], edx
mov edx, dword [0x55d5d8]
mov dword [esp + 0xc], edx
mov edx, 0x20
add eax, 0x9e3779b9
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
add ebx, edi
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
add esi, edi
dec edx
jne 0x440444
mov eax, ebx
call fcn.004403c4
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.004403c4
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4404a8
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.004403c4
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.004403c4
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x55d5cc]
mov edx, dword [0x55d5d0]
mov dword [esp + 4], edx
mov edx, dword [0x55d5d4]
mov dword [esp + 8], edx
mov edx, dword [0x55d5d8]
mov dword [esp + 0xc], edx
mov edx, 0x20
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
sub esi, edi
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
sub ebx, edi
sub eax, 0x9e3779b9
dec edx
jne 0x4404f7
mov eax, ebx
call fcn.004403c4
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.004403c4
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45708c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404ef0
add esp, 0x104
pop ebx
ret
Function at 0x458540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
cli
invalid
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00457634
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
jmp dword [edi]
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00457666
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0045761b
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00457656
std
iretd

Function at 0x458a6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x458aac
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
invalid
lea eax, [eax]
Function at 0x45a988
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45aa83
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x55d7a8], bl
mov eax, 0x55d7ac
mov edx, esi
call fcn.00404cd4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov dl, bl
mov eax, dword [0x455c34]
call fcn.0041d200
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.00402944
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.0040bd90
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, 0x45aa98
call fcn.0040d0fc
mov eax, dword [ebp - 4]
call fcn.0040515c
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp byte [0x556bfc], 0
jne 0x45aa36
mov eax, ebx
add al, 0xfd
sub al, 7
jb 0x45aa60
cmp dword [0x55e044], 0
je 0x45aa60
add bl, 0xfb
sub bl, 5
jae 0x45aa60
push 0x242010
push 0x45aacc
mov eax, esi
call fcn.0040515c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aa8a
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 4]
call fcn.00404c80
ret

Function at 0x45adb4
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x45ad7c
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x45aeb0
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
xor edx, edx
test eax, eax
je 0x45aed2
mov dword [esp], eax
mov byte [esp + 4], 0
mov eax, esp
push eax
push 0x45ae20
call sub.user32.dll_EnumWindows
mov dl, byte [esp + 4]
mov eax, edx
pop ecx
pop edx
ret

Function at 0x45af50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov ebx, edx
mov dword [esp], eax
push 0x80000001
lea eax, [esp + 0x18]
push eax
mov ecx, 0x80000001
mov edx, 0x7fffffff
mov eax, 0x7fffffff
call fcn.0041fc00
lea esi, [esp + 0x14]
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, esp
push eax
push 0x45aed8
call sub.user32.dll_EnumWindows
mov edi, ebx
lea esi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx], 0x7fffffff
jne 0x45afb5
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041fc00
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x45b038
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
test ebx, ebx
je 0x45b116
mov eax, ebx
call fcn.00404f5c
mov esi, eax
inc esi
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x45b10f
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b0f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b0d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040515c
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.00402b88
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b0de
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45b11c
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x45b1e3
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
je 0x45b1b8
cmp byte [0x556bf4], 0
je 0x45b161
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00404e78
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 4]
call fcn.0042c974
jmp 0x45b170
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404e78
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004033a0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x55d798]
call fcn.0040515c
push eax
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040515c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 1
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b1ea
lea eax, [ebp - 0x5c]
call fcn.00404c80
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x45b37c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x558bc0]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x4562f8]
call fcn.0045b1f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45b44c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b436
cmp word [ebp - 4], 0x5a4d
jne 0x45b436
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00423cb0
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b436
cmp dword [ebp - 8], 0
je 0x45b436
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00423cb0
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b436
cmp dword [ebp - 0xc], 0x4550
jne 0x45b436
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b436
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b453
mov eax, dword [ebp - 0x10]
call fcn.00403dac
ret
Function at 0x45b45c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45b5f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4562f8]
call fcn.0045b1f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45b5d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b5c0
cmp word [ebp - 4], 0x5a4d
jne 0x45b5c0
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00423cb0
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b5c0
cmp dword [ebp - 8], 0
je 0x45b5c0
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00423cb0
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b5c0
cmp dword [ebp - 0xc], 0x4550
jne 0x45b5c0
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045b268
test al, al
je 0x45b5bc
test byte [ebp - 0x15], 0x20
je 0x45b5bc
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00456c08
mov eax, dword [ebp - 0x2c]
call fcn.0040515c
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45b5b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x45b604
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x45b59a
push 0xa
push 0x45b610
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x45b59a
mov byte [ebp - 1], 2
jmp 0x45b59e
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b5c0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b5dd
mov eax, dword [ebp - 0x10]
call fcn.00403dac
ret
Function at 0x45b82c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45b835
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ba58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404c80
mov eax, esi
call fcn.00404c80
test ebx, ebx
je 0x45ba3d
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.0040515c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x45ba3d
mov eax, dword [ebp - 4]
call fcn.0040285c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45ba36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.0040515c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45ba1d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45ba68
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b967
push 0x45ba8c
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.0040bd68
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040bd68
push dword [ebp - 0x24]
push 0x45baa8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040501c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040515c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b967
cmp dword [ebp - 0xc], 1
jbe 0x45b967
mov ebx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0040c9f8
mov ecx, eax
mov eax, edi
mov edx, ebx
call fcn.00404d70
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45babc
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45ba1d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.004083ac
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.004083ac
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.0040bc54
push dword [ebp - 0x28]
push 0x45bac8
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.0040bc54
push dword [ebp - 0x2c]
push 0x45bac8
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.0040bc54
push dword [ebp - 0x30]
push 0x45bac8
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.0040bc54
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.0040501c
mov eax, dword [esi]
mov edx, 0x45bad4
call fcn.004050a8
jne 0x45ba1d
mov eax, esi
call fcn.00404c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba3d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0040287c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba5f
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404ca4
ret