joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c46c
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 0x43c489
mov eax, 0xffffff9a
jmp 0x43c651
mov ebx, eax
cmp dword [ebx + 0x2c], 0
jne 0x43c49b
mov eax, 0xffffff9a
jmp 0x43c651
xor edx, edx
mov dword [ebx + 0x34], edx
cmp dword [ebx + 0x80], 8
jne 0x43c4f2
cmp dword [ebx + 0x84], 0
jne 0x43c4f2
test esi, esi
jne 0x43c4f2
cmp dword [ebx + 0x40], 0
jne 0x43c4d4
mov eax, ebx
call fcn.0043c2f8
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.0043dc74
mov esi, eax
mov eax, dword [ebx + 0x44]
sub eax, edi
add dword [ebx + 0x6c], eax
test esi, esi
je 0x43c4b6
cmp esi, 1
jne 0x43c4f9
xor esi, esi
cmp dword [ebx + 0x6c], 0
jbe 0x43c510
test esi, esi
jne 0x43c510
mov eax, ebx
call fcn.0043c2f8
inc eax
jne 0x43c510
or esi, 0xffffffff
cmp dword [ebx + 0x80], 8
jne 0x43c531
cmp dword [ebx + 0x84], 0
jne 0x43c531
lea eax, [ebx + 0x30]
call fcn.0043df38
mov esi, eax
xor eax, eax
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x84], 0
jne 0x43c54a
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.0043b694
mov eax, dword [ebx + 0x74]
add eax, 0x14
mov ecx, 4
mov edx, edi
call fcn.0043b694
cmp dword [ebx + 0x5c], 1
jne 0x43c594
mov eax, dword [ebx + 0x74]
add eax, 0x24
mov ecx, 2
mov edx, 1
call fcn.0043b694
mov eax, dword [ebx + 0x74]
add eax, 0x18
mov ecx, 4
mov edx, dword [esp]
call fcn.0043b694
test esi, esi
jne 0x43c5bb
lea eax, [ebx + 0x24]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
call fcn.0043b56c
mov esi, eax
mov eax, dword [ebx + 0x74]
push eax
call fcn.0043ad24
pop ecx
test esi, esi
jne 0x43c644
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 0x43c5ee
or esi, 0xffffffff
test esi, esi
jne 0x43c604
push 4
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0043b628
mov esi, eax
test esi, esi
jne 0x43c618
push 4
mov ecx, edi
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0043b628
mov esi, eax
test esi, esi
jne 0x43c62e
push 4
mov ecx, dword [esp + 4]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0043b628
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 0x43c644
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 0x43ccf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x48b400], 0
je 0x43ce1a
xor eax, eax
xor esi, esi
mov dword [0x48b400], eax
mov eax, 0x48b404
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 0x43cd19
xor ebx, ebx
mov ecx, 0x492ac0
mov eax, ebx
xor edx, edx
test al, 1
je 0x43cd4b
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x43cd4f
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x43cd3f
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x43cd3b
xor ebx, ebx
mov esi, 0x492ac0
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 + 0x492ac0]
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 0x43cdab
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x43cd6c
xor eax, eax
mov dword [0x48b3fc], eax
jmp 0x43ce23
cmp dword [0x48b3fc], 0
jne 0x43ce1a
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x442638
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x442647
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x48c3c0], 0
jne 0x442655
call fcn.004425dc
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x495350]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x442658
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x442680
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004049a0
test eax, eax
jle 0x4426c4
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 + 0x48c1c0]
shl ebx, 8
and bx, 0xffff
xor cx, bx
mov ebx, ecx
inc edx
dec eax
jne 0x442697
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x442fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
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.00403088
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403088
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 0x443011
inc dword [ebp - 0x5c]
mov dword [ebp - 0x64], esi
test ebx, ebx
jbe 0x443065
mov esi, 0x40
sub esi, dword [ebp - 0x54]
cmp esi, ebx
ja 0x44304b
mov ecx, esi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
call fcn.00402a24
mov edi, 0x40
sub edi, dword [ebp - 0x54]
sub ebx, edi
add dword [ebp - 0x64], edi
push ebp
call fcn.004426e4
pop ecx
jmp 0x443061
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
mov ecx, ebx
call fcn.00402a24
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x443018
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x44307a
push ebp
call fcn.004426e4
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.004426e4
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402a24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4430e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x443100
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 0x4430ee
pop edi
pop esi
pop ebx
ret
Function at 0x443138
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.00443104
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00443104
mov esi, eax
xor eax, eax
mov ecx, dword [0x49575c]
mov edx, dword [0x495760]
mov dword [esp + 4], edx
mov edx, dword [0x495764]
mov dword [esp + 8], edx
mov edx, dword [0x495768]
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 0x443184
mov eax, ebx
call fcn.00443104
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00443104
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 0x4431e8
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.00443104
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00443104
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x49575c]
mov edx, dword [0x495760]
mov dword [esp + 4], edx
mov edx, dword [0x495764]
mov dword [esp + 8], edx
mov edx, dword [0x495768]
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 0x443237
mov eax, ebx
call fcn.00443104
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00443104
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 0x459868
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.00404934
add esp, 0x104
pop ebx
ret

Function at 0x45b248
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404934
add esp, 0x104
pop ebx
ret

Function at 0x45b27c
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404934
add esp, 0x104
pop ebx
ret
Function at 0x45bddc
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45bf38
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
add esi, 4
call fcn.0045976c
xor edx, edx
push edx
push eax
lea edx, [ebp - 8]
mov eax, 8
call fcn.00408a44
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc]
mov eax, 8
call fcn.00408a44
mov edx, dword [ebp - 0xc]
pop eax
call fcn.004049a8
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x45bf1d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x45be7e
cmp esi, 4
jne 0x45be7e
push ebx
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x45bf1d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x45beff
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [edi]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
call fcn.0045976c
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.00408a44
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.00408a44
mov edx, dword [ebp - 0x14]
pop eax
call fcn.004049a8
mov eax, dword [ebp - 0x10]
call fcn.00404ba0
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bf3f
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004046e8
ret
Function at 0x45d174
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 0x45d26f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x495938], bl
mov eax, 0x49593c
mov edx, esi
call fcn.00404718
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov dl, bl
mov eax, dword [0x458bdc]
call fcn.00416250
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.004027e0
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.00408a44
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, 0x45d284
call fcn.00409e0c
mov eax, dword [ebp - 4]
call fcn.00404ba0
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp byte [0x490cf0], 0
jne 0x45d222
mov eax, ebx
add al, 0xfd
sub al, 7
jb 0x45d24c
cmp dword [0x4961d4], 0
je 0x45d24c
add bl, 0xfb
sub bl, 5
jae 0x45d24c
push 0x242010
push 0x45d2b8
mov eax, esi
call fcn.00404ba0
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 0x45d276
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004046e8
lea eax, [ebp - 4]
call fcn.004046c4
ret

Function at 0x45d5a0
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 0x45d568
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x45d69c
Capabilities:
Enumerate gui resources

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

Function at 0x45d73c
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.00417bc0
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 0x45d6c4
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 0x45d7a1
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00417bc0
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x45d824
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 0x45d902
mov eax, ebx
call fcn.004049a0
mov esi, eax
inc esi
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x45d8fb
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 0x45d8e1
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 0x45d8c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404ba0
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.00402a24
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 0x45d8ca
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 0x45d908
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 0x45d9cf
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
je 0x45d9a4
cmp byte [0x490ce8], 0
je 0x45d94d
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.004048bc
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 4]
call fcn.0042eddc
jmp 0x45d95c
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.004048bc
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00403088
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x495928]
call fcn.00404ba0
push eax
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404ba0
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 0x45d9d6
lea eax, [ebp - 0x5c]
call fcn.004046c4
lea eax, [ebp - 4]
call fcn.004046c4
ret
Function at 0x45dbc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x49135c]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x458d04]
call fcn.0045d9dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45dc90
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45dc7a
cmp word [ebp - 4], 0x5a4d
jne 0x45dc7a
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041a1a0
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45dc7a
cmp dword [ebp - 8], 0
je 0x45dc7a
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041a1a0
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45dc7a
cmp dword [ebp - 0xc], 0x4550
jne 0x45dc7a
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45dc7a
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dc97
mov eax, dword [ebp - 0x10]
call fcn.004037c0
ret
Function at 0x45dca0
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 0x45de37
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x458d04]
call fcn.0045d9dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45de1a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45de04
cmp word [ebp - 4], 0x5a4d
jne 0x45de04
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041a1a0
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45de04
cmp dword [ebp - 8], 0
je 0x45de04
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041a1a0
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45de04
cmp dword [ebp - 0xc], 0x4550
jne 0x45de04
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045da54
test al, al
je 0x45de00
test byte [ebp - 0x15], 0x20
je 0x45de00
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00459614
mov eax, dword [ebp - 0x2c]
call fcn.00404ba0
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45ddf9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x45de48
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x45ddde
push 0xa
push 0x45de54
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x45ddde
mov byte [ebp - 1], 2
jmp 0x45dde2
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45de04
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 0x45de21
mov eax, dword [ebp - 0x10]
call fcn.004037c0
ret
Function at 0x45e070
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45e079
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 0x45e29c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004046c4
mov eax, esi
call fcn.004046c4
test ebx, ebx
je 0x45e281
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404ba0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x45e281
mov eax, dword [ebp - 4]
call fcn.004084ac
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45e27a
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.00404ba0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45e261
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45e2ac
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45e1ab
push 0x45e2d0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00408a1c
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00408a1c
push dword [ebp - 0x24]
push 0x45e2ec
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404a60
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.00404ba0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45e1ab
cmp dword [ebp - 0xc], 1
jbe 0x45e1ab
mov ebx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00409734
mov ecx, eax
mov eax, edi
mov edx, ebx
call fcn.004047b4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45e300
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45e261
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00407338
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.00407338
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.00408908
push dword [ebp - 0x28]
push 0x45e30c
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.00408908
push dword [ebp - 0x2c]
push 0x45e30c
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.00408908
push dword [ebp - 0x30]
push 0x45e30c
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.00408908
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00404a60
mov eax, dword [esi]
mov edx, 0x45e318
call fcn.00404aec
jne 0x45e261
mov eax, esi
call fcn.004046c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e281
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402718
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e2a3
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.004046e8
ret