joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fceee8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4fcef32
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4fceed9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4fceee8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x53d4b8b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4fcef39
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.04fb5daf
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4fcefd8
add edi, 4
add eax, 2
dec ecx
jne 0x4fcef1e
call 0x4fcef85
loope 0x4fcef7b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4fcefd5
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4fcefe6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4fcef99
cmp eax, ecx
ja 0x4fcef99
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4fcf023
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4fcf019
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.04fb628e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6505081e
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x21f323bf
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x4f2434b
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x76c45e58
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40486c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406b68
test esi, esi
jne 0x4048a2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406cf0
jmp 0x4048c0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004047b0
mov edi, eax
test esi, esi
je 0x4048c0
cmp dword [ebx], 0
je 0x4048c0
dec esi
jmp 0x4048a9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4058e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405cdc
mov byte [esp], al
cmp byte [esp], 0
jne 0x405a70
test edi, edi
je 0x405a70
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4059a7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405982
cmp edi, 0xffffffff
je 0x405943
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405943
mov byte [esp], 0
jmp 0x405a70
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405982
test ebx, ebx
jne 0x405978
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402770
test eax, eax
jne 0x405978
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405a70
call 0x405e00
dec ebp
test ebp, ebp
jg 0x405928
cmp edi, 0xffffffff
je 0x4059a7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4059a5
mov byte [esp], 0
jmp 0x405a70
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4058f2
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402770
cmp ebx, eax
jne 0x4059a7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405ae0
mov edx, eax
mov ebx, dword [0x51e8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405a0e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405a0c
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405a0e
xor edi, edi
cmp byte [esp], 0
je 0x405a37
mov ebx, dword [esi]
test bl, 1
jne 0x405a50
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402770
cmp ebx, eax
jne 0x405a14
mov byte [esp + 1], 1
jmp 0x405a50
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402770
cmp ebx, eax
jne 0x405a37
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4059c1
cmp byte [esp], 0
je 0x405a70
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406800
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51e058], 0
je 0x406867
cmp word [0x51e344], 0xd7b2
jne 0x406829
cmp dword [0x51e34c], 0
jbe 0x406829
mov eax, 0x51e340
call dword [0x51e35c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x406894
call fcn.004073d0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x519032], 0
jne 0x406883
push 0
push 0x5199c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406a24
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x519034], 0
je 0x406a4f
mov edx, edi
mov eax, esi
call dword [0x519034]
mov ebx, eax
jmp 0x406a60
mov eax, 8
call fcn.004044ec
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x51e059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4069ec
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x406a95
mov edx, 8
mov eax, ebx
call fcn.00404508
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408f7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4090e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406b68
cmp si, word [0x519a00]
jb 0x409014
cmp si, word [0x519c00]
ja 0x409014
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409014
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x519a00]
jae 0x408fee
mov edi, ebx
dec edi
jmp 0x40900f
cmp si, word [ebx*8 + 0x519a00]
jbe 0x408ffe
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40900f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x519a04]
call fcn.00408e8c
jmp 0x409014
cmp edi, dword [ebp - 8]
jae 0x408fd8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4090c3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4090c3
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407744
push dword [ebp - 0x160]
push 0x4090fc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407744
push dword [ebp - 0x164]
push 0x40910c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407744
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040797c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090e8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406bc8
ret
Function at 0x409294
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409397
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x520b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x520ba0]
jne 0x4092e0
mov eax, esi
mov edx, 0x520ba2
mov ecx, 0x55
call fcn.00407744
push 0x520b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409381
push 0x520b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406b68
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40934f
cmp byte [0x520b84], 0
je 0x409314
mov edx, esi
mov eax, ebx
call fcn.00409178
jmp 0x40934f
mov edx, esi
mov eax, ebx
call fcn.00408f7c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40934f
cmp dword [esi], 0
je 0x409338
mov eax, esi
mov edx, 0x4093b0
call fcn.0040789c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408f7c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040789c
push 0x520b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x520ba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.004076b0
push eax
push 0x520ba2
call sub.kernel32.dll_lstrcpynW
push 0x520b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40939e
lea eax, [ebp - 4]
call fcn.00406b68
ret
Function at 0x409ad4
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c4c
xor eax, eax
push ebp
push 0x409b94
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407744
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004078f4
mov eax, dword [ebx]
call fcn.0040999c
test al, al
jne 0x409b71
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407744
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004078f4
mov eax, dword [ebx]
call fcn.0040999c
test al, al
jne 0x409b71
mov eax, ebx
call fcn.00406b68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b9b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406bc8
lea eax, [ebp - 4]
call fcn.00406b68
ret

