joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447ab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x447afc
mov eax, esi
call fcn.0042f958
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x447afc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x447afc
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x447c3b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x447b3c
cmp eax, 0x108
ja 0x447b3c
mov eax, esi
call fcn.0042f958
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x447c32
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x447c3b
jmp 0x447c32
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x447c1b
cmp eax, 0x20a
ja 0x447c1b
test byte [esi + 0x50], 0x80
jne 0x447b6e
sub eax, 0x203
je 0x447b6b
sub eax, 3
je 0x447b6b
sub eax, 3
jne 0x447b6e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x447b82
dec eax
je 0x447b97
dec eax
je 0x447bb4
dec eax
je 0x447b97
jmp 0x447bbb
mov ecx, ebx
mov eax, dword [0x454024]
mov eax, dword [eax]
mov edx, esi
call fcn.00438f80
jmp 0x447c32
cmp byte [esi + 0x5d], 1
jne 0x447bad
mov eax, esi
mov si, 0xffed
call fcn.004032f8
jmp 0x447c3b
or word [esi + 0x54], 1
jmp 0x447c32
and word [esi + 0x54], 0xfffe
jmp 0x447c32
mov eax, dword [0x455b7c]
cmp byte [eax + 0x20], 0
je 0x447c32
mov eax, dword [0x455b7c]
cmp dword [eax + 0x1c], 0
je 0x447c32
mov eax, dword [ebx]
mov edx, dword [0x455b7c]
cmp eax, dword [edx + 0x1c]
jne 0x447c32
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042f89c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032f8
jmp 0x447c3b
cmp eax, 0xb00b
jne 0x447c32
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004463ec
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b1a8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44b1c4
cmp dword [esi + 4], 0
je 0x44b1f1
test byte [ebx + 0x55], 1
jne 0x44b1e3
mov eax, ebx
call fcn.00449d48
test eax, eax
jne 0x44b1e3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44b301
mov edx, esi
mov eax, ebx
call fcn.0044accc
jmp 0x44b301
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44b2fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044d018
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004479e4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044b1a8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044d018
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b301
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4518d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x454188]
cmp byte [eax + 0xc], 0
je 0x451a3d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451a36
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455bd0], 0
jne 0x451924
push 0x451a44
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x451a4c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bd0], eax
cmp dword [0x453d8c], 0
jne 0x451a1f
push 0x451a5c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453d8c], eax
cmp dword [0x453d8c], 0
je 0x451a1f
push 0x451a68
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bd4], eax
push 0x451a78
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bd8], eax
push 0x451a8c
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bdc], eax
push 0x451aa4
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455be0], eax
push 0x451abc
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455be4], eax
push 0x451ad0
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455be8], eax
push 0x451ae8
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bec], eax
push 0x451b00
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bf0], eax
push 0x451b1c
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bf4], eax
push 0x451b28
mov eax, dword [0x453d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bf8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451a3d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a5b40b9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x36fa6795
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x66142b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x66142bcb
cmp byte [esi + ebx - 1], 0xa
je 0x66142b9f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x66144118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4070d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4070e3
pop dword [ebp - 0x1c]
mov eax, 0x4070e3
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x5a2a3c4c
sub dword [ebp - 0x2c], 0xbd7f701
mov dword [ebp - 0x28], 0x683c5bd0
sub dword [ebp - 0x28], 0x36090f8b
mov dword [ebp - 0x24], 0x931b50fe
add dword [ebp - 0x24], 0xb930f330
mov dword [ebp - 0x20], 0x29301abb
sub dword [ebp - 0x20], 0x29301abb
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xc37bf0b4
sub eax, 0xc33b6fb0
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x5188a0b6
sub dword [ebp - 0x2c], 0xdd163760
mov dword [ebp - 0x28], 0x5838590
sub dword [ebp - 0x28], 0xc417241b
mov dword [ebp - 0x24], 0x49ac91fc
sub dword [ebp - 0x24], 0xe63d2590
mov dword [ebp - 0x20], 0xe9b775f3
sub dword [ebp - 0x20], 0xe9b775f3
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3680c
push 0
call eax
mov ecx, 0x70f0b402
sub ecx, 0x70f06e3a
mov edi, eax
mov edx, 0x457200
add edx, dword [ebp - 0x1c]
mov esi, 0xf5aeac93
xor dword [ebp - 0x14], eax
mov ebx, dword [edx]
add dword [ebp - 0x14], ecx
sub ebx, esi
xor dword [ebp - 0x18], esi
mov dword [edi], ebx
add dword [ebp - 0x10], 0x1f97a5a6
add edi, 0xb434a198
sub edi, 0xb434a194
add edx, 0x6f6c976
add edx, 0xf909368e
loop 0x4071ef
add eax, 0x109f3
xor ebx, ebx
add ebx, eax
add eax, 0x5a30d861
sub eax, 0x5a30d85c
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10004820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004829
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004849
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10005590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10005599
pop esi
pop ebp
ret 8

Function at 0x100055b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055b9
pop esi
pop ebp
ret 4

Function at 0x100055d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055d9
pop esi
pop ebp
ret 8

Function at 0x100184b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1017c928]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1017f7a8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018588
push esi
push 0x55
pop esi
push esi
push 0x1017f7b0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018572
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a6450
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x1017f7b0], 0x5f
mov cl, 0x2d
je 0x10018512
mov cl, byte [eax*2 + 0x1017f7b0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001851f
inc eax
cmp eax, esi
jl 0x100184fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call fcn.100dd77c
mov esi, eax
pop ecx
test esi, esi
je 0x10018572
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.100dd77c
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001856b
push 0x10017d70
push 0x15
mov byte [eax + esi], bl
mov dword [0x1017f7a8], esi
mov byte [0x1017f7ac], 1
call fcn.100dd77c
pop ecx
jmp 0x10018571
push esi
call fcn.100dd77c
pop ecx
mov ecx, dword [0x1017f7a8]
mov eax, 0x100fbd80
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x1017f7a8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100814c9
leave
ret
Function at 0x10019a90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x1017c928]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x354]
push edi
push 0x1b0
push ebx
push eax
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], bx
mov word [ebp - 0x35c], bx
mov byte [ebp - 0x35a], bl
call fcn.100a6450
mov esi, 0x80
lea eax, [ebp - 0x10c]
push esi
push ebx
push eax
call fcn.100a6450
push esi
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.100a6450
add esp, 0x24
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.kernel32.dll_GetDynamicTimeZoneInformation]
cmp eax, 0xffffffff
je 0x10019ba3
push 0x10
call dword [sym.imp.kernel32.dll_GetUserGeoID]
push ebx
push 3
lea ecx, [ebp - 0xc]
push ecx
push 4
push eax
call dword [sym.imp.kernel32.dll_GetGeoInfoW]
mov edi, eax
lea eax, [ebp - 0x358]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x35c]
push 3
push eax
call fcn.100dd77c
lea eax, [ebp - 0x358]
push eax
push str.windowsZones
push ebx
call fcn.100dd77c
mov esi, eax
lea eax, [ebp - 0x358]
push eax
push esi
push str.mapTimezones
push esi
call fcn.100dd77c
lea eax, [ebp - 0x358]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2a8]
push eax
push ebx
lea eax, [ebp - 0x10c]
push 0x80
push eax
call fcn.100dd77c
add esp, 0x4c
cmp dword [ebp - 0x358], ebx
jle 0x10019bb4
test esi, esi
je 0x10019ba3
push esi
call fcn.100dd77c
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100814c9
leave
ret
cmp word [ebp - 0x2a8], bx
je 0x10019c99
lea ecx, [ebp - 0x1a4]
call sym.icucnv67.dll_public:_void___thiscall_icu_67::StackUResourceBundle::constructor_void_
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.100dd77c
add esp, 0x10
cmp dword [ebp - 0x358], ebx
jg 0x10019c8e
test edi, edi
je 0x10019c24
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.100dd77c
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x10019c4e
lea eax, [ebp - 0x358]
mov dword [ebp - 0x358], ebx
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x1a4]
push 0x100fdd94
push eax
call fcn.100dd77c
add esp, 0x10
mov ecx, eax
cmp dword [ebp - 0x358], ebx
jg 0x10019c8e
movzx eax, word [ecx]
mov edx, ebx
test ax, ax
je 0x10019c87
mov edi, eax
cmp di, 0x20
je 0x10019c7f
mov al, byte [ecx]
add ecx, 2
mov byte [ebp + edx - 0x8c], al
inc edx
movzx eax, word [ecx]
mov edi, eax
test ax, ax
jne 0x10019c62
cmp edx, 0x80
jae 0x10019cc2
mov byte [ebp + edx - 0x8c], bl
lea ecx, [ebp - 0x1a4]
call sym.icucnv67.dll_public:_void___thiscall_icu_67::StackUResourceBundle::destructor_void_
cmp byte [ebp - 0x8c], bl
je 0x10019cb0
lea eax, [ebp - 0x8c]
push eax
call fcn.100dd77c
pop ecx
mov ebx, eax
test esi, esi
je 0x10019cbb
push esi
call fcn.100dd77c
pop ecx
mov eax, ebx
jmp 0x10019ba5
call fcn.100dd77c
int3
Function at 0x1004fc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
test eax, eax
jle 0x1004fc67
mov ebx, dword [edi + 4]
movzx edx, byte [ebp + 8]
mov ecx, dword [ebx + esi*8]
mov ebx, dword [ebx + esi*8 + 4]
movzx eax, cl
dec ebx
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, ecx
test eax, 0xffffff00
jne 0x1004fc52
cmp dword [ebp - 4], edx
ja 0x1004fc5e
jmp 0x1004fc57
cmp dword [ebp - 4], edx
jbe 0x1004fcab
movzx eax, bl
cmp edx, eax
jbe 0x1004fcab
mov ebx, dword [edi + 4]
inc esi
cmp esi, dword [ebp - 8]
jl 0x1004fc32
lea ecx, [edi - 4]
call sym.icucnv67.dll_private:_signed_char___thiscall_icu_67::UnicodeSet::hasStrings_void_const
test al, al
je 0x1004fca2
mov eax, dword [edi + 0x28]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x1004fca2
movzx ebx, byte [ebp + 8]
push esi
mov ecx, eax
call fcn.100dd77c
push 0
mov ecx, eax
call fcn.100dd77c
movzx eax, al
cmp eax, ebx
je 0x1004fcab
mov eax, dword [edi + 0x28]
inc esi
cmp esi, dword [eax + 4]
jl 0x1004fc81
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov al, 1
jmp 0x1004fca4
Function at 0x401330
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040164c
test esi, esi
jne 0x401366
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00401738
jmp 0x401384
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00401244
mov edi, eax
test esi, esi
je 0x401384
cmp dword [ebx], 0
je 0x401384
dec esi
jmp 0x40136d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402238
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401780
xor eax, eax
push ebp
push 0x4022c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00401790
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4022b1
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov dword [esi], eax
mov eax, dword [esi]
call fcn.00401100
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4022ce
lea eax, [ebp - 4]
call fcn.0040164c
ret

Function at 0x402368
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, edi
call fcn.00401cf8
mov esi, eax
push esi
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x402340]
call fcn.00401eb4
add esp, 4
mov edx, esi
dec edx
test edx, edx
jl 0x4023b1
inc edx
xor eax, eax
mov ecx, esi
sub cl, al
xor cl, byte [edi + eax]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [ebx + eax], cl
inc eax
dec edx
jne 0x40239e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x401010
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
xor eax, eax
push edi
mov ecx, eax
mov bl, 8
shl ecx, 8
movzx edi, cx
nop
lea edx, [edi + edi]
mov ecx, edx
xor ecx, 0x1021
test di, di
movzx esi, cx
movzx ecx, dx
cmovns esi, ecx
movzx ecx, si
mov edx, ecx
mov edi, ecx
add bl, 0xff
jne 0x401020
mov word [eax*2 + 0x408578], dx
inc eax
cmp eax, 0x100
jl 0x401015
pop edi
pop esi
pop ebx
ret

Function at 0x401060
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
mov eax, pe_overlay
test edi, edi
jle 0x401091
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, ax
shr ecx, 8
xor edx, ecx
shl eax, 8
xor ax, word [edx*2 + 0x408578]
movzx eax, ax
cmp esi, edi
jl 0x401072
pop edi
pop esi
pop ebx
ret
Function at 0x401ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x401d0c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x401d2e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x401d30
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x401db5
jg 0x401d45
test esi, esi
je 0x401db5
test ecx, ecx
jl 0x401d8e
jg 0x401d4f
test eax, eax
je 0x401d8e
cmp edi, ecx
jg 0x401d63
jl 0x401d59
cmp esi, eax
jae 0x401d63
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x401d91
mov edx, dword [ebp + 8]
test edi, edi
jl 0x401db5
jg 0x401d9b
test esi, esi
je 0x401db5
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x401db5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc