joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4873b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x48740e
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4873e7
call fcn.0046d8e2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4873fc
call fcn.0046d8e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x48740e
call fcn.0046d8e2
call fcn.004283a6
cmp dword [eax + 0x3c], 0
je 0x487423
push edi
mov ecx, ebx
call fcn.00486adb
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00487609
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x48744c
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x487458
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48b94d
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x58f2b3
call fcn.005684d9
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041d676
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5cea7c
call fcn.004208a3
cmp eax, 0xffffffff
jne 0x48ba28
push 0
push 0x5cfd08
lea ecx, [ebp - 0x4d0]
call fcn.004208a3
cmp eax, 0xffffffff
jne 0x48ba28
push 0
push 0x59ba9c
lea ecx, [ebp - 0x4d0]
call fcn.004208a3
cmp eax, 0xffffffff
jne 0x48ba28
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041d676
add eax, 0x10
pop ecx
mov dword [ebp - 0x4d8], eax
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0x218]
push ecx
push 0x104
push edx
push eax
lea edi, [eax - 0x10]
push edx
mov dword [ebp - 0x4d4], edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x48b9f7
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x59a9ec]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00416cf0
jmp 0x48ba61
lea eax, [ebp - 0x218]
push eax
call fcn.005749c6
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0041e712
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00416cf0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x48ba4e
mov edi, dword [ebp - 0x4cc]
jmp 0x48ba61
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x59a9ec]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00416cf0
mov eax, edi
call fcn.00568488
ret
Function at 0x51854d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0045f3cb
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x518589
call fcn.0051876a
mov dword [esi + 0xc], 1
jmp 0x51858e
call fcn.0051876a
cmp dword [esi], 0
je 0x5185d9
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x5185b4
push edi
call fcn.00427b8d
lea ecx, [edi + 1]
push ecx
jmp 0x5185c3
push 0xff
call fcn.0041e1cf
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00423607
pop edi
jmp 0x5185fd
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x5185fd
push dword [esi]
push dword [ebp - 4]
call fcn.0046a441
pop esi
leave
ret 0xc

Function at 0x5186c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0051876a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x518709
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00427b8d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00423607
jmp 0x518714
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046a441
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x519a85
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0057957f
pop ecx
test eax, eax
jne 0x519ac7
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00423892
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x519a8d
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x57e0ab
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c9c68
push 0x5c9c60
push str.FlsAlloc
push 0x1e
call fcn.0057df29
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57e0df
push dword [ebp + 8]
mov ecx, esi
call dword [0x59a9ec]
call esi
jmp 0x57e0e5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x57e129
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c9c78
push 0x5c9c70
push str.FlsGetValue
push 0x20
call fcn.0057df29
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57e160
push dword [ebp + 8]
mov ecx, esi
call dword [0x59a9ec]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x58064a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5f3004]
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 0x580695
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005807e9
test al, al
jne 0x58068f
sub edx, 2
cmp edx, edi
jne 0x580675
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x5806b7
lea eax, [edi + 2]
cmp edx, eax
je 0x5806b7
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00580596
add esp, 0x10
jmp 0x5807b1
push esi
lea ecx, [ebp - 0x255]
call fcn.005807e9
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 0x5806fa
push dword [ebp - 0x25c]
jmp 0x5806a7
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 0x580737
cmp word [ebp - 0x226], 0
je 0x580758
cmp word [ebp - 0x226], ax
jne 0x580737
cmp word [ebp - 0x224], 0
je 0x580758
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00580596
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x5807a4
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x580711
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x58078c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x5807b1
push 0x5802f7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00571540
add esp, 0x10
jmp 0x580781
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.00567dde
leave
ret
Function at 0x581267
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x581304
push ebx
push esi
call fcn.00581230
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00581179
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5812b1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x581303
push edi
push eax
call fcn.0057cf72
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5812d1
call fcn.0057afdd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x581302
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00581179
add esp, 0x20
test eax, eax
jne 0x5812f0
push edi
call fcn.0057afdd
jmp 0x5812f8
push ebx
call fcn.0057afdd
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x581307
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x581318
pop esi
ret
push ebx
push edi
push esi
call fcn.00581230
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0057cf72
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x581340
push ebx
push esi
push edi
call fcn.00569cc0
add esp, 0xc
push 0
call fcn.0057afdd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x581a8c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005815b3
Function at 0x4089f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408eb4
mov byte [esp], al
cmp byte [esp], 0
jne 0x408b7d
test edi, edi
je 0x408b7d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408abd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408a98
cmp edi, 0xffffffff
je 0x408a59
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408a59
mov byte [esp], 0
jmp 0x408b7d
cmp dword [esi], 1
jg 0x408a98
cmp dword [esi], 0
jne 0x408a8a
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408a8a
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408b7d
lea eax, [esp + 0xc]
call fcn.004086a4
dec ebp
test ebp, ebp
jg 0x408a3e
cmp edi, 0xffffffff
je 0x408abd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408abb
mov byte [esp], 0
jmp 0x408b7d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408a02
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408abd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408bf8
mov edx, eax
mov ebx, dword [0x4d58f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408b21
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408b1f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408b21
xor edi, edi
cmp byte [esp], 0
je 0x408b47
mov ebx, dword [esi]
test bl, 1
jne 0x408b5d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408b27
mov byte [esp + 1], 1
jmp 0x408b5d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408b47
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408ad4
cmp byte [esp], 0
je 0x408b7d
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409a44
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d5058], 0
je 0x409aab
cmp word [0x4d5344], 0xd7b2
jne 0x409a6d
cmp dword [0x4d534c], 0
jbe 0x409a6d
mov eax, 0x4d5340
call dword [0x4d535c]
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, 0x409ad8
call fcn.0040a5c4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d1036], 0
jne 0x409ac7
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x41fc7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41fcd5
test eax, edx
je 0x41fcd8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41fc93
movzx eax, word [eax]
sub eax, ecx
jmp 0x41fcba
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x41fcbb
add ecx, 4
js 0x41fcab
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41fcb8
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41fcba
xor eax, eax
ret
test eax, eax
je 0x41fce4
test edx, edx
jne 0x41fc84
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4250cc
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 0x425105
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409f44
jmp 0x42510e
mov eax, ebx
mov edx, esi
call fcn.0040a19c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425118
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42513c
movzx eax, word [esp]
jmp 0x42513e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426858
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 0x42697f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426660
mov esi, eax
mov eax, dword [0x4d4bd8]
cmp byte [eax], 0
je 0x426925
mov eax, dword [0x4d4a1c]
call fcn.00407808
call fcn.004070b4
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 [0x426828]
call fcn.0040c914
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 0x426998
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426961
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d49e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d8634]
call fcn.0040ceb0
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 0x426986
lea eax, [ebp - 4]
mov edx, dword [0x426828]
call fcn.0040ca38
pop eax
jmp eax

Function at 0x428a60
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.0040a290
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040faac
mov edi, eax
cmp edi, 0x104
jbe 0x428a0b
mov eax, edi
add eax, eax
call fcn.00406f40
mov esi, eax
jmp 0x428a0d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040faac
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x428a46
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 0x428a30
mov eax, esp
cmp esi, eax
je 0x428a53
mov eax, esi
call fcn.00406f5c
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 0x428a8c
cmp bl, 0
je 0x428a88
cmp bl, 0x41
jl 0x428a83
cmp bl, 0x5a
jg 0x428a83
or bl, 0x20
xor al, bl
inc esi
jmp 0x428a67
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4289cc

Function at 0x429384
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.0040a8ac
add esp, 0x800
pop ebx
ret
Function at 0x42bd94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42bdb4
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42bdce
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42bdc9
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42bdd3
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42be41
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42be8a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42bdff
inc dword [ebp - 0xc]
jmp 0x42be17
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42be17
cmp dword [ebp - 0xc], 0
jle 0x42be17
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42be39
xor eax, eax
jmp 0x42be35
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42be34
mov eax, esi
jmp 0x42be8d
inc eax
cmp eax, ecx
jle 0x42be21
inc esi
cmp esi, dword [ebp - 8]
jl 0x42bdeb
jmp 0x42be8a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42be8a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42be62
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42be84
xor eax, eax
jmp 0x42be80
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42be7f
mov eax, esi
jmp 0x42be8d
inc eax
cmp eax, ecx
jle 0x42be6c
inc esi
cmp esi, dword [ebp - 8]
jl 0x42be4a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c07c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c09b
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c0ab
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c1cd
test ebx, ebx
jl 0x42c1cd
test esi, esi
jle 0x42c1cd
mov eax, dword [ebp - 8]
call fcn.0040a810
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040a810
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42c16a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c1cd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c14f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c11e
inc dword [ebp - 0x14]
jmp 0x42c12e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c12e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c139
or eax, 0xffffffff
jmp 0x42c14f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c14c
inc eax
jmp 0x42c14f
or eax, 0xffffffff
test eax, eax
jl 0x42c157
cmp esi, eax
jg 0x42c10c
cmp esi, eax
jg 0x42c162
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c1d0
inc edx
dec dword [ebp - 0x1c]
jne 0x42c108
jmp 0x42c1cd
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c1cd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c1b4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c193
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c19e
or eax, 0xffffffff
jmp 0x42c1b4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c1b1
inc eax
jmp 0x42c1b4
or eax, 0xffffffff
test eax, eax
jl 0x42c1bc
cmp esi, eax
jg 0x42c17c
cmp esi, eax
jg 0x42c1c7
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c1d0
inc edx
dec dword [ebp - 0x1c]
jne 0x42c178
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b0a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x43b0ac
mov eax, edx
pop esi
pop ebx
ret

Function at 0x43dcf8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43dd0f
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43dcff
mov eax, ecx
pop ebx
ret