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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x40f6d1
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x416ca0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x40f6d1
test cl, 0x48
je 0x40f568
cmp byte [eax + 5], 0xa
je 0x40f568
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40f5ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x40f5a2
call fcn.0040b800
mov dword [eax], 9
call fcn.0040b809
mov dword [eax], esi
jmp 0x40f5b2
cmp eax, 0x6d
je 0x40f6d1
push eax
call fcn.0040b812
pop ecx
or eax, 0xffffffff
jmp 0x40f6d3
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x40f6cc
test eax, eax
je 0x40f5e1
cmp byte [ebx], 0xa
jne 0x40f5e1
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x40f5ea
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x40f6c6
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x40f6b6
cmp al, 0xd
je 0x40f61c
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x40f6a8
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x40f636
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x40f631
add dword [ebp + 0x10], 2
jmp 0x40f68a
mov dword [ebp + 0x10], eax
jmp 0x40f6a4
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40f65e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40f6a4
cmp dword [ebp - 0xc], 0
je 0x40f6a4
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x40f67f
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x40f68a
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x40f6a7
cmp ebx, dword [ebp + 0xc]
jne 0x40f68f
cmp byte [ebp - 1], 0xa
jne 0x40f68f
mov byte [ebx], 0xa
jmp 0x40f6a7
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040b885
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x40f6a8
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x40f600
jmp 0x40f6c6
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x40f6c6
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x40f6d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f94e
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x413570
call fcn.00408a58
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x416a38], edi
jne 0x40f992
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40f97d
mov dword [0x416a38], ebx
jmp 0x40f992
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40f992
mov dword [0x416a38], 2
mov eax, dword [0x416a38]
cmp eax, ebx
jne 0x40f9b2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x40fa75
cmp eax, 2
je 0x40f9bb
cmp eax, edi
jne 0x40f9e3
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x40f9ce
mov eax, dword [0x4168c8]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x40f9ea
xor eax, eax
jmp 0x40fa75
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0040acc0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x40fa1d
cmp esi, edi
jne 0x40fa33
push dword [ebp - 0x20]
call fcn.00405659
pop ecx
mov esi, eax
cmp esi, edi
je 0x40f9e3
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40fa66
cmp dword [ebp + 0x14], edi
jne 0x40fa50
push edi
push edi
jmp 0x40fa56
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x40fa72
push esi
call fcn.00406c55
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00408a93
ret
Function at 0x40fa7e
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x413580
call fcn.00408a58
xor esi, esi
cmp dword [0x416a3c], esi
jne 0x40fac2
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40faad
mov dword [0x416a3c], edi
jmp 0x40fac2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40fac2
mov dword [0x416a3c], 2
mov eax, dword [0x416a3c]
cmp eax, 2
je 0x40fba3
cmp eax, esi
je 0x40fba3
cmp eax, 1
jne 0x40fb07
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x40faf0
mov eax, dword [0x4168c8]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x40fb0e
xor eax, eax
jmp 0x40fbb5
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0040acc0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x40fb44
cmp edi, esi
jne 0x40fb5f
lea eax, [ebx + ebx]
push eax
call fcn.00405659
pop ecx
mov edi, eax
cmp edi, esi
je 0x40fb07
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40fb92
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x40fb7c
push esi
push esi
jmp 0x40fb82
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x40fb9e
push edi
call fcn.00406c55
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x40fbb5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00408a93
ret
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x62b55cb3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x32791ce0
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7f8f0716
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x4673532a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011cc
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, 0x40c5d0
cmp dword [esi], 0
jne 0x401212
jmp loc.0041ad8a
mov eax, dword [esi]
mov edx, dword [eax]
mov dword [esi], edx
pop esi
pop ebx
ret

Function at 0x401598
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov esi, ebx
add esi, 0xfff
and esi, 0xfffff000
mov dword [esp], esi
mov ebp, ebx
add ebp, edx
and ebp, 0xfffff000
mov eax, dword [esp]
mov dword [ecx], eax
mov eax, ebp
sub eax, dword [esp]
mov dword [ecx + 4], eax
mov esi, dword [0x40c5d4]
jmp 0x401607
jmp loc.0041c1f1
cmp esi, 0x40c5d4
jne 0x4015cf
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401b7c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
xor edi, edi
mov eax, dword [ebx]
test eax, 0x80000000
je 0x401b97
and eax, 0x7ffffffc
add edi, eax
add ebx, eax
mov eax, dword [ebx]
test al, 2
jne 0x401bae
mov esi, ebx
mov eax, esi
call fcn.004019fc
mov eax, dword [esi + 8]
add edi, eax
jmp 0x414087
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x401df0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
mov ecx, esp
lea edx, [esi + 4]
mov eax, ebx
call fcn.004016a8
cmp dword [esp], 0
je 0x401e16
mov eax, esp
jmp loc.00413d74
xor eax, eax
jmp 0x401e1c
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x402518
Capabilities:
Packed with generic packer

Disassembly:
push ebx
test eax, eax
jle 0x402532
jmp loc.00419792
xor ebx, ebx
mov eax, ebx
pop ebx
ret

Function at 0x402774
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403dcc
test esi, esi
jne 0x4027aa
push 0x105
jmp loc.00415903
jmp loc.004176b5

Function at 0x4027d4
Capabilities:
Packed with generic packer

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

Function at 0x40286c
Capabilities:
Packed with generic packer

Disassembly:
mov dx, 0xd7b3
jmp loc.0042070a

Function at 0x402cec
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov ebx, eax
or esi, 0xffffffff
mov ax, word [ebx + 4]
cmp ax, 0xd7b0
jbe 0x402d26
cmp ax, 0xd7b3
ja 0x402d26
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x402d1b
jmp loc.004160bb
mov eax, esi
xor edx, edx
div dword [ebx + 8]
mov esi, eax
jmp fcn.00402d30
jmp loc.0041e89f

Function at 0x402d58
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 0x402ea8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, edx
call fcn.00403dcc
sub esp, 0x100
mov eax, ebx
mov edx, esp
mov ecx, 0xff
call fcn.00402e9c
mov eax, esi
mov edx, esp
call fcn.00404020
cmp byte [esp], 0xff
jne 0x402f09
mov eax, ebx
mov edx, esp
mov ecx, 0xff
call fcn.00402e9c
mov edx, esp
push 0
mov eax, esp
call fcn.00404020
mov eax, esi
mov edx, dword [esp]
call fcn.0040404c
mov eax, esp
call fcn.00403dcc
jmp loc.00417920
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x403330
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 0x4033c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033a8
xor eax, eax
push ebp
push 0x4033a1
jmp loc.0041ee95
mov ax, word [0x40b014]
jmp loc.0041784e

Function at 0x4033a8
Capabilities:
Packed with generic packer

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 0x4033c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033a8
xor eax, eax
push ebp
push 0x4033a1
jmp loc.0041ee95
mov ax, word [0x40b014]
jmp loc.0041784e

Function at 0x403468
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je fcn.00403473
mov dl, 1
jmp loc.00413cfb

Function at 0x4035d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [0x40b018], 1
jbe fcn.004035ea
push 0
push 0
push 0
push 0xeedfadf
jmp loc.00418cbe

Function at 0x403628
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [0x40b018], 1
jbe 0x403638
push eax
push ebx
jmp loc.0041b068
ret

Function at 0x40363c
Capabilities:
Packed with generic packer

Disassembly:
test ecx, ecx
je 0x403659
jmp loc.004148cc
ret

Function at 0x4036a0
Capabilities:
Packed with generic packer

Disassembly:
push eax
push edx
cmp byte [0x40b018], 1
jbe fcn.004036bb
push esp
push 2
push 0
push 0xeedfae3
jmp loc.0041765c

Function at 0x403bd4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40c034], 0
je 0x403c35
cmp word [0x40c208], 0xd7b2
jne fcn.00403bfd
jmp loc.0041e239
jmp loc.004201c7

Function at 0x403d88
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.00402518
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x40c035], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403d50
push eax
push esi
push ebx
jmp loc.0041e29e

