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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xc
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x20]
lea edi, [esi + 0x830]
push edi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x40e3c0
mov ebp, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebp
cmp eax, 0x3e5
jne 0x40e3ee
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
push 1
lea ecx, [esp + 0x28]
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x40e3bf
call ebp
cmp eax, 0x3e4
mov ecx, dword [esi + 4]
jne 0x40e3ce
push 1
lea eax, [esp + 0x28]
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40e3a4
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc
ret 8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ClearCommError]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc
ret 8
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ClearCommError]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
jmp 0x40e350

Function at 0x413c32
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413c6b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00413bf5
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004126c9
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x415a9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x415ae2
call fcn.0040fbdc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x415ae2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x415afd
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00415656
test ebx, ebx
mov esi, eax
je 0x415afb
test edi, edi
je 0x415afb
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x416a33
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45827b
call fcn.004420d6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x416a58
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x416aa4
call fcn.004172d5
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c40
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ec74
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401160
mov eax, esi
call fcn.004421ae
ret 8

Function at 0x4180ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040fbdc
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4180e5
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00417cc0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41a2ca
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x47b518]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x41a30a
push 0x465320
push 4
push eax
call fcn.00443b7c
push eax
call fcn.00401000
add esp, 0x10
jmp 0x41a31c
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x41a38a
push edi
call fcn.0044233e
mov edi, dword [eax]
call fcn.0044233e
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0044198c
add esp, 0x18
mov ebx, eax
call fcn.0044233e
cmp dword [eax], 0
je 0x41a36a
call fcn.0044233e
push dword [eax]
call fcn.0040ef3e
pop ecx
jmp 0x41a371
call fcn.0044233e
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41a38a
cmp ebx, esi
jae 0x41a38a
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x41a38c
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ef93
leave
ret
Function at 0x41c4d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41c51b
call fcn.0040fbdc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x41c51b
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41c55e
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41c547
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41c547
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c55b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x420cc7
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x420cf0
call fcn.0040fbdc
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x420d13
push eax
push dword [esi + 4]
call fcn.00420c52
push esi
push eax
mov ecx, 0x482c64
call fcn.0042092c
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4273ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0040fbdc
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
jne 0x4273d8
xor eax, eax
jmp 0x42747c
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x4273d1
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x4273d1
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040eb02
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x42742d
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x42741c
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004261e7
push edi
mov ebx, eax
call fcn.0040eb32
test ebx, ebx
pop ecx
je 0x42746f
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00426893
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00426945
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x439a5b
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x439a64
xor eax, eax
jmp 0x439acd
cmp dword [esp + 8], 0
jne 0x439a70
call fcn.0040ec2b
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004415c8
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x439aab
push dword [esi + 0x10]
call fcn.00445870
test eax, eax
pop ecx
jne 0x439aab
mov esi, dword [esi + 0xc]
call fcn.00442351
push esi
push dword [eax]
push 1
call fcn.004176d4
push dword [esi + 0x10]
call fcn.0044589f
test eax, eax
pop ecx
je 0x439aca
push dword [esi + 0x10]
call fcn.004457c4
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x439a99
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x439ad6
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x439ae0
call fcn.0040ec2b
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00445a2d
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x439b0d
mov esi, dword [esi + 0xc]
call fcn.00442351
push esi
push dword [eax]
push 1
call fcn.004176d4
pop esi
ret 8

Function at 0x43ef93
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47b518]
jne 0x43ef9d
repz ret
jmp fcn.00446fa8
Function at 0x44132c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x441369
cmp dword [ebp + 0x14], edi
je 0x441369
cmp ecx, edi
jne 0x441370
call fcn.0044233e
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0044091b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x441384
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4413a5
cmp ebx, 0xffffffff
je 0x441394
push ebx
push edi
push ecx
call fcn.004405e0
add esp, 0xc
cmp esi, edi
je 0x441351
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x441351
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4413c1
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4413c8
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4414b9
test word [esi + 0xc], 0x10c
je 0x44141c
mov eax, dword [esi + 4]
test eax, eax
je 0x44141c
jl 0x44151a
cmp ebx, eax
mov edi, ebx
jb 0x4413ed
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4414c1
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043f024
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4414b1
cmp ebx, dword [ebp - 0xc]
jb 0x441489
cmp dword [ebp - 0xc], 0
je 0x441446
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x44143b
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x441442
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x441451
mov eax, SysReAllocString
cmp ebx, eax
ja 0x441451
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4414ed
push eax
push dword [ebp - 8]
push esi
call fcn.00445611
pop ecx
push eax
call fcn.0044d147
add esp, 0xc
test eax, eax
je 0x44152c
cmp eax, 0xffffffff
je 0x44151a
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4414b1
push esi
call fcn.0044c43c
cmp eax, 0xffffffff
pop ecx
je 0x44151e
cmp dword [ebp - 4], 0
je 0x4414ed
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4413d0
mov eax, dword [ebp + 0x14]
jmp 0x44136b
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4414d8
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004405e0
add esp, 0xc
call fcn.0044233e
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x441361
cmp dword [ebp + 0xc], 0xffffffff
je 0x441503
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004405e0
add esp, 0xc
call fcn.0044233e
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x441361
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44136b
or dword [esi + 0xc], 0x10
jmp 0x44151e
Function at 0x446da3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x47b7f8]
je 0x446dbe
inc edi
cmp edi, 0x17
jb 0x446daf
cmp edi, 0x17
jae 0x446f3e
push ebp
push 3
call fcn.004508f1
cmp eax, 1
pop ecx
je 0x446f0a
push 3
call fcn.004508f1
test eax, eax
pop ecx
jne 0x446df2
cmp dword [0x47b530], 1
je 0x446f0a
cmp ebx, 0xfc
je 0x446f3d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4832a0
push ebp
call fcn.00443b7c
add esp, 0xc
test eax, eax
je 0x446e28
push esi
push esi
push esi
push esi
push esi
call fcn.0044081f
add esp, 0x14
push 0x104
mov esi, 0x4832b9
push esi
push 0
mov byte [0x4833bd], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x446e6c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00443b7c
add esp, 0xc
test eax, eax
je 0x446e6c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044081f
add esp, 0x14
push esi
call fcn.00442220
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x446eb1
push esi
call fcn.00442220
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4835b4
push 0x469f9c
sub ecx, eax
push ecx
push eax
call fcn.00442382
add esp, 0x14
test eax, eax
je 0x446eb1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044081f
add esp, 0x14
jmp 0x446eb3
xor esi, esi
push 0x469f98
push ebx
push ebp
call fcn.00443fbe
add esp, 0xc
test eax, eax
je 0x446ed3
push esi
push esi
push esi
push esi
push esi
call fcn.0044081f
add esp, 0x14
push dword [edi*8 + 0x47b7fc]
push ebx
push ebp
call fcn.00443fbe
add esp, 0xc
test eax, eax
je 0x446ef5
push esi
push esi
push esi
push esi
push esi
call fcn.0044081f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00450734
add esp, 0xc
jmp 0x446f3d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x446f3d
cmp ebp, 0xffffffff
je 0x446f3d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x47b7fc]
push dword [esi]
call fcn.00442220
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x450734
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00447b49
xor ebx, ebx
cmp dword [0x483b84], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45080a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4508ea
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46aab8
push edi
call esi
cmp eax, ebx
je 0x4508ea
push eax
call fcn.00447adb
mov dword [esp], 0x46aaa8
push edi
mov dword [0x483b84], eax
call esi
push eax
call fcn.00447adb
mov dword [esp], 0x46aa94
push edi
mov dword [0x483b88], eax
call esi
push eax
call fcn.00447adb
mov dword [0x483b8c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00443cc4
test eax, eax
pop ecx
pop ecx
je 0x4507d8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044081f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45080a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00447adb
cmp eax, ebx
pop ecx
mov dword [0x483b94], eax
je 0x45080a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00447adb
pop ecx
mov dword [0x483b90], eax
mov eax, dword [0x483b90]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45088f
cmp dword [0x483b94], ecx
je 0x45088f
push eax
call fcn.00447b52
push dword [0x483b94]
mov esi, eax
call fcn.00447b52
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45088f
cmp edi, ebx
je 0x45088f
call esi
cmp eax, ebx
je 0x45085c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45085c
test byte [ebp - 0x18], 1
jne 0x45088f
lea eax, [ebp - 0x10]
push eax
call fcn.00443cfb
test eax, eax
pop ecx
je 0x450877
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044081f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x450886
or dword [ebp + 0x10], 0x200000
jmp 0x4508ca
or dword [ebp + 0x10], 0x40000
jmp 0x4508ca
mov eax, dword [0x483b88]
cmp eax, dword [ebp - 8]
je 0x4508ca
push eax
call fcn.00447b52
cmp eax, ebx
pop ecx
je 0x4508ca
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4508ca
mov eax, dword [0x483b8c]
cmp eax, dword [ebp - 8]
je 0x4508ca
push eax
call fcn.00447b52
cmp eax, ebx
pop ecx
je 0x4508ca
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x483b84]
call fcn.00447b52
cmp eax, ebx
pop ecx
je 0x4508ea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4508ec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456489
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x47b518]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045641e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004405e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4564d8
cmp dword [ebp - 0x1c], 5
jb 0x4564f0
jmp 0x4564ec
cmp dword [ebp - 0x10], 1
jne 0x4564f0
cmp dword [ebp - 0x1c], 4
ja 0x4564ec
jne 0x4564f0
cmp dword [ebp - 0x18], 0
jbe 0x4564f0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46bd3c
call fcn.004562f2
test eax, eax
jge 0x456511
mov byte [0x47ca40], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043ef93
add ebp, 0x78
leave
ret
Function at 0x4036c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x539a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], 0x44
push edi
call fcn.004741f0
mov esi, dword [esp + 0x70]
add esp, 4
test eax, eax
jne 0x403715
push 0x20
mov ecx, esi
call fcn.00519dbd
push edi
mov ecx, esi
call fcn.00519d96
mov eax, dword [esi]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40378d
mov eax, dword [esp + 0x74]
test eax, eax
je 0x403778
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push eax
push 0x573488
push ecx
call fcn.004e0190
mov eax, dword [eax]
mov dword [esp + 0x70], 0
push eax
call fcn.004dc5d0
add esp, 0x10
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call fcn.00519a06
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
Function at 0x424f90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [ebx + 0x10]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x424fe7
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
push 4
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x1c]
xor ecx, eax
and ecx, 7
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], eax
and eax, 7
mov edx, dword [ecx + esi*4]
mov ecx, ebp
shl edx, 3
or edx, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edx
call fcn.00473c60
inc esi
cmp esi, edi
jl 0x424fa8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x42b300
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x53c2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov ebp, dword [esi + 0xd4]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
mov dword [esp + 0x18], 0x1a
jle 0x42b35a
push edi
mov eax, dword [esi + 0xcc]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x42b354
mov ecx, edi
call fcn.00425040
push edi
call fcn.0051a8de
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x42b337
pop edi
lea ecx, [esi + 0x218]
mov byte [esp + 0x18], 0x19
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x204]
mov byte [esp + 0x18], 0x18
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x18], 0x17
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x1dc]
mov byte [esp + 0x18], 0x16
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x18], 0x15
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x18], 0x14
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x18], 0x13
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 0x12
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x178]
mov byte [esp + 0x18], 0x11
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x164]
mov byte [esp + 0x18], 0x10
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x150]
mov byte [esp + 0x18], 0xf
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x13c]
mov byte [esp + 0x18], 0xe
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x128]
mov byte [esp + 0x18], 0xd
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x100]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0xec]
mov byte [esp + 0x18], 0xa
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0xd8]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0xc4]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x18], 6
mov dword [ecx], 0x54d7d0
call fcn.004735a0
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x88]
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x54d7d0
call fcn.004735a0
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0xffffffff
mov dword [ecx], 0x54d7d0
call fcn.004735a0
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret