joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b12
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
and dword [ebp - 0x14], 0
jmp 0x402b79
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x402ce6
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x402c67
push 0x40ba98
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
cmp dword [ebp - 4], 0
jle 0x402c4e
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
push 4
push 0x1000
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call fcn.004019ad
add esp, 0xc
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
jmp 0x402b69
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0xc]
call fcn.0040196f
add esp, 0xc
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
jmp 0x402b69
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
leave
ret
Function at 0x4038b8
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4038e1
cmp al, 0x22
je 0x4038d9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4038cd
cmp byte [esi], 0x22
jne 0x4038eb
inc esi
jmp 0x4038eb
cmp al, 0x20
jle 0x4038eb
inc esi
cmp byte [esi], 0x20
jg 0x4038e5
mov al, byte [esi]
test al, al
je 0x4038f5
cmp al, 0x20
jle 0x4038de
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403963
push 0x405004
push section..data
call fcn.00403949
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403925
movzx eax, word [ebp - 0x14]
jmp 0x403928
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040397b
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10036b3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [0x100d344]
xor ebx, ebx
cmp eax, ebx
je 0x100372d
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10036e1
push ebx
lea ecx, [ebp - 4]
push ecx
sub eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push dword [ebp + 8]
push dword [0x100d344]
call esi
test eax, eax
je 0x1003730
mov ecx, 0x1002370
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1003710
push ebx
lea edx, [ebp - 4]
push edx
sub eax, edi
push eax
push ecx
push dword [0x100d344]
call esi
test eax, eax
pop edi
je 0x1003730
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x1003a66
Capabilities:
Query environment variable
Set environment variable
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push esi
push 0x100245c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1003b38
push ebx
mov ebx, 0x100d5c0
push ebx
push 0x100244c
push 0x100d380
call fcn.01002d05
push esi
push 0x4000002
push 1
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [0x100c020], esi
je 0x1003b37
push edi
mov edi, 0x314
push edi
push 0
push 0x100cbc0
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
push edi
push 0x100cbc0
push esi
mov dword [0x100cbc0], 0x6e776453
mov dword [0x100cbc4], 0x10000
mov dword [0x100cbc8], 0xc0000013
mov byte [0x100cdd0], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1003b23
cmp dword [ebp - 4], edi
jne 0x1003b23
push ebx
push 0x100245c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x1003b36
push dword [0x100c020]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x100c020], 0xffffffff
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003b40
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x280
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x1003b5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x101d6e0], 0
jne 0x1003bbd
lea eax, [ebp - 0x280]
push eax
push 0x200
push esi
call fcn.01002e46
lea eax, [ebp - 0x280]
push eax
call fcn.01003746
push 0x80
lea eax, [ebp - 0x80]
push eax
push 0x20000003
push dword [0x100c35c]
mov byte [ebp - 0x80], 0
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10010
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x280]
push eax
push dword [0x100d104]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.01002eb5
test esi, esi
jne 0x1003bc7
inc esi
cmp dword [0x100c360], 0
je 0x1003be2
push 0x100d360
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x100c360], 0
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1006da0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1006db3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1006daf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1006de0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1006e1f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1006e15
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1006e21
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1006e05
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100834d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x100838c
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x1008367
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x10083a8
dec edi
je 0x10083a1
dec edi
jne 0x10083ad
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..data
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7dda0819
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x22411227
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x4e684a5b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x42f200bf
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x629d45
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6333a8
cmp edx, dword [eax]
je 0x629d67
add eax, 8
inc ecx
cmp eax, 0x633438
jl 0x629d58
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6333a8]
jne 0x629e95
mov eax, dword [0x63ad30]
cmp eax, 1
je 0x629e6f
test eax, eax
jne 0x629d98
cmp dword [0x6332d4], 1
je 0x629e6f
cmp edx, 0xfc
je 0x629e95
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629dcf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a730
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062abc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629e12
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062abc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fa6c
push edi
call fcn.0062ca90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a730
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a740
lea eax, [ebp - 0xa0]
push 0x62fa4c
push eax
call fcn.0062a740
push dword [esi + 0x6333ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a740
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062ca04
add esp, 0x2c
pop edi
jmp 0x629e95
lea eax, [ebp + 8]
lea esi, [esi + 0x6333ac]
push 0
push eax
push dword [esi]
call fcn.0062abc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401467
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x401504
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x401504
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x401504
push 4
push 0xffffffffffffffff
push esi
push 0x401ba0
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x401504
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x4014cf
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x401504
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40150a
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x401506

Function at 0x4015c4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, ecx
push 0x34
push 0
lea esi, [edi + 0xa0]
push esi
call fcn.0040b2d0
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 4]
push eax
push 0x34
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401616
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x401616
push 0xa
mov ecx, edi
call fcn.00401851
jmp 0x401620
mov dword [edi + 0x84], 5
pop edi
pop esi
leave
ret
Function at 0x4018f7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], 2
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x30], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.0040187c
test al, al
jne 0x40198f
lea esi, [edi + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp dword [ebp - 0xc], ebx
je 0x401966
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
push dword [esi]
call edi
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 8], ebx
je 0x40197b
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
push dword [esi]
call edi
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x4019bd
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
push dword [esi]
call edi
jmp 0x4019bd
lea eax, [esi + 0x8c]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x34
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4019c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4019c1
xor al, al
jmp 0x4019c9
push edi
mov ecx, esi
call fcn.00401b18
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403185
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x678
mov eax, dword [0x4390c0]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x68c]
lea edi, [esp + 0x78]
and dword [esp + 0x10], 0
lea eax, [esp + 0x88]
mov esi, str.unknown
mov ebx, ecx
push 0x1f8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push eax
call fcn.0040b2d0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x40320e
mov esi, 0x104
lea eax, [esp + 0x78]
push esi
push eax
push dword [esp + 0x1c]
push dword [ebx + 0x10]
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
lea eax, [esp + 0x78]
push esi
push eax
call fcn.00411998
pop ecx
pop ecx
push edi
call fcn.00411066
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], edx
push eax
call fcn.00411681
lea edx, [ebx + 0x2002c]
add esp, 0xc
test edx, edx
je 0x40324e
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x40323d
sub ecx, esi
sar ecx, 1
jne 0x403252
lea edx, [esp + 0x78]
inc dword [0x43be88]
mov ecx, str.assert
push dword [0x43be88]
mov eax, dword [esp + 0x38]
push dword [esp + 0x28]
inc eax
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
add eax, 0x76c
cmp dword [ebx + 0x20], edi
push eax
push edx
mov eax, str.crash
cmove eax, ecx
push eax
push str._s__s__d_.2d_.2d_.2d_.2d_.2d__d.dmp
lea eax, [esp + 0x2a8]
push 0x200
push eax
call fcn.004027b4
add esp, 0x2c
lea edx, [ebx + 0x20130]
lea ecx, [esp + 0x64]
call fcn.0040367f
pop ecx
lea ecx, [esp + 0x280]
mov esi, eax
call fcn.0040114c
push eax
lea eax, [esp + 0x284]
mov ecx, esi
push eax
call fcn.00403462
push eax
lea ecx, [esp + 0x4c]
call fcn.00401fd4
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
call fcn.004033ab
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.004020cb
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.004020cb
mov ecx, dword [esp + 0x684]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409bb7
add esp, 0x678
ret 4
Function at 0x4045ad
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
sub esp, 0x9c
mov eax, dword [0x4390c0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
xor eax, eax
mov dword [esp + 0x28], edx
push edi
push eax
mov byte [esp + 0x1b], al
mov ebx, eax
mov dword [esp + 0x44], eax
mov ebp, ecx
mov byte [esp + 0x34], al
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x28], 0x40
push eax
push 5
push ebp
mov dword [esp + 0x58], 0xf
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x404624
push 0xa
lea eax, [esp + 0x64]
mov byte [esp + 0x1b], 1
push ebx
push eax
call fcn.00417582
add esp, 0xc
lea ecx, [esp + 0x30]
mov ebx, eax
push ebx
call fcn.00404df7
xor eax, eax
push eax
mov dword [esp + 0x20], eax
push eax
jmp 0x404698
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4046f3
xor edx, edx
push ecx
inc edx
mov ecx, edi
call fcn.00401186
pop ecx
push edi
mov esi, eax
push 0
push esi
call fcn.0040b2d0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4046db
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4046db
add dword [esp + 0x1c], ecx
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00404e2b
test esi, esi
je 0x404694
push 1
mov edx, edi
mov ecx, esi
call fcn.004011de
pop ecx
push 0
push 0
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x40462e
xor bl, bl
mov edx, dword [esp + 0x44]
cmp edx, 0x10
jb 0x4046c0
mov ecx, dword [esp + 0x30]
inc edx
push 1
call fcn.004011de
pop ecx
mov ecx, dword [esp + 0xa4]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409bb7
add esp, 0x9c
ret
test esi, esi
je 0x4046ef
push 1
mov edx, edi
mov ecx, esi
call fcn.004011de
mov eax, dword [esp + 0x2c]
pop ecx
test eax, eax
je 0x4046a8
cmp byte [esp + 0x17], 0
je 0x404700
cmp dword [esp + 0x1c], ebx
jne 0x4046a8
mov esi, dword [esp + 0x2c]
mov bl, 1
test esi, esi
je 0x4046aa
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
call fcn.00404c28
push eax
mov ecx, esi
call fcn.004033ab
push 0
push 1
lea ecx, [esp + 0x50]
call fcn.004020cb
jmp 0x4046aa
Function at 0x4060d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4390c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4061d8
cmp byte [edi + 0x3d], 0
je 0x4061d8
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x406110
xor al, al
jmp 0x4061da
push 0
push 8
lea ecx, [esp + 0x1c]
call fcn.00404f0f
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
cmp edx, 0x10
lea esi, [esp + 0x14]
cmovae ecx, ebx
cmovae esi, ebx
add eax, ecx
lea ebx, [esp + 0x10]
mov ecx, dword [edi + 0x38]
push ebx
push eax
push esi
mov edx, dword [ecx]
lea eax, [edi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x406163
sub eax, 1
je 0x406167
dec eax
sub eax, 1
je 0x4061c5
xor bl, bl
jmp 0x4061c7
mov byte [edi + 0x3d], 0
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov ebx, dword [esp + 0x14]
cmp edx, 0x10
mov esi, dword [esp + 0x10]
cmovae eax, ebx
sub esi, eax
je 0x4061a6
push dword [edi + 0x4c]
cmp edx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, ebx
push 1
push eax
call fcn.0041de6e
add esp, 0x10
cmp esi, eax
jne 0x40615f
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
cmp byte [edi + 0x3d], 0
je 0x4061c5
test esi, esi
jne 0x406125
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00405fc0
jmp 0x40611d
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.00405e09
mov al, bl
jmp 0x4061da
mov al, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00409bb7
mov esp, ebp
pop ebp
ret