Function at 0x403dcc
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [eax]
test edx, edx
je 0x403dee
jmp loc.0041b844
ret
Function at 0x403e20
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x403e48
mov ecx, dword [edx - 8]
inc ecx
jg 0x403e44
push eax
push edx
mov eax, dword [edx - 4]
call fcn.00403e90
mov edx, eax
pop eax
push edx
mov ecx, dword [eax - 4]
call fcn.00402648
pop edx
pop eax
jmp 0x403e48
lock inc dword [edx - 8]
xchg dword [eax], edx
test edx, edx
je 0x403e62
mov ecx, dword [edx - 8]
dec ecx
jl 0x403e62
lock dec dword [edx - 8]
jne 0x403e62
lea eax, [edx - 8]
jmp 0x41a81e
ret

Function at 0x403e64
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x403e72
mov ecx, dword [edx - 8]
inc ecx
jle 0x403e72
lock inc dword [edx - 8]
xchg dword [eax], edx
test edx, edx
je 0x403e8c
mov ecx, dword [edx - 8]
dec ecx
jl 0x403e8c
lock dec dword [edx - 8]
jne 0x403e8c
lea eax, [edx - 8]
jmp 0x419f26
ret

Function at 0x403ebc
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
mov eax, edi
call fcn.00403e90
mov ecx, edi
mov edi, eax
test esi, esi
je fcn.00403edd
mov edx, eax
mov eax, esi
jmp loc.0041de85

Function at 0x403fe4
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
test edx, edx
je 0x404017
push edx
cmp cx, word [edx]
je 0x404010
cmp cx, word [edx + 2]
je 0x40400d
cmp cx, word [edx + 4]
je 0x40400a
cmp cx, word [edx + 6]
je 0x404007
add edx, 8
jmp 0x403feb
add edx, 2
add edx, 2
add edx, 2
mov ecx, edx
pop edx
sub ecx, edx
shr ecx, 1
jmp 0x417f6a

Function at 0x404190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
cmp eax, edx
jmp loc.0041475f

Function at 0x40445c
Capabilities:
Packed with generic packer

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

Function at 0x404498
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
push ebx
mov cl, byte [edx + 1]
push esi
push edi
mov ebx, eax
lea esi, [ecx + edx + 0xa]
mov edi, dword [ecx + edx + 6]
jmp loc.00414f04

Function at 0x40455c
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
push ebx
mov cl, byte [edx + 1]
push esi
push edi
mov ebx, eax
lea esi, [ecx + edx + 0xa]
mov edi, dword [ecx + edx + 6]
jmp loc.00419e40

Function at 0x404694
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00404044
push eax
mov eax, esi
call fcn.00404244
mov ecx, eax
mov edx, edi
dec edx
mov eax, ebx
jmp loc.00413dfb

Function at 0x404764
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [0x40b028]
mov dword [eax], edx
jmp loc.0041e0f2

Function at 0x4047fc
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
jmp loc.00419581

Function at 0x4049cc
Capabilities:
Set thread local storage value

Disassembly:
push ebx
call fcn.004049c4
mov ebx, eax
test ebx, ebx
je fcn.00404a0e
cmp dword [0x40b0b0], 0xffffffff
jne fcn.004049eb
jmp loc.004199f6
Function at 0x404e48
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
push 0x404e9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00404044
push eax
lea eax, [ebp - 4]
call fcn.0040429c
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.wsock32.dll_send
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404ea4
lea eax, [ebp - 4]
call fcn.00403dcc
ret

Function at 0x4070b8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create 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.00404c28
push eax
jmp loc.00419fe9

Function at 0x407764
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.004187d8

Function at 0x407e60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.004161e7

Function at 0x40898c
Capabilities:
Packed with generic packer

Disassembly:
push edi
push esi
push ebx
mov esi, eax
mov edi, edx
mov ebx, ecx
xor al, al
test ecx, ecx
je 0x4089a0
repne scasb al, byte es:[edi]
jne 0x4089a0
inc ecx
sub ebx, ecx
mov edi, esi
mov esi, edx
mov edx, edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp loc.0041d75b

Function at 0x408a30
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov eax, ebx
mov edx, 0x408b60
call fcn.00403e20
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
jmp loc.0041973a

Function at 0x408bd8
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
jmp loc.00416b34

Function at 0x408c58
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
jmp loc.0041df2c

Function at 0x408e18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
jmp loc.004138ba

Function at 0x408f14
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]
jmp loc.0041cc61

Function at 0x408fbc
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.00404234
xor eax, eax
push ebp
jmp loc.00418579

Function at 0x409064
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]
jmp loc.00413d47