Function at 0x40a558
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41d9cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41da25
test eax, edx
je 0x41da28
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d9e3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41da0a
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41da0b
add ecx, 4
js 0x41d9fb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41da08
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41da0a
xor eax, eax
ret
test eax, eax
je 0x41da34
test edx, edx
jne 0x41d9d4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41e0a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41e0c0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41e0c8
mov al, 1
jmp 0x41e0e5
movzx esi, word [ebp]
mov eax, esi
call fcn.0040f218
test al, al
jne 0x41e0e1
cmp si, 0x5f
je 0x41e0e1
xor eax, eax
jmp 0x41e0e3
mov al, 1
xor al, 1
test al, al
jne 0x41e175
test bl, bl
je 0x41e135
mov eax, ebp
test eax, eax
je 0x41e0fc
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41e171
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040f2a4
test al, al
jne 0x41e129
cmp di, 0x5f
je 0x41e129
cmp di, 0x2e
je 0x41e129
xor eax, eax
jmp 0x41e12b
mov al, 1
test al, al
je 0x41e175
inc esi
dec ebx
jne 0x41e109
jmp 0x41e171
mov eax, ebp
test eax, eax
je 0x41e140
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41e171
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040f2a4
test al, al
jne 0x41e167
cmp di, 0x5f
je 0x41e167
xor eax, eax
jmp 0x41e169
mov al, 1
test al, al
je 0x41e175
inc esi
dec ebx
jne 0x41e14d
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4229c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4229fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406cf0
jmp 0x422a06
mov eax, ebx
mov edx, esi
call fcn.00406f48
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422a10
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x422a32
movzx eax, word [esp]
jmp 0x422a34
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423708
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x42382d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423510
mov esi, eax
mov eax, dword [0x51da20]
cmp byte [eax], 0
je 0x4237d5
mov eax, dword [0x51d740]
call fcn.004049cc
call fcn.00404660
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4236d8]
call fcn.004089cc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423848
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423811
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x51d6c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x520c50]
call fcn.00408ac0
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423834
lea eax, [ebp - 4]
mov edx, dword [0x4236d8]
call fcn.004089d8
ret

Function at 0x42488c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x424962
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f90
lea eax, [ebp - 4]
call fcn.00407124
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004076b0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42494c
mov eax, ebx
call fcn.004044ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424945
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004076b0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42492f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424974
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42492f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42494c
mov eax, dword [ebp - 0x10]
call fcn.00404508
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424969
lea eax, [ebp - 4]
call fcn.00406b68
ret
Function at 0x42537c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00407064
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a538
mov edi, eax
cmp edi, 0x104
jbe 0x425323
mov eax, edi
add eax, eax
call fcn.004044ec
mov esi, eax
jmp 0x425325
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a538
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x425360
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42534a
mov eax, esp
cmp esi, eax
je 0x42536d
mov eax, esi
call fcn.00404508
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4253a8
cmp bl, 0
je 0x4253a4
cmp bl, 0x41
jl 0x42539f
cmp bl, 0x5a
jg 0x42539f
or bl, 0x20
xor al, bl
inc esi
jmp 0x425383
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4252e4

Function at 0x425bb0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407744
add esp, 0x800
pop ebx
ret

Function at 0x450564
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x450602
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4505c6
cmp byte [ebx + 0x10], 0
jne 0x4505c6
cmp byte [ebx + 0x3c], 0
jne 0x4505c6
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4505e7
lea edx, [ebp - 4]
mov eax, dword [0x51d9a4]
call fcn.0040a4a4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43e82c]
call fcn.00423858
call fcn.0040629c
jmp 0x4505e7
lea edx, [ebp - 8]
mov eax, dword [0x51d9a4]
call fcn.0040a4a4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43e82c]
call fcn.00423858
call fcn.0040629c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450609
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406bc8
ret

Function at 0x450f04
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x450f52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0045049c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450f6b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret