joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1022bff0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1022c1dd
pushal
mov esi, section..data
lea edi, [esi - 0xc2000]
push edi
or ebp, 0xffffffff
jmp 0x1022c01a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1022c021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022c010
mov eax, 1
add ebx, ebx
jne 0x1022c033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1022c044
jne 0x1022c063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022c063
dec eax
add ebx, ebx
jne 0x1022c050
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1022c028
add ebx, ebx
jne 0x1022c05f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1022c0b5
xor ecx, ecx
sub eax, 3
jb 0x1022c07b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1022c0ea
sar eax, 1
mov ebp, eax
jmp 0x1022c086
add ebx, ebx
jne 0x1022c086
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022c054
inc ecx
add ebx, ebx
jne 0x1022c094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022c054
add ebx, ebx
jne 0x1022c0a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1022c096
jne 0x1022c0b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1022c096
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1022c0d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1022c0c6
jmp 0x1022c016
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1022c0d4
add edi, ecx
jmp 0x1022c016
pop esi
mov edi, esi
mov ecx, 0x4329
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1022c0f2
cmp byte [edi], 0x12
jne 0x1022c0f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1022c0f7
lea edi, [esi + 0x224000]
mov eax, dword [edi]
or eax, eax
je 0x1022c16f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22c324]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22c43c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1022c124
mov ecx, edi
jns 0x1022c153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22c440]
or eax, eax
je 0x1022c169
mov dword [ebx], eax
add ebx, 4
jmp 0x1022c141
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1022c1a0
cmp al, 0xef
ja 0x1022c193
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1022c175
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1022c182
mov ebp, dword [esi + 0x22c444]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1022c1d4
sub esp, 0xffffff80
jmp 0x10061afd
Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40d02c], 0x8088405
inc edx
mov dword [0x40d02c], edx
mul edx
mov eax, edx
ret

Function at 0x4051a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4051e1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403230
jmp 0x4051ea
mov eax, ebx
mov edx, esi
call fcn.004031e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4051f4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405215
mov al, byte [esp]
jmp 0x405217
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406978
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4069c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406914
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069c7
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406bc8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406c56
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c13
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403230
jmp 0x406c40
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c27
lea eax, [ebp - 4]
call fcn.00403150
jmp 0x406c36
lea edx, [ebp - 4]
call fcn.00406a8c
test ebx, ebx
je 0x406c36
dec ebx
jmp 0x406c18
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c5d
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406c64
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404d7c
add esp, 0x104
pop ebx
ret
Function at 0x406dac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406ee4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406ece
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406e09
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406ece
cmp dword [ebp - 0x10], 0
jne 0x406e1e
mov eax, dword [ebp - 8]
call fcn.00403150
mov bl, 1
jmp 0x406ece
cmp dword [ebp - 0x10], 0x70000000
jb 0x406e2c
call fcn.00405820
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00403230
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.004033d8
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406dd2
test eax, eax
jne 0x406ece
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406e7c
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406ece
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x406e87
dec esi
test esi, esi
je 0x406e95
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0
je 0x406e86
cmp dword [ebp - 0xc], 7
jne 0x406ea0
test esi, esi
je 0x406ea0
inc esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004034a8
cmp dword [ebp - 0xc], 7
jne 0x406ec1
test esi, esi
je 0x406ec1
lea eax, [ebp - 0x14]
call fcn.004033d8
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004031a0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406eeb
lea eax, [ebp - 0x14]
call fcn.00403150
ret

Function at 0x40782c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40d558
mov eax, esi
mov edx, 8
test al, 1
je 0x407848
shr eax, 1
xor eax, 0xedb88320
jmp 0x40784a
shr eax, 1
dec edx
jne 0x40783b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407834
pop esi
ret

Function at 0x407860
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40d554], 0
jne 0x407883
call fcn.0040782c
push 1
push 0x40d554
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4078ae
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40d558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407889
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x408f08
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408ebc
test al, al
jne 0x408f29
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408f75
xor eax, eax
push ebp
push 0x408f65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004033cc
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408f6c
lea eax, [ebp - 0xc]
call fcn.00408ef8
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40927c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x40936b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406c90
mov edx, dword [ebp - 8]
mov ecx, 0x409384
xor eax, eax
call fcn.00409170
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x409339
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x40929c
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.00408d44
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c30
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407220
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x68
call fcn.00408d14
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x4045fc
call fcn.0040582c
call fcn.00402e88
jmp 0x40929c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409372
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403170
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403170
ret

Function at 0x409394
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov esi, edx
mov ebx, eax
cmp dword [0x40c07c], 2
jne 0x409401
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4093bc
xor eax, eax
jmp 0x40940e
lea eax, [esp + 8]
push eax
push 0x409414
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x409401
xor eax, eax
jmp 0x40940e
push esi
push ebx
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x409428
Capabilities:
Check if file exists

Disassembly:
xor edx, edx
mov eax, 2
call fcn.00409394
ret
Function at 0x409438
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x409492
inc esi
xor edi, edi
cmp edi, 1
jne 0x40945e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x40946c
cmp edi, 1
jle 0x40946c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408f08
test eax, eax
jne 0x409492
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x409492
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x409492
inc edi
dec esi
jne 0x40944e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x40949c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test edi, edi
je 0x4094e9
xor ebx, ebx
jmp 0x4094de
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, edi
call fcn.00404bdc
test eax, eax
jne 0x4094dd
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x409599
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call esi
test al, al
jne 0x4094bf
mov al, byte [ebp - 1]
sub al, 1
jb 0x4094f4
je 0x4094fd
jmp 0x409506
call fcn.00406fc0
mov edi, eax
jmp 0x409508
call sub.kernel32.dll_GetUserDefaultLangID
mov edi, eax
jmp 0x409508
xor edi, edi
test di, di
je 0x409599
xor ebx, ebx
jmp 0x409544
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, di
cmp eax, edx
jne 0x409543
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x409538
call sub.kernel32.dll_GetACP
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x2c]
jne 0x409543
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x409599
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call esi
test al, al
jne 0x409515
xor ebx, ebx
jmp 0x40958e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, edi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x40958d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x409582
call sub.kernel32.dll_GetACP
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x2c]
jne 0x40958d
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x409599
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call esi
test al, al
jne 0x409553
mov al, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x40994c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a1f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a38
push ebx
push 0x409a44
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040336c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099cc
mov al, 0x6a
call fcn.004095a8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409920
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x4099d5
call fcn.00409920
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a26
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x409ab8
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 0x409b6c
jmp 0x409b61
cmp dword [esi + 0x10], 0x1000
jne 0x409b4d
test byte [esi + 0x15], 1
jne 0x409b4d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b0c
cmp eax, 2
je 0x409b0c
cmp eax, 0x10
je 0x409b0c
cmp eax, 0x20
jne 0x409b21
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 0x409b21
mov bl, 1
xor ebp, ebp
jmp 0x409b32
mov eax, dword [esi]
add eax, ebp
call fcn.00409ab0
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b25
test bl, bl
je 0x409b4d
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 0x409b6c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ae4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x682257e4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x1a95954
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x417580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Batu
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4175a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4175a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417598
mov eax, 1
add ebx, ebx
jne 0x4175bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4175b0
jne 0x4175cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4175b0
xor ecx, ecx
sub eax, 3
jb 0x4175e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417652
mov ebp, eax
add ebx, ebx
jne 0x4175eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4175f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41761c
inc ecx
add ebx, ebx
jne 0x417608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4175fd
jne 0x417619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4175fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41763c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41762d
jmp 0x41759e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41763c
add edi, ecx
jmp 0x41759e
pop esi
mov edi, esi
mov ecx, 0x11
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41765a
cmp byte [edi], 1
jne 0x41765a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41765f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4176d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c978]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c9b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41768c
mov ecx, edi
jns 0x4176bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c9b8]
or eax, eax
je 0x4176d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4176a9
call dword [esi + 0x1c9bc]
popal
jmp 0x4011a0
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..pdata
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7df90f8b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x13200441
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401130
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x29c], ax
lea ecx, [ebp - 0x298]
push ecx
movzx edx, word [ebp - 0x29c]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x40118e
mov eax, dword [ebp - 0x2a0]
push eax
push 0x42af30
call fcn.00409334
add esp, 8
xor eax, eax
jmp 0x401309
movzx ecx, word [ebp - 0x298]
and ecx, 0xff
movzx edx, cl
cmp edx, 2
jne 0x4011ba
movzx eax, word [ebp - 0x298]
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp ecx, 2
je 0x4011d4
push 0x42af54
call fcn.00409334
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x401309
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea edx, [ebp - 0x107]
push edx
call fcn.0040fb00
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.0040fb00
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401510
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x42af84
lea edx, [ebp - 0x108]
push edx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42af8c
lea eax, [ebp - 0x108]
push eax
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42af94
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42af9c
lea edx, [ebp - 0x108]
push edx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42afa4
lea eax, [ebp - 0x108]
push eax
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42afac
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42afb4
lea edx, [ebp - 0x108]
push edx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42afbc
lea eax, [ebp - 0x108]
push eax
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x401300
push 0x42afc4
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401d80
add esp, 8
test eax, eax
je 0x401304
xor eax, eax
jmp 0x401309
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret