joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4378c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x43795a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x437968]
mov dword [ebp - 7], eax
mov ax, word [0x43796c]
mov word [ebp - 3], ax
mov al, byte [0x43796e]
mov byte [ebp - 1], al
push 6
lea eax, [ebp - 7]
push eax
push 0x1004
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x2c]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004050b8
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040c2d4
push 2
lea edx, [ebp - 0x27]
push edx
push eax
call sub.gdi32.dll_TranslateCharsetInfo
mov ebx, dword [ebp - 0x27]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437961
lea eax, [ebp - 0x2c]
call fcn.00404e48
ret

Function at 0x4383c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x438497
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e48
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.004382dc
mov ebx, eax
test ebx, ebx
jbe 0x438479
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004054b0
mov eax, dword [ebp - 8]
call fcn.00405124
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004382dc
mov edx, eax
lea eax, [ebp - 8]
call fcn.004054b0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040512c
mov eax, dword [ebp - 4]
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 8]
call fcn.0040512c
lea eax, [esi + 0x30]
mov edx, dword [ebp - 8]
call fcn.0040512c
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.004382dc
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep
test ebx, ebx
ja 0x438479
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, 0x3e8
jbe 0x438452
test ebx, ebx
jne 0x4383ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43849e
lea eax, [ebp - 8]
call fcn.00404e48
ret

Function at 0x4384a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.004383c4
cmp dword [ebx], 0
jne 0x4384cb
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x4384dc
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, dword [esi + 0x20]
jb 0x4384b6
pop edi
pop esi
pop ebx
ret

Function at 0x439a50
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
mov ebx, dword [eax]
mov esi, ebx
xor esi, ecx
and esi, 0xff
shr ebx, 8
mov esi, dword [edx + esi*4]
xor esi, ebx
mov dword [eax], esi
and esi, 0xff
add dword [eax + 4], esi
imul ebx, dword [eax + 4], 0x8088405
inc ebx
mov dword [eax + 4], ebx
shr ebx, 0x18
mov esi, dword [eax + 8]
xor ebx, esi
and ebx, 0xff
shr esi, 8
mov edx, dword [edx + ebx*4]
xor edx, esi
mov dword [eax + 8], edx
mov eax, ecx
pop esi
pop ebx
ret
Function at 0x439ad4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 0xc], 0xc
jge 0x439af9
xor eax, eax
jmp 0x439c2a
inc dword [0x56e2a4]
mov edx, dword [0x56e2a4]
cmp edx, 1
jne 0x439b1e
push 0
call fcn.00439454
pop ecx
xor eax, 0xbb40e64e
push eax
call fcn.0043946c
pop ecx
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00439a9c
xor ebx, ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00439460
sar eax, 7
and eax, 0xff
mov dword [ebp - 0x14], eax
mov edx, edi
mov eax, esi
call fcn.00439a30
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, edi
mov eax, esi
call fcn.00439a50
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor dl, byte [ebp - 0x14]
mov byte [ecx], dl
inc ebx
inc dword [ebp - 0x24]
cmp ebx, 0xa
jl 0x439b32
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00439a9c
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x20]
mov edx, eax
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov edx, edi
mov eax, esi
call fcn.00439a30
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0x28]
mov edx, edi
movzx ecx, byte [ecx]
call fcn.00439a50
mov al, byte [ebp - 0x10]
mov edx, dword [ebp - 0x28]
xor al, byte [edx]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], al
inc ebx
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
cmp ebx, 0xa
jl 0x439b8a
mov edx, edi
mov eax, esi
call fcn.00439a30
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, edi
shr ecx, 0x10
and ecx, 0xff
call fcn.00439a50
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr eax, 0x10
mov cl, byte [ebp - 0x10]
and al, 0xff
xor cl, al
mov eax, esi
mov byte [edx + ebx], cl
mov edx, edi
inc ebx
call fcn.00439a30
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, edi
shr ecx, 0x18
and ecx, 0xff
call fcn.00439a50
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr eax, 0x18
mov cl, byte [ebp - 0x10]
and al, 0xff
xor cl, al
mov byte [edx + ebx], cl
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ab8c
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 0x43aba9
mov eax, 0xffffff9a
jmp 0x43ad71
mov ebx, eax
cmp dword [ebx + 0x2c], 0
jne 0x43abbb
mov eax, 0xffffff9a
jmp 0x43ad71
xor edx, edx
mov dword [ebx + 0x34], edx
cmp dword [ebx + 0x80], 8
jne 0x43ac12
cmp dword [ebx + 0x84], 0
jne 0x43ac12
test esi, esi
jne 0x43ac12
cmp dword [ebx + 0x40], 0
jne 0x43abf4
mov eax, ebx
call fcn.0043aa18
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.0043c394
mov esi, eax
mov eax, dword [ebx + 0x44]
sub eax, edi
add dword [ebx + 0x6c], eax
test esi, esi
je 0x43abd6
cmp esi, 1
jne 0x43ac19
xor esi, esi
cmp dword [ebx + 0x6c], 0
jbe 0x43ac30
test esi, esi
jne 0x43ac30
mov eax, ebx
call fcn.0043aa18
inc eax
jne 0x43ac30
or esi, 0xffffffff
cmp dword [ebx + 0x80], 8
jne 0x43ac51
cmp dword [ebx + 0x84], 0
jne 0x43ac51
lea eax, [ebx + 0x30]
call fcn.0043c658
mov esi, eax
xor eax, eax
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x84], 0
jne 0x43ac6a
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.00439db4
mov eax, dword [ebx + 0x74]
add eax, 0x14
mov ecx, 4
mov edx, edi
call fcn.00439db4
cmp dword [ebx + 0x5c], 1
jne 0x43acb4
mov eax, dword [ebx + 0x74]
add eax, 0x24
mov ecx, 2
mov edx, 1
call fcn.00439db4
mov eax, dword [ebx + 0x74]
add eax, 0x18
mov ecx, 4
mov edx, dword [esp]
call fcn.00439db4
test esi, esi
jne 0x43acdb
lea eax, [ebx + 0x24]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
call fcn.00439c8c
mov esi, eax
mov eax, dword [ebx + 0x74]
push eax
call fcn.00439444
pop ecx
test esi, esi
jne 0x43ad64
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 0x43ad0e
or esi, 0xffffffff
test esi, esi
jne 0x43ad24
push 4
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.00439d48
mov esi, eax
test esi, esi
jne 0x43ad38
push 4
mov ecx, edi
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.00439d48
mov esi, eax
test esi, esi
jne 0x43ad4e
push 4
mov ecx, dword [esp + 4]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.00439d48
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 0x43ad64
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 0x43b418
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x56e318], 0
je 0x43b53a
xor eax, eax
xor esi, esi
mov dword [0x56e318], eax
mov eax, 0x56e31c
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 0x43b439
xor ebx, ebx
mov ecx, 0x57a930
mov eax, ebx
xor edx, edx
test al, 1
je 0x43b46b
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x43b46f
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x43b45f
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x43b45b
xor ebx, ebx
mov esi, 0x57a930
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 + 0x57a930]
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 0x43b4cb
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x43b48c
xor eax, eax
mov dword [0x56e314], eax
jmp 0x43b543
cmp dword [0x56e314], 0
jne 0x43b53a
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x440d58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x440d67
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x56f2d8], 0
jne 0x440d75
call fcn.00440cfc
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x57d1c0]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x440d78
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x440da0
Capabilities:
Encode data using xor

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

Function at 0x4416c0
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.00403750
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403750
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 0x441731
inc dword [ebp - 0x5c]
mov dword [ebp - 0x64], esi
test ebx, ebx
jbe 0x441785
mov esi, 0x40
sub esi, dword [ebp - 0x54]
cmp esi, ebx
ja 0x44176b
mov ecx, esi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
call fcn.00402f38
mov edi, 0x40
sub edi, dword [ebp - 0x54]
sub ebx, edi
add dword [ebp - 0x64], edi
push ebp
call fcn.00440e04
pop ecx
jmp 0x441781
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
mov ecx, ebx
call fcn.00402f38
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x441738
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x44179a
push ebp
call fcn.00440e04
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.00440e04
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402f38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441800
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x441820
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 0x44180e
pop edi
pop esi
pop ebx
ret
Function at 0x441858
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.00441824
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00441824
mov esi, eax
xor eax, eax
mov ecx, dword [0x57d5cc]
mov edx, dword [0x57d5d0]
mov dword [esp + 4], edx
mov edx, dword [0x57d5d4]
mov dword [esp + 8], edx
mov edx, dword [0x57d5d8]
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 0x4418a4
mov eax, ebx
call fcn.00441824
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00441824
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 0x441908
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.00441824
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00441824
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x57d5cc]
mov edx, dword [0x57d5d0]
mov dword [esp + 4], edx
mov edx, dword [0x57d5d4]
mov dword [esp + 8], edx
mov edx, dword [0x57d5d8]
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 0x441957
mov eax, ebx
call fcn.00441824
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00441824
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 0x457f8c
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.004050b8
add esp, 0x104
pop ebx
ret

Function at 0x45996c
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.004050b8
add esp, 0x104
pop ebx
ret

Function at 0x4599a0
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.004050b8
add esp, 0x104
pop ebx
ret
Function at 0x45a500
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 0x45a65c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
add esi, 4
call fcn.00457e90
xor edx, edx
push edx
push eax
lea edx, [ebp - 8]
mov eax, 8
call fcn.0040c268
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.0040c268
mov edx, dword [ebp - 0xc]
pop eax
call fcn.0040512c
mov eax, dword [ebp - 8]
call fcn.00405324
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x45a641
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x45a5a2
cmp esi, 4
jne 0x45a5a2
push ebx
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x45a641
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x45a623
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.00457e90
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.0040c268
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.0040c268
mov edx, dword [ebp - 0x14]
pop eax
call fcn.0040512c
mov eax, dword [ebp - 0x10]
call fcn.00405324
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 0x45a663
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e6c
ret
Function at 0x45b898
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 0x45b993
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x57d7a8], bl
mov eax, 0x57d7ac
mov edx, esi
call fcn.00404e9c
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov dl, bl
mov eax, dword [0x457300]
call fcn.0041db90
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.00402ccc
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.0040c268
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, 0x45b9a8
call fcn.0040db08
mov eax, dword [ebp - 4]
call fcn.00405324
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp byte [0x573c08], 0
jne 0x45b946
mov eax, ebx
add al, 0xfd
sub al, 7
jb 0x45b970
cmp dword [0x57e044], 0
je 0x45b970
add bl, 0xfb
sub bl, 5
jae 0x45b970
push 0x242010
push 0x45b9dc
mov eax, esi
call fcn.00405324
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 0x45b99a
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404e6c
lea eax, [ebp - 4]
call fcn.00404e48
ret

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

Function at 0x45bdc0
Capabilities:
Enumerate gui resources

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

Function at 0x45be60
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.004208b0
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 0x45bde8
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 0x45bec5
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004208b0
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x45bf48
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 0x45c026
mov eax, ebx
call fcn.00405124
mov esi, eax
inc esi
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x45c01f
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 0x45c005
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 0x45bfe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405324
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.00402f38
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 0x45bfee
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 0x45c02c
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 0x45c0f3
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
je 0x45c0c8
cmp byte [0x573c00], 0
je 0x45c071
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00405040
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 4]
call fcn.0042d388
jmp 0x45c080
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405040
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00403750
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x57d798]
call fcn.00405324
push eax
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405324
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 0x45c0fa
lea eax, [ebp - 0x5c]
call fcn.00404e48
lea eax, [ebp - 4]
call fcn.00404e48
ret
Function at 0x45c2e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x578d64]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x457428]
call fcn.0045c100
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45c3b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045c178
test al, al
je 0x45c39e
cmp word [ebp - 4], 0x5a4d
jne 0x45c39e
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00424608
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045c178
test al, al
je 0x45c39e
cmp dword [ebp - 8], 0
je 0x45c39e
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00424608
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045c178
test al, al
je 0x45c39e
cmp dword [ebp - 0xc], 0x4550
jne 0x45c39e
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045c178
test al, al
je 0x45c39e
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c3bb
mov eax, dword [ebp - 0x10]
call fcn.00403f38
ret