joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466e00
Capabilities:
Create http request
Create thread
Delete file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a9f9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49d7a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 1
push 0
call dword [0x47e670]
mov dword [ebp - 0x14], eax
push 0xc
call fcn.0041de63
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x466e5f
mov ecx, dword [ebp - 0x2c]
call fcn.00406760
mov dword [ebp - 0x38], eax
jmp 0x466e66
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00403410
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00403410
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x20]
push eax
push 0x463820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x466f33
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp + 8]
push edx
push str.Download_File_Timeout_Or_Installer_Exit_
push ecx
call fcn.00401ee0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x4a23d8
call fcn.0046e810
mov eax, dword [ebp - 0x14]
push eax
call dword [0x47e66c]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x4a262c]
mov dword [ebp - 0x24], edx
lea ecx, [ebp + 0xc]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0
je 0x466f58
mov eax, dword [ebp - 0x14]
push eax
call dword [0x47e66c]
xor ecx, ecx
cmp ecx, dword [ebp - 0x10]
sbb edx, edx
neg edx
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405670
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46de80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00406100
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46deb4
xor eax, eax
jmp 0x46df5a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46dee0
xor eax, eax
jmp 0x46df5a
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0043c6f0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [0x47e7d8]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404cc0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46e110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0043ed00
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x101c], ecx
mov word [ebp - 0x1010], 0
push 0xffe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.0043be70
add esp, 0xc
push 0x48a924
mov ecx, dword [ebp - 0x101c]
add ecx, 0xa8
push ecx
lea edx, [ebp - 0x1018]
push edx
call fcn.00401e30
add esp, 0xc
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
call fcn.00401560
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x1018]
call fcn.00405670
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
lea edx, [ebp + ecx*2 - 0x1010]
push edx
call fcn.0043beea
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x46e1ee
mov eax, dword [ebp - 0x1014]
add eax, 1
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46e1b4
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret
Function at 0x46e630
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479b97
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00405580
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.004599d8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46e6c2
cmp dword [ebp - 0x3c], 0x6f
je 0x46e6c2
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fd0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402010
mov eax, dword [ebp + 8]
jmp 0x46e7f7
mov eax, dword [ebp - 0x38]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46e703
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fd0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402010
mov eax, dword [ebp + 8]
jmp 0x46e7f7
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004599d8
test eax, eax
je 0x46e74a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401fd0
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402010
mov eax, dword [ebp + 8]
jmp 0x46e7f7
lea ecx, [ebp - 0x34]
call fcn.00405650
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x34]
push edx
call fcn.00405be0
add esp, 0x20
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x34]
call fcn.00405690
push eax
lea ecx, [ebp - 0x30]
call fcn.004055b0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fd0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402010
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret
Function at 0x1001890e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1001891d
pop dword [ebp - 0x40]
mov eax, 0x92d6ff59
add eax, 0x7d2a89c4
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xac210eaa
sub dword [ebp - 0x50], 0x5dcec95f
mov dword [ebp - 0x4c], 0xf00cbad2
add dword [ebp - 0x4c], 0x42269173
mov dword [ebp - 0x48], 0x40b87a85
add dword [ebp - 0x48], 0xb93c9a9
mov dword [ebp - 0x44], 0x88d753d5
add dword [ebp - 0x44], 0x7728ac2b
lea eax, [ebp - 0x50]
push eax
mov eax, 0x4fbc34cb
sub eax, 0x3fba7473
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xdf465d7a
sub dword [ebp - 0x50], 0x6ad3f424
mov dword [ebp - 0x4c], 0xf9a9c9f8
sub dword [ebp - 0x4c], 0xb83d6883
mov dword [ebp - 0x48], 0x5c8f1d56
add dword [ebp - 0x48], 0x6e04f16
mov dword [ebp - 0x44], 0xbc4663e3
sub dword [ebp - 0x44], 0xbc4663e3
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x9fda3880
add eax, 0x702787e0
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3b74d
push 0
call eax
mov ecx, 0x4780
xor edx, edx
add edx, eax
mov ebx, 0x604fe0f8
sub ebx, 0x504d58f8
add ebx, dword [ebp - 0x40]
mov edi, 0xdbb67ca1
mov dword [ebp - 0x10], 0x6639909d
mov esi, dword [ebx]
xor dword [ebp - 0x3c], ebx
add esi, edi
xor dword [ebp - 0x14], eax
mov dword [edx], esi
xor dword [ebp - 8], 0x9e9f4515
add edx, 0xef3983b5
sub edx, 0xef3983b1
add ebx, 4
loop 0x10018a35
add eax, 0x814570cc
add eax, 0x7ebba007
mov ebx, eax
add eax, 0xaba06c9b
sub eax, 0xaba06c96
mov ecx, 0x46f70909
sub ecx, 0x36f70909
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401005
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x40100f
repz ret
jmp fcn.00401263

