joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bd60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x10], esi
test edi, edi
je 0x49bd7c
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x49bd9c
mov edi, 0x10000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x49bdd0
mov ebx, esi
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x49bddb
test esi, esi
je 0x49bdd0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
lea ecx, [ebp - 8]
push esi
push ecx
push edi
push ebx
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x49be24
mov esi, dword [ebp - 8]
test esi, esi
je 0x49be21
push dword [ebp - 4]
push esi
push ebx
call fcn.0049bcf0
mov dword [ebp - 4], eax
cmp esi, edi
jb 0x49be21
push 0
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
je 0x49bdf3
mov esi, dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49be44
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e0419
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e0011

Function at 0x4e0424
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e019b

Function at 0x4e2f76
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e294a

Function at 0x4e39a2
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e3876
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40895b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
add ebx, 0x3a9346dc
mov edi, 0x484d64ff
call fcn.0040899a
or edi, edi
xor dword [esi], ecx
mov edi, 0xd7cae12a
dec edi
add esi, 1
add ebx, 0xa9c50ee3
cmp esi, eax
jne fcn.0040895b
push 0x674a4b5c
pop ebx
or edi, edi
ret
Function at 0x401060
Capabilities:
Hide graphical window
Log keystrokes via application hook

Disassembly:
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push section..text
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4033d8], eax
test eax, eax
je 0x40109d
push str.All_is_good
jmp 0x4010a2
push str.Something_went_wrong_:_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
add esp, 4
push esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
push dword [0x4033d4]
call esi
test eax, eax
jle 0x4010f6
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push dword [0x4033d4]
call edi
push dword [0x4033d4]
call ebx
push 0
push 0
push 0
push dword [0x4033d4]
call esi
test eax, eax
jg 0x4010d2
pop edi
pop ebx
xor eax, eax
pop esi
ret

Function at 0x401900
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40193f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40193f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40193f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40193f
cmp dword [ecx + 0x74], 0xe
jbe 0x40193f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401258
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
call fcn.004011cc
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x401275
xor eax, eax
jmp 0x4012af
mov eax, dword [esi]
mov edx, dword [esp + 4]
mov dword [edx + 8], eax
mov eax, dword [esi + 4]
mov edx, dword [esp + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov dword [eax], edx
mov eax, dword [esp + 4]
mov dword [eax + 4], ebx
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov dword [eax + 4], edx
jmp loc.0041a33d
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4015d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
jmp loc.0041a509

Function at 0x401ce4
Capabilities:
Packed with generic packer

Disassembly:
cmp edx, 0xc
jl 0x401cf7
jmp loc.00417268
cmp edx, 4
jl 0x401d06
mov ecx, edx
or ecx, 0x80000002
mov dword [eax], ecx
add eax, edx
and dword [eax], 0xfffffffe
ret

Function at 0x402050
Capabilities:
Packed with generic packer

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov edx, esp
lea eax, [ebx + 4]
jmp loc.00418db6

Function at 0x40207c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
jmp loc.00413251

Function at 0x402884
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push ecx
mov ebx, eax
test ebx, ebx
jle 0x4028a6
mov eax, ebx
call dword [0x40b030]
mov dword [esp], eax
cmp dword [esp], 0
jne 0x4028ab
mov al, 1
call fcn.0040297c
jmp 0x4028ab
jmp 0x415222
mov eax, dword [esp]
pop edx
pop ebx
ret

Function at 0x40297c
Capabilities:
Packed with generic packer

Disassembly:
and eax, 0x7f
mov edx, dword [esp]
jmp loc.00418c66

Function at 0x402b68
Capabilities:
Accept command line arguments
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041ec
test esi, esi
jne 0x402b9f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004042dc
jmp 0x402bc0
jmp loc.00414025
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x402bcc
Capabilities:
Packed with generic packer

Disassembly:
add esp, 0xfffffff8
push esp
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x402be4
mov eax, dword [esp]
mov dword [0x40b008], eax
pop ecx
pop edx
ret
jmp loc.0041ab5f

Function at 0x402ec8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x14c
call fcn.00403130
lea eax, [ebx + 0x14c]
mov dword [ebx + 0x14], eax
mov word [ebx + 4], 0xd7b0
xor eax, eax
mov al, byte [0x40b024]
mov word [ebx + 6], ax
mov dword [ebx + 8], 0x80
mov dword [ebx + 0x18], 0x402d1c
mov eax, esi
call fcn.00404464
push eax
mov eax, esi
call fcn.00404664
lea edx, [ebx + 0x48]
pop ecx
jmp loc.004182d7
Function at 0x403038
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
mov ax, word [ebx + 4]
cmp ax, 0xd7b1
jb 0x403077
cmp ax, 0xd7b3
ja 0x403077
jmp loc.0041c494
cmp ebx, 0x40c038
je 0x403089
mov eax, 0x67
call fcn.004029a8
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4030ac
Capabilities:
Packed with generic packer

Disassembly:
cmp word [eax + 4], 0xd7b1
jne 0x4030d1
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 0x10]
jae 0x4030d1
add edx, dword [eax + 0x14]
test word [eax + 6], 1
je 0x4030e0
jmp loc.0041c399
mov al, 1
ret
push eax
call fcn.004031a8
pop edx
cmp ah, 0x1a
je 0x4030ce
dec dword [edx + 0xc]
xor eax, eax
ret

Function at 0x4030e4
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov ebx, eax
or esi, 0xffffffff
mov ax, word [ebx + 4]
cmp ax, 0xd7b0
jbe 0x40311e
cmp ax, 0xd7b3
ja 0x40311e
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x403113
jmp loc.00416fb7
mov eax, esi
xor edx, edx
div dword [ebx + 8]
mov esi, eax
jmp fcn.00403128
mov eax, 0x67
jmp loc.0041bbf7

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40b008], 0x8088405
inc edx
mov dword [ebx + 0x40b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40316c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
cmp ebx, 0x40c038
jne 0x403189
xor eax, eax
mov al, byte [0x40b024]
mov word [ebx + 6], ax
mov eax, ebx
call fcn.00402c4c
cmp word [ebx + 4], 0xd7b1
sete al
mov ebx, eax
test bl, bl
jne 0x4031a2
mov eax, 0x68
jmp 0x41bc1b
mov eax, ebx
pop ebx
ret

Function at 0x403728
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40b014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037a0
xor eax, eax
push ebp
push 0x403799
push dword fs:[eax]
mov dword fs:[eax], esp
jmp loc.0041b248
mov ax, word [0x40b014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40b014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403860
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je fcn.0040386b
mov dl, 1
jmp loc.004151c7

Function at 0x4038c4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, eax
mov esi, dword [esi]
mov edx, dword [esi - 0x40]
mov esi, dword [esi - 0x24]
test edx, edx
je 0x4038dd
jmp loc.00417041
test esi, esi
jne 0x4038ca
pop esi
pop ebx
ret

Function at 0x403950
Capabilities:
Packed with generic packer

Disassembly:
push edx
push ecx
push ebx
test dl, dl
jl 0x40395a
call dword [eax - 0xc]
jmp loc.004142da

Function at 0x403a98
Capabilities:
Packed with generic packer

Disassembly:
push eax
push edx
cmp byte [0x40b018], 1
jbe fcn.00403ab3
push esp
push 2
push 0
push 0xeedfae3
jmp loc.0041802f
Function at 0x403e40
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, 0x40c620
jmp loc.00414220

Function at 0x403f20
Capabilities:
Packed with generic packer

Disassembly:
mov dword [0x40c010], 0x401088
mov dword [0x40c014], 0x401098
mov dword [0x40c628], eax
xor eax, eax
mov dword [0x40c62c], eax
mov dword [0x40c630], edx
mov eax, dword [edx + 4]
mov dword [0x40c01c], eax
call fcn.00403df8
mov byte [0x40c024], 0
jmp loc.0041a82c

Function at 0x403fec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40c034], 0
je 0x40404d
cmp word [0x40c208], 0xd7b2
jne fcn.00404015
cmp dword [0x40c210], 0
jbe fcn.00404015
mov eax, 0x40c204
jmp loc.00418231
jmp loc.00416954

Function at 0x4041a8
Capabilities:
Create thread
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402884
jmp loc.00414632

Function at 0x4041ec
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [eax]
test edx, edx
je 0x40420e
jmp loc.00417f48
ret

Function at 0x404210
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx]
test edx, edx
je 0x404236
jmp loc.0041adb4
add ebx, 4
dec esi
jne 0x404216
pop esi
pop ebx
ret

Function at 0x4043d4
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
test edx, edx
je 0x4043fb
push edx
cmp cl, byte [edx]
je 0x4043f6
cmp cl, byte [edx + 1]
je 0x4043f5
cmp cl, byte [edx + 2]
je 0x4043f4
cmp cl, byte [edx + 3]
je 0x4043f3
add edx, 4
jmp 0x4043db
inc edx
inc edx
inc edx
mov ecx, edx
pop edx
sub ecx, edx
jmp 0x414e9d

Function at 0x404404
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
test edx, edx
je 0x404437
push edx
cmp cx, word [edx]
je 0x404430
cmp cx, word [edx + 2]
je 0x40442d
cmp cx, word [edx + 4]
je 0x40442a
cmp cx, word [edx + 6]
je 0x404427
add edx, 8
jmp 0x40440b
add edx, 2
add edx, 2
add edx, 2
mov ecx, edx
pop edx
sub ecx, edx
shr ecx, 1
jmp 0x416f4b

Function at 0x404440
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
mov cl, byte [edx]
inc edx
jmp loc.0041617b

Function at 0x40444c
Capabilities:
Packed with generic packer

Disassembly:
push edi
push eax
push ecx
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
jne 0x404459
not ecx
pop eax
add ecx, eax
pop eax
pop edi
jmp loc.00415a05

Function at 0x4047a8
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je 0x4047ec
test edx, edx
je 0x4047e1
push ebx
push esi
push edi
mov esi, eax
jmp loc.004175a0
xor eax, eax
ret
ret
Function at 0x4047f0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
xor edi, edi
test edx, edx
jle 0x404845
mov eax, dword [ebx]
test eax, eax
je 0x404826
cmp dword [eax - 8], 1
jne 0x404826
sub eax, 8
add edx, 9
push eax
mov eax, esp
call fcn.004028d4
pop eax
add eax, 8
mov dword [ebx], eax
mov dword [eax - 4], esi
mov byte [esi + eax], 0
jmp 0x40484e
mov eax, edx
call fcn.004042b0
mov edi, eax
mov eax, dword [ebx]
test eax, eax
je 0x404845
mov edx, edi
mov ecx, dword [eax - 4]
cmp ecx, esi
jl 0x404840
mov ecx, esi
jmp 0x4135f3
mov eax, ebx
call fcn.004041ec
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

Function at 0x404890
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [eax]
test edx, edx
je 0x4048a4
jmp loc.0041a58c
ret

Function at 0x4048cc
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
push ebx
mov cl, byte [edx + 1]
push esi
push edi
jmp loc.0041a133

Function at 0x404c4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404cb2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040444c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004034cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404c9c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404cb9
lea eax, [ebp - 0x10]
call fcn.004041ec
ret

Function at 0x404e1c
Capabilities:
Set thread local storage value

Disassembly:
push ebx
call fcn.00404e14
mov ebx, eax
test ebx, ebx
je fcn.00404e5e
jmp loc.0041c2dd

Function at 0x404e60
Capabilities:
Get thread local storage value

Disassembly:
mov cl, byte [0x40c64c]
mov eax, dword [0x40b0b0]
test cl, cl
jne 0x404e95
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
ret
jmp loc.00414d4c
push eax
call sub.kernel32.dll_TlsGetValue
test eax, eax
je 0x404e7a
ret

Function at 0x405078
Capabilities:
Packed with generic packer

Disassembly:
and eax, 0xff
and edx, 0xff
jmp loc.00413b9f

Function at 0x405298
Capabilities:
Packed with generic packer
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
jmp loc.0041657e
Function at 0x4052fc
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x4053d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [esi + 0x1d4]
xor ecx, ecx
mov edx, 0x7d0
call fcn.00403130
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004091b8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4053ec
call fcn.004044b0
xor ebx, ebx
jmp 0x4053aa
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x4053ec
call fcn.004047a8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004046c4
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x4053ec
call fcn.004047a8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404464
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.004046c4
lea eax, [esi + ebx*4 + 0x1d4]
mov edx, dword [ebp - 8]
jmp loc.0041831b
mov edx, dword [ebp - 4]
mov eax, 0x4053ec
call fcn.004047a8
test eax, eax
jg 0x405353
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4053dd
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404210
ret

Function at 0x405460
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
jmp loc.00413dcf

Function at 0x4074a0
Capabilities:
Act as tcp client
Connect tcp socket
Connect udp socket
Initialize winsock library

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x44]
push eax
mov dl, 1
mov al, 2
call fcn.00405078
push eax
jmp loc.0041c598

Function at 0x40767c
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff678
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x988], edx
mov dword [ebp - 0x984], edx
mov dword [ebp - 0x980], edx
mov dword [ebp - 0x97c], edx
mov dword [ebp - 0x978], edx
mov dword [ebp - 0x974], edx
mov dword [ebp - 0x970], edx
mov dword [ebp - 0x96c], edx
mov dword [ebp - 0x968], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
mov ebx, 0x40c6c4
mov esi, 0x40c6c0
mov edi, 0x40c6c8
xor eax, eax
push ebp
push 0x407aa5
jmp loc.00416ace

Function at 0x407b54
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
jmp loc.00413ecf

Function at 0x408250
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.00414e7f

Function at 0x408aac
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
je 0x408ac9
mov eax, ebx
call fcn.004089dc
pop ebx
ret
jmp loc.00416fe5

Function at 0x408e20
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov eax, ebx
mov edx, 0x408f50
call fcn.00404240
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
jmp loc.00417e56
Function at 0x408fc8
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push ecx
mov ebx, eax
mov dword [esp], 2
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x408ffa
mov eax, dword [esp]
and eax, 2
cmp eax, 2
jne 0x408ffa
mov eax, ebx
mov edx, 0x409034
call fcn.00404240
jmp loc.0041a9d5

Function at 0x409048
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
jmp loc.004177ed

Function at 0x4091b8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov eax, edi
call fcn.00404464
mov esi, eax
mov ebx, 1
jmp 0x4091d1
cmp esi, ebx
jl 0x4091dc
jmp loc.0041b8ab
cmp esi, ebx
jge 0x4091ea
mov eax, ebp
call fcn.004041ec
jmp 0x409200
dec esi
cmp byte [edi + esi - 1], 0x20
jbe 0x4091e9
push ebp
mov ecx, esi
sub ecx, ebx
inc ecx
mov edx, ebx
mov eax, edi
call fcn.004046c4
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409208
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
jmp loc.0041312e

Function at 0x409304
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x409393
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
jmp loc.0041a21b

Function at 0x4093ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x40943b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x101
call fcn.0040444c
push dword [ebp - 0x10c]
push 0x409450
push dword [ebp - 4]
mov eax, ebx
mov edx, 3
call fcn.00404524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409442
lea eax, [ebp - 0x10c]
call fcn.004041ec
lea eax, [ebp - 4]
call fcn.004041ec
ret