joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e89f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount_1]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x6e8a56
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep_1]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x6e8a56
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x6e8a37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x6e8de0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x6e8e18
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x6e9a40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x6e9a89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x6e9f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7227a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.006e9ab0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.006e9b30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.006e9b30
lea ecx, [esi + 0xc]
call fcn.00713d70
lea ecx, [esi + 0x10]
call fcn.00713d70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.006eb0c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.006eb0c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.006eb0c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00713de5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00713de5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x704b53
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x704b73
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
push eax
call fcn.007045aa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x704b96
test byte [esp + 8], 2
je 0x704b96
call fcn.0070461d
mov dword [eax], 0xd
call fcn.00704626
mov dword [eax], 5
jmp 0x704b6f
xor eax, eax
ret

Function at 0x7161b6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x7161ee
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00714240
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00714218
jmp 0x7161fa
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x7178a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x7178e6
call fcn.0071d619
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x7178e6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x7178dd
xor eax, eax
jmp 0x7178ee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.007178f4
pop edi
pop esi
pop ebx
ret 4

Function at 0x71db49
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x71db77
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x71db95
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0071daaf
jmp 0x71db95
mov eax, dword [esi + 0x14]
test eax, eax
je 0x71db95
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0071daaf
test edi, edi
mov eax, edi
jne 0x71db7f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x40353f
Capabilities:
Terminate process

Disassembly:
jmp 0x453d64
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453d75
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040579a
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403661
Capabilities:
Query environment variable

Disassembly:
jmp 0x49cc12
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49cc23
pop esi
ret
push ebx
push edi
push esi
call fcn.0049caf9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403eea
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49cc4b
push ebx
push esi
push edi
call fcn.00405592
add esp, 0xc
push 0
call fcn.004060a5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x405650
Capabilities:
Parse pe header

Disassembly:
jmp 0x442e56
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x442e95
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x442e95
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x442e95
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x442e95
cmp dword [ecx + 0x74], 0xe
jbe 0x442e95
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x440cf3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004036c0
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x440d32
sub eax, 1
je 0x440d2d
sub eax, 1
je 0x440d29
xor eax, eax
leave
ret
push 3
jmp 0x440d34
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x487645
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x487684
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x487684
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x487684
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x487684
cmp dword [ecx + 0x74], 0xe
jbe 0x487684
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4969b7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d5c
mov eax, dword [0x4cc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405cc7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4969f9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x496b55
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405e16
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4cf868]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004031e8
mov ecx, dword [esi*4 + 0x4cf868]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x496b4e
cmp eax, dword [ecx + edi + 0x24]
jne 0x496b4e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x496b4e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004031e8
add esp, 0x14
test edx, edx
jl 0x496b4e
jg 0x496ac4
test eax, eax
jb 0x496b4e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x496b4e
jl 0x496ade
cmp dword [ebp - 0x1008], eax
ja 0x496b4e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x496afc
test ebx, ebx
je 0x496b35
cmp ecx, edi
jae 0x496b35
mov al, byte [ecx]
cmp al, 0xd
jne 0x496b16
lea eax, [edi - 1]
cmp ecx, eax
jae 0x496b22
cmp byte [ecx + 1], 0xa
jne 0x496b22
inc ecx
jmp 0x496b22
movzx eax, al
movsx eax, byte [eax + 0x4cc3b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x496afc
cmp edx, ebx
jne 0x496afc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x496b53
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402fcc
leave
ret
Function at 0x497294
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4cf868]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4972d4
cmp byte [ebx], 0xa
jne 0x4972d4
or byte [edi + eax + 0x28], 4
jmp 0x4972d9
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4973d8
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4973bb
inc eax
cmp dl, 0xd
je 0x497305
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x49732b
cmp eax, ecx
jae 0x497339
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4972ed
jmp 0x4973d8
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4973b6
cmp dword [ebp - 0x10], 0
je 0x4973b6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4cf868]
test byte [eax + edi + 0x28], 0x48
je 0x497390
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x49737b
mov byte [esi], dl
jmp 0x49738c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4cf868]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4973d8
cmp byte [ebp - 1], 0xa
jne 0x49739f
cmp esi, ebx
jne 0x49739f
mov byte [esi], 0xa
jmp 0x4973d7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401901
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4973d8
mov byte [esi], 0xd
jmp 0x4973d7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4cf868]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4973d5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4973d8
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x497434
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4cf868]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49747a
cmp word [ebx], dx
jne 0x49747a
or byte [eax + edi + 0x28], 4
jmp 0x49747f
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4975e2
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4975c2
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4974c0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4974f6
cmp eax, edx
jae 0x497504
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x49749b
jmp 0x4975e2
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4975bd
cmp dword [ebp - 0x18], 0
je 0x4975bd
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4cf868]
test byte [eax + edi + 0x28], 0x48
je 0x497593
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x497557
mov word [esi], cx
jmp 0x49758e
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4cf868]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4cf868]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4cf868]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4975e2
pop eax
cmp word [ebp - 4], ax
jne 0x4975a3
cmp esi, ebx
jne 0x4975a3
mov word [esi], ax
jmp 0x4975df
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401901
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4975e2
push 0xd
pop eax
jmp 0x49759e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4cf868]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4975dc
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4975e2
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49b1c8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4cc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49b213
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049b680
test al, al
jne 0x49b20d
sub edx, 2
cmp edx, edi
jne 0x49b1f3
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49b235
lea eax, [edi + 2]
cmp edx, eax
je 0x49b235
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049adc1
add esp, 0x10
jmp 0x49b32f
push esi
lea ecx, [ebp - 0x255]
call fcn.0049b680
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49b278
push dword [ebp - 0x25c]
jmp 0x49b225
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49b2b5
cmp word [ebp - 0x226], 0
je 0x49b2d6
cmp word [ebp - 0x226], ax
jne 0x49b2b5
cmp word [ebp - 0x224], 0
je 0x49b2d6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049adc1
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49b322
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49b28f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49b30a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49b32f
push 0x49a7a9
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004053f8
add esp, 0x10
jmp 0x49b2ff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402fcc
leave
ret

Function at 0x4a0c91
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004041fb
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4a0d00
cmp esi, dword [ebp - 4]
je 0x4a0cfb
cmp dword [ebp + 0xc], 0
je 0x4a0cfb
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a0cd8
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004a06b9
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4a0d02
xor eax, eax
inc eax
jmp 0x4a0d02
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x2c15a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x2c180d
jne 0x2c180d
je 0x2c11e6
jne 0x2c12ed
add byte [eax], al
add byte [eax], al
Function at 0x2c3620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
je 0x2c37a8
jne 0x2c37a8
Function at 0x2c4860
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x2c48b6
jne 0x2c48b6
jmp 0x3e9883b2
inc ebp
cmp ebp, dword [esi + edi + 0x18]
jb 0x2c48d7
xor eax, eax
jmp 0x2c4890
mov eax, dword [esp]
je 0x2c487c
jne 0x2c487c
jmp 0x6838ff8f
movzx ecx, word [eax + ebp*2]
xor eax, eax
cmp dword [esi + edi + 0x14], ecx
jb 0x2c4890
mov eax, dword [esi + edi + 0x1c]
je 0x2c48f9
jne 0x2c48f9
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + edi + 0x24]
mov ebx, dword [esi + edi + 0x20]
xor ebp, ebp
je 0x2c491b
jne 0x2c491b
je 0x2c24da
jne 0x2c140a
push eax
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [edx]
cmp dword [ecx + 0x7c], 0
je 0x2c4890
je 0x2c4938
jne 0x2c4938
je 0x2c369f
jne 0x2c2cb7
je 0x1d74d66
mov eax, dword [ebx + ebp*4]
add eax, esi
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call dword [eax + 0x24]
je 0x2c4907
invalid
jne 0x2c4907
je 0x2c268a
jne 0x2c2922
jmp 0x3ba558a
lea ecx, [esi + ecx*4]
add esi, dword [eax + ecx]
mov eax, esi
je 0x2c4890
jne 0x2c4890
je 0x843c0990
test eax, eax
je 0x2c4874
invalid
je 0x2c4869
jne 0x2c4869
add eax, esi
add ebx, esi
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
je 0x2c48d7
jne 0x2c48d7
add byte [eax], al
add byte [eax], al
mov esi, dword [edx + 4]
mov edi, dword [ecx + 0x78]
cmp dword [edi + esi + 0x18], 0
je 0x2c4890
cmp dword [esi + edi + 0x14], 0
je 0x2c4890
je 0x2c489c
jne 0x2c489c
push ebp
push ebx
je 0x2c4a05
jne 0x2c4a05
je 0x348a3b
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
je 0x2c49d8
add byte [eax], al
add bh, al
inc eax
adc byte [eax], al
add byte [eax], al
add byte [ecx + 0x2474ffcb], cl
and bh, bh
je 0x2c49ab
and byte [eax + 0x74], dl
dec ebp
jne 0x2c49d8
je 0x2c13d2
jne 0x2c363b
add byte [eax], al
add byte [eax], al
test edi, edi
je 0x2c49fb
push 0x8000
push 0
push edi
call dword [ebx + 0xc]
je 0x2c49fb
or al, 0x74
dec ebp
jne 0x2c49fb
jmp 0x8168a740
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + ebx], 0x4550
jne 0x2c49fb
mov edi, dword [esp + 0x14]
add ebx, ebp
push 4
je 0x2c49ca
jne 0x2c49ca
push 0x3000
push 0x14
push 0
je 0x2c4a1c
jne 0x2c4a1c
jmp 0xec6f322d
push ecx
call fcn.002c3620
add esp, 0x10
test eax, eax
je 0x2c49f0
mov esi, edi
mov dword [edi + 0x10], 1
jmp 0x2c49fb
je 0x2c499d
jne 0x2c499d
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop edi
je 0x2c49f4
jne 0x2c49f4
je 0x6cb7a060
push edi
push esi
mov ebp, dword [esp + 0x18]
and al, 0x18
xor esi, esi
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0x2c49fb
je 0x2c49b1
jne 0x2c49b1
call dword [edi]
mov ecx, edi
mov dword [eax + 4], ebp
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 0xc], 0
je 0x2c4970
jne 0x2c4970
nop word [eax + eax]
ret
Function at 0x2c7f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1400
call fcn.00304b40
mov eax, dword [esp + 0x1418]
movdqa xmm4, xmmword [0x30a290]
movdqa xmm6, xmmword [0x30a2a0]
mov esi, 0xfffffc00
pxor xmm2, xmm2
nop
movdqa xmm3, xmm4
movdqa xmm7, xmmword [0x30a2c0]
movdqa xmm0, xmm4
movdqa xmm1, xmm4
movdqa xmm5, xmm4
pand xmm3, xmm6
psrld xmm0, 6
pand xmm1, xmmword [0x30a320]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0x30a2b0]
pcmpeqd xmm1, xmm2
pand xmm1, xmmword [0x30a330]
pxor xmm0, xmm3
movdqa xmm3, xmm4
pand xmm3, xmm7
movdqa xmm7, xmmword [0x30a2e0]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0x30a2d0]
pand xmm5, xmm7
movdqa xmm7, xmmword [0x30a350]
pcmpeqd xmm5, xmm2
pand xmm5, xmmword [0x30a2f0]
pxor xmm3, xmm0
pand xmm0, xmm6
pcmpeqd xmm0, xmm2
pxor xmm1, xmm5
movdqa xmm5, xmm4
pand xmm5, xmmword [0x30a340]
pcmpeqd xmm5, xmm2
pand xmm5, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm4
paddd xmm4, xmmword [0x30a2e0]
pand xmm1, xmmword [str._b_b_b_b]
pxor xmm5, xmm3
pand xmm3, xmmword [0x30a2c0]
pcmpeqd xmm1, xmm2
pcmpeqd xmm3, xmm2
pand xmm1, xmmword [0x30a310]
pand xmm3, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm0
pand xmm0, xmmword [0x30a370]
pandn xmm1, xmmword [0x30a360]
psrld xmm5, 2
por xmm0, xmm1
pxor xmm0, xmm5
pxor xmm0, xmm3
movdqu xmmword [esp + esi + 0x400], xmm0
add esi, 0x10
jne 0x2c7fb0
mov esi, eax
mov eax, 0xfffffc00
shr esi, 2
nop word [eax + eax]
mov ebx, dword [esp + eax + 0x400]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
mov dword [esp + eax + 0x800], ebx
add eax, 4
jne 0x2c80d0
mov eax, dword [esp]
mov edi, dword [esp + 0x400]
xor ebp, ebp
mov ebx, eax
shr ebx, 8
nop
mov ecx, eax
xor ecx, ebp
movzx ecx, cl
mov ecx, dword [esp + ecx*4]
xor ecx, ebx
movzx edx, cl
shr ecx, 8
xor ecx, dword [esp + edx*4]
movzx edx, cl
shr ecx, 8
mov edx, dword [esp + edx*4]
xor edx, edi
xor edx, ecx
mov dword [esp + ebp*4 + 0x800], edx
inc ebp
cmp ebp, 0x100
jne 0x2c8110
movzx eax, al
Function at 0x2c9d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
je 0x2c9fb2
jne 0x2c9fb2
jmp 0x4b9869b

Function at 0x2cadf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
je 0x2cb0ab
jne 0x2cb0ab
je 0x2c93c2
jne 0x2ca2d9
add byte [eax], al
add byte [eax], al
push ebx
push edi
push esi
je 0x2cb126
jne 0x2cb126
add byte [eax], al
add byte [eax], al
Function at 0x2d0d80
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
je 0x2d0e62
jne 0x2d0e62
add byte [eax], al
add byte [eax], al
jmp 0x2d0e82
je 0x2d0e7d
jne 0x2d0e7d
je 0x2d0acf
jne 0x2d0cec
je 0xeb3d5141
fmul qword [edi]
test byte [edi + 0x5b], bl
ret 4
lea ecx, [ebx + 0x14]
push eax
je 0x2d0e55
jne 0x2d0e55
jmp 0x2e940781
je 0x2d0deb
jne 0x2d0deb
add byte [eax], al
add byte [eax], al
test eax, eax
je 0x2d0e43
je 0x2d0e88
jne 0x2d0e88
jmp 0x893154aa
mov dword [esi + 4], eax
mov eax, esi
pop esi
push 0x2d0db9
ret
call fcn.00304b2a
add esp, 4
mov edi, eax
jmp 0x2d0e14
mov dword [esi], edi
mov eax, dword [ebx + 0x10]
je 0x2d0e1d
jne 0x2d0e1d
jmp 0x2d3bc8b9
push ecx
push edi
call fcn.002c5df0
push 0x2d0eac
ret
je 0x2d0e6a
je 0x2d0ea4
jne 0x2d0ea4
je 0x10516af9
mov ebx, dword [esp + 0x10]
mov esi, ecx
mov eax, dword [ebx + 0x10]
add eax, 3
push eax
jmp 0x2d0e37
mov eax, 0xfffffffe
je 0x2d0e0c
jne 0x2d0e0c
je 0x833d5217
mov eax, dword [ebx + 0x10]
add eax, 2
push 0x2d0e96
ret
rol byte [edx], 0x68
xchg esi, eax
push cs
sub eax, 0x840fc300
je 0x2d0d98
push 0x2d0df4
ret
jne 0x2d0e6a
jmp 0x2d0e68