Function at 0x4016ce
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 + 0x40a010]
je 0x4016e9
inc edi
cmp edi, 0x17
jb 0x4016da
cmp edi, 0x17
jae 0x401869
push ebp
push 3
call fcn.00403760
cmp eax, 1
pop ecx
je 0x401835
push 3
call fcn.00403760
test eax, eax
pop ecx
jne 0x40171d
cmp dword [section..data], 1
je 0x401835
cmp ebx, 0xfc
je 0x401868
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40b040
push ebp
call fcn.004036fb
add esp, 0xc
test eax, eax
je 0x401753
push esi
push esi
push esi
push esi
push esi
call fcn.00402c5d
add esp, 0x14
push 0x104
mov esi, 0x40b059
push esi
push 0
mov byte [0x40b15d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401797
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004036fb
add esp, 0xc
test eax, eax
je 0x401797
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402c5d
add esp, 0x14
push esi
call fcn.00403670
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4017dc
push esi
call fcn.00403670
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40b354
push 0x4086fc
sub ecx, eax
push ecx
push eax
call fcn.004035b2
add esp, 0x14
test eax, eax
je 0x4017dc
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402c5d
add esp, 0x14
jmp 0x4017de
xor esi, esi
push 0x4086f8
push ebx
push ebp
call fcn.00403541
add esp, 0xc
test eax, eax
je 0x4017fe
push esi
push esi
push esi
push esi
push esi
call fcn.00402c5d
add esp, 0x14
push dword [edi*8 + 0x40a014]
push ebx
push ebp
call fcn.00403541
add esp, 0xc
test eax, eax
je 0x401820
push esi
push esi
push esi
push esi
push esi
call fcn.00402c5d
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00403384
add esp, 0xc
jmp 0x401868
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x401868
cmp ebp, 0xffffffff
je 0x401868
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40a014]
push dword [esi]
call fcn.00403670
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 0x403384
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040223a
xor ebx, ebx
cmp dword [0x40b600], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40345a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40353a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40353a
push eax
call fcn.004021cc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b600], eax
call esi
push eax
call fcn.004021cc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b604], eax
call esi
push eax
call fcn.004021cc
mov dword [0x40b608], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040145b
test eax, eax
pop ecx
pop ecx
je 0x403428
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402c5d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40345a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004021cc
cmp eax, ebx
pop ecx
mov dword [0x40b610], eax
je 0x40345a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004021cc
pop ecx
mov dword [0x40b60c], eax
mov eax, dword [0x40b60c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4034df
cmp dword [0x40b610], ecx
je 0x4034df
push eax
call fcn.00402243
push dword [0x40b610]
mov esi, eax
call fcn.00402243
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4034df
cmp edi, ebx
je 0x4034df
call esi
cmp eax, ebx
je 0x4034ac
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4034ac
test byte [ebp - 0x18], 1
jne 0x4034df
lea eax, [ebp - 0x10]
push eax
call fcn.00401492
test eax, eax
pop ecx
je 0x4034c7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402c5d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4034d6
or dword [ebp + 0x10], 0x200000
jmp 0x40351a
or dword [ebp + 0x10], 0x40000
jmp 0x40351a
mov eax, dword [0x40b604]
cmp eax, dword [ebp - 8]
je 0x40351a
push eax
call fcn.00402243
cmp eax, ebx
pop ecx
je 0x40351a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40351a
mov eax, dword [0x40b608]
cmp eax, dword [ebp - 8]
je 0x40351a
push eax
call fcn.00402243
cmp eax, ebx
pop ecx
je 0x40351a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b600]
call fcn.00402243
cmp eax, ebx
pop ecx
je 0x40353a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40353c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001de8
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x10001e01
push dword [esp + 8]
push dword [esp + 8]
push edx
call ecx
add esp, 0xc
ret
push dword [eax + 0x38]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
ret

Function at 0x10005305
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x10005333
push esi
call fcn.10009b3e
cmp dword [esi + 0x40], 0
pop ecx
je 0x1000532c
xor eax, eax
mov dword [esi + 0x14], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x100053a3
mov eax, dword [esi + 0x1b4]
cmp dword [eax + 0x10], 0
je 0x10005395
mov eax, dword [esi + 8]
test eax, eax
je 0x10005354
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x1b4]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x10005391
cmp eax, 2
je 0x10005395
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10005349
cmp eax, 3
je 0x10005378
cmp eax, 1
jne 0x10005349
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x10005349
mov ecx, dword [esi + 0x140]
add dword [eax + 8], ecx
jmp 0x10005349
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x100053c1
cmp eax, 0xcc
je 0x100053c1
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.100051d0
pop esi
ret

Function at 0x1001c020
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, dword [esi + 0x289c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x292c], eax
call edi
sub eax, dword [esi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2930], eax
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x1001c08f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28a0]
push dword [esi + 0x289c]
push dword [esi + 0x2930]
push dword [esi + 0x292c]
push dword [esi + 0x2d50]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.10019081
pop ecx
pop edi
pop esi
ret

Function at 0x1001e4ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029008]
jne 0x1001e4f4
repz ret
jmp fcn.1001ea43
Function at 0x10155a80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x10155acc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
xor edi, edi
push 0
mov ebx, ecx
push ecx
mov esi, edx
push edx
push dword [ebp - 0x10]
call sub.wsock32.dll_send
cmp eax, 0xffffffff
je 0x10155ad0
add edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 4], 0
je 0x10155b05
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x10155ac4
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x10155b2f
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], 0
jne 0x10155b2f
mov ecx, dword [ebp - 0x10]
mov edx, 2
push dword [ebp + 0x18]
call fcn.1019ed00
add esp, 4
test eax, eax
mov ecx, ebx
mov edx, esi
jns 0x10155a9f
jmp 0x10155b38
cmp edi, ebx
jge 0x10155ac2
mov ecx, dword [ebp - 0x10]
mov edx, 2
push dword [ebp + 0x18]
call fcn.1019ed00
add esp, 4
mov ecx, eax
xor eax, eax
dec eax
test ecx, ecx
mov ecx, ebx
mov edx, esi
jns 0x10155a9f
jmp 0x10155ac4
push eax
call fcn.101a5720
add esp, 4
xor eax, eax
dec eax
jmp 0x10155ac4

Function at 0x101565e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x101565f1
pop dword [ebp - 0x24]
mov eax, 0xd824630e
sub eax, 0xc80efd1d
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x8ed7e09c
sub dword [ebp - 0x34], 0x40859b51
mov dword [ebp - 0x30], 0x456125bc
add dword [ebp - 0x30], 0xecd22689
mov dword [ebp - 0x2c], 0x341a924c
add dword [ebp - 0x2c], 0x1831b1e2
mov dword [ebp - 0x28], 0x43825932
add dword [ebp - 0x28], 0xbc7da6ce
lea eax, [ebp - 0x34]
push eax
mov eax, 0x26a4415c
sub eax, 0x1685735c
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xcbe6a8ea
add dword [ebp - 0x34], 0xa88bc06c
mov dword [ebp - 0x30], 0xb3db1ee
add dword [ebp - 0x30], 0x362eaf87
mov dword [ebp - 0x2c], 0x8b110e1c
sub dword [ebp - 0x2c], 0x27a1a1b0
mov dword [ebp - 0x28], 0x7561932b
sub dword [ebp - 0x28], 0x7561932b
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x46904b20
sub eax, 0x36717d18
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x33bf0
push 0
call eax
mov ecx, 0x55139116
sub ecx, 0x5513546d
xor ebx, ebx
add ebx, eax
mov edx, 0x10208600
add edx, dword [ebp - 0x24]
mov edi, 0x12d4f608
mov esi, dword [edx]
xor esi, edi
xor dword [ebp - 0xc], ecx
mov dword [ebx], esi
mov dword [ebp - 0x10], 0x1426c46d
add ebx, 0xc7255eb6
sub ebx, 0xc7255eb2
add edx, 0x96a508fa
sub edx, 0x96a508f6
loop 0x10156709
add eax, 0xe577
mov ebx, eax
add eax, 0x20330742
add eax, 0xdfccf8c3
mov ecx, 0x358fd51a
add ecx, 0xda702ae6
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x10159130
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10159140
Function at 0x4053c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x4f4008]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], eax
call fcn.00405340
mov ecx, dword [0x4fbe54]
mov edx, eax
mov esi, dword [0x4f63ec]
mov edi, dword [0x4f63f0]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 0x258]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x25c]
mov dword [esp + 0x30], eax
mov eax, dword [0x4fbf8c]
mov dword [esp + 0x38], eax
mov eax, dword [0x4fbf94]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
test edx, edx
jle 0x4055b0
mov ecx, esi
neg ecx
mov dword [esp + 0x34], ecx
nop
push eax
lea eax, [esp + 0x6c]
push 0x4c44b4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x24]
lea eax, [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push ecx
push 0x400
push 1
lea ecx, [esp + 0x1c]
push ecx
push 0x4bf520
push ebx
call dword [eax + 0x14]
test eax, eax
js 0x4054d0
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push 0
push 0
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x5c], 0
push ecx
push 2
push 0x800
push 0x4bf520
push dword [esp + 0x40]
mov dword [esp + 0x68], 0
push ebx
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
call dword [eax + 0x18]
mov eax, dword [0x4fbe54]
mov eax, dword [eax + 0x264]
mov esi, dword [eax + 0x20]
mov eax, dword [esp + 0x60]
cdq
idiv esi
mov eax, dword [esp + 0x60]
mov ebx, edx
cdq
idiv esi
imul ebx, dword [esp + 0x28]
mov esi, eax
imul esi, edi
sub ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
sub esi, dword [esp + 0x30]
cmp ebx, dword [esp + 0x34]
jl 0x405599
mov ecx, edi
neg ecx
cmp esi, ecx
jl 0x405599
cmp ebx, dword [esp + 0x38]
jge 0x405599
cmp esi, dword [esp + 0x3c]
jge 0x405599
mov ebx, dword [0x4f63ec]
mov eax, dword [0x4f63f0]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
lea edi, [ebx + ebx]
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
mov edx, dword [edx]
lea eax, [edi - 1]
add ecx, ebx
cmp ecx, eax
jg 0x405562
push ebx
push 1
push dword [ebp + 0x10]
push esi
push dword [esp + 0x24]
push dword [esp + 0x2c]
call dword [edx + 0x3c]
jmp 0x405595
mov eax, dword [ebp + 0x10]
sub edi, eax
dec edi
push edi
push 1
push eax
push esi
push dword [esp + 0x24]
push dword [esp + 0x2c]
call dword [edx + 0x3c]
push dword [esp + 0x18]
mov edx, dword [esp + 0x18]
sub ebx, edi
mov eax, dword [esp + 0x14]
push ebx
push 1
mov ecx, dword [edx]
add eax, edi
push 1
push esi
push eax
push edx
call dword [ecx + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x40]
jl 0x405450
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00495852
mov esp, ebp
pop ebp
ret 0xc