joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7e60
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
cmp byte [0x532a28], 0
je 0x4b7e70
ret
sub esp, 0x7c
mov dword [esp], str.GLUT_DIALS_SERIAL
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebp
call sub.msvcrt.dll_getenv
test eax, eax
je 0x4b8000
lea ebp, [esp + 0x44]
xor edx, edx
mov dword [ebp + edx], 0
add edx, 4
cmp edx, 0x1c
jb 0x4b7e9d
mov dword [esp + 0x44], 0x1c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
test eax, eax
mov esi, eax
je 0x4b808a
mov dword [esp], 0x34
call sub.msvcrt.dll_malloc
mov ecx, 0xd
mov ebx, eax
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x18]
mov dword [ebx], esi
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
lea eax, [ebx + 4]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
sub esp, 8
mov dword [esp + 0x44], 0x1c
mov dword [esp + 4], ebp
mov dword [esp], str.96_n_8_1
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
sub esp, 8
mov dword [esp + 4], ebp
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
sub esp, 8
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], 1
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov eax, dword [ebx]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, 0x20
mov eax, ebx
mov dword [0xa4fe40], ebx
sub esp, 4
call fcn.004b7c00
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4b7cb0
mov dword [esp], 0xa
call fcn.004b33d0
mov byte [0x532a28], 1
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
add esp, 0x7c
ret
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0x100
mov dword [esp + 0x28], 1
mov dword [esp + 8], eax
mov dword [esp + 4], str.SOFTWAREFreeGLUT
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
sub esp, 0xc
test eax, eax
jne 0x4b7fe7
lea eax, [esp + 0x24]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], 0xa4fe60
mov dword [esp + 8], 0
mov dword [esp + 4], str.DialboxSerialPort
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x4b8099
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xa4fe60
sub esp, 4
jmp 0x4b7e97
mov dword [0xa4fe40], 0
jmp 0x4b7fe7
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
jmp 0x4b7fe7
Function at 0x4b8160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x26c
mov dword [esp + 0x264], edi
mov edi, eax
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x260], esi
mov dword [esp + 0x268], ebp
cmp byte [eax + 0x1d0], 0
je 0x4b81b2
xor eax, eax
mov ebx, dword [esp + 0x25c]
mov esi, dword [esp + 0x260]
mov edi, dword [esp + 0x264]
mov ebp, dword [esp + 0x268]
add esp, 0x26c
ret
lea ebx, [esp + 0x50]
mov esi, dword [sym.imp.msvcrt.dll__snprintf]
lea eax, [eax + 0x70]
mov dword [esp + 0x14], str.CurrentJoystickSettings
lea ebp, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.SystemCurrentControlSetControlMediaResourcesJoystick
mov dword [esp + 8], str._s_s_s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call esi
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
mov dword [esp + 0x3c], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x4b818d
mov dword [esp + 0x10], str.OEMName
mov eax, dword [edi + 0x1c8]
mov dword [esp + 0x4c], 0x100
mov dword [esp + 8], str.Joystick_d_s
mov dword [esp + 4], 0x100
add eax, 1
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call esi
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x150]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x38], eax
call eax
sub esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], eax
call eax
sub esp, 4
test edi, edi
mov ecx, dword [esp + 0x30]
jne 0x4b818d
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.SystemCurrentControlSetControlMediaPropertiesPrivatePropertiesJoystickOEM
mov dword [esp + 8], str._s_s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call dword [esp + 0x3c]
sub esp, 0x14
test eax, eax
mov edx, dword [esp + 0x2c]
jne 0x4b818d
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov dword [esp + 0x4c], pe_nt_image_headers32
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.OEMName
mov dword [esp], eax
call dword [esp + 0x38]
sub esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x34]
xor eax, eax
sub esp, 4
test ebx, ebx
sete al
jmp 0x4b818f
Function at 0x4c18b0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x4c18c0
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x4c18bd
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret

Function at 0x4c18e0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x4c1918
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x4c190e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x4c191a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x4c1900
xor eax, eax
pop ebx
pop esi
ret

Function at 0x4c1e60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xa50344
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xa5035c]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 4
test ebx, ebx
je 0x4c1eb5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4c1eae
test esi, esi
je 0x4c1eae
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4c1e90
mov dword [esp], 0xa50344
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4c2140
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4c2174
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [0xa50364], eax
call fcn.004d2380
test eax, eax
sete al
movzx eax, al
mov dword [0x534bb4], eax
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4c2163

Function at 0x4c2210
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 4], eax
mov eax, dword [0xa50364]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4c2230
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x4c2290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x2c
mov eax, dword [0x534bb4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
test eax, eax
mov dword [esp + 0x28], ebp
js 0x4c2340
test eax, eax
jne 0x4c22e0
mov eax, dword [0xa50368]
mov dword [0xa50368], ebx
mov dword [ebx], eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [0xa50364]
call esi
mov dword [esp], ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebp, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0xa50364]
mov dword [ebx], ebp
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4c22c5
mov edx, esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
jmp edx
call fcn.004c2180
mov eax, dword [0x534bb4]
jmp 0x4c22b4

Function at 0x4c2350
Capabilities:
Set thread local storage value

Disassembly:
push ebx
sub esp, 8
mov edx, dword [0x534bb4]
mov eax, dword [esp + 0x10]
test edx, edx
mov ebx, dword [eax]
js 0x4c2380
test edx, edx
jne 0x4c2373
mov dword [0xa50368], ebx
add esp, 8
pop ebx
ret
add esp, 8
mov eax, ebx
pop ebx
jmp fcn.004c2210
call fcn.004c2180
mov edx, dword [0x534bb4]
jmp 0x4c2364

Function at 0x4c2580
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x534bb4]
mov edi, dword [esp + 0x40]
test eax, eax
js 0x4c2663
test eax, eax
mov esi, dword [0xa50368]
jne 0x4c2601
test esi, esi
mov dword [esp + 0x2c], esi
je 0x4c25f5
mov ecx, esi
lea ebx, [esp + 0x2c]
nop
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4c25e7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 4], 1
mov dword [esp], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call eax
cmp eax, 6
je 0x4c2630
cmp eax, 8
jne 0x4c2657
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x2c], ecx
jne 0x4c25b0
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov esi, dword [0xa50364]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x4c25a1
mov eax, dword [esp + 0x2c]
mov edx, ebx
mov dword [edi + 0xc], 0
mov dword [esp + 0x2c], esi
mov dword [edi + 0x10], eax
mov eax, edi
call fcn.004c20a0
cmp eax, 7
jne 0x4c25fa
mov eax, ebx
call fcn.004c2240
add esp, 0x30
mov eax, 3
pop ebx
pop esi
pop edi
ret
call fcn.004c2180
mov eax, dword [0x534bb4]
jmp 0x4c2597
Function at 0x4c2730
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x534bb4]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x4c27ab
test edx, edx
mov esi, dword [0xa50368]
jne 0x4c2785
mov ecx, dword [ebx + 0xc]
mov eax, ebx
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x1c]
mov edx, esi
test ecx, ecx
jne 0x4c2775
call fcn.004c20a0
cmp eax, 7
je 0x4c277c
nop
lea esi, [esi]
call sub.msvcrt.dll_abort
call fcn.004c2390
jmp 0x4c2766
mov eax, esi
nop
call fcn.004c2240
mov esi, dword [0xa50364]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
jmp 0x4c274e
call fcn.004c2180
mov edx, dword [0x534bb4]
jmp 0x4c2744

Function at 0x4c27c0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4c27f2
mov dword [esp], ebx
call fcn.004c2580
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add esp, 0x2c
ret
mov edx, dword [0x534bb4]
test edx, edx
js 0x4c2860
test edx, edx
mov esi, dword [0xa50368]
jne 0x4c2830
lea edx, [esp + 0x1c]
mov eax, ebx
mov dword [esp + 0x1c], esi
call fcn.004c2390
cmp eax, 7
je 0x4c2820
call sub.msvcrt.dll_abort
nop
lea eax, [esp + 0x1c]
call fcn.004c2240
lea esi, [esi]
mov esi, dword [0xa50364]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x4c2806
call fcn.004c2180
mov edx, dword [0x534bb4]
jmp 0x4c27fc

Function at 0x4c2db0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 0x1c
ret

Function at 0x4c2df0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4c2e15
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x402237
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x402249
xor eax, eax
jmp 0x40235b
cmp dword [0x4061c0], 0
je 0x402257
call fcn.004021e6
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push edi
mov ecx, 0xff
not eax
jb 0x402337
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [esi]
mov edx, eax
sub dword [ebp + 0x10], 8
and edx, ecx
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4074ac]
xor eax, ebx
inc esi
mov edx, eax
movzx ebx, byte [esi]
and edx, ecx
xor edx, ebx
movzx ebx, byte [esi + 1]
mov edx, dword [edx*4 + 0x4074ac]
shr eax, 8
xor edx, eax
inc esi
mov eax, edx
and eax, ecx
xor eax, ebx
movzx ebx, byte [esi + 1]
mov eax, dword [eax*4 + 0x4074ac]
shr edx, 8
xor eax, edx
inc esi
mov edx, eax
and edx, ecx
xor edx, ebx
movzx ebx, byte [esi + 1]
mov edx, dword [edx*4 + 0x4074ac]
shr eax, 8
xor edx, eax
inc esi
mov eax, edx
and eax, ecx
xor eax, ebx
movzx ebx, byte [esi + 1]
mov eax, dword [eax*4 + 0x4074ac]
shr edx, 8
xor eax, edx
inc esi
mov edx, eax
and edx, ecx
xor edx, ebx
movzx ebx, byte [esi + 1]
mov edx, dword [edx*4 + 0x4074ac]
shr eax, 8
xor edx, eax
inc esi
mov eax, edx
and eax, ecx
xor eax, ebx
movzx ebx, byte [esi + 1]
mov eax, dword [eax*4 + 0x4074ac]
shr edx, 8
xor eax, edx
inc esi
mov edx, eax
and edx, ecx
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4074ac]
xor eax, edx
inc esi
dec edi
jne 0x402273
pop ebx
cmp dword [ebp + 0x10], 0
je 0x402358
movzx edi, byte [esi]
mov edx, eax
and edx, ecx
xor edx, edi
shr eax, 8
mov edx, dword [edx*4 + 0x4074ac]
xor eax, edx
inc esi
dec dword [ebp + 0x10]
jne 0x40233d
not eax
pop edi
pop esi
pop ebp
ret

Function at 0x403c24
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
push esi
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x65d41bb0
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 0x65d41c0b
cmp byte [esi + ebx - 1], 0xa
je 0x65d41bdf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x65d46084], 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 0x65d42160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x65d46094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x65d42320
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x65d46094]
movzx eax, al
bt eax, esi
jae 0x65d42380
mov ecx, dword [0x65d46084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x65d42226
test byte [0x65d431e8], 8
jne 0x65d422c0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x65d431f8], 8
jne 0x65d42270
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x65d421f5
cmp esi, 3
jbe 0x65d42230
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x65d45228]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x65d421f5
mov ecx, dword [0x65d46094]
test ecx, ecx
je 0x65d42360
mov dword [esp], 0x65d431f8
call dword [0x65d46094]
test al, 8
je 0x65d421cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x65d421cc
mov ebx, dword [0x65d46094]
test ebx, ebx
je 0x65d42340
mov dword [esp], 0x65d431e8
call dword [0x65d46094]
test al, 8
je 0x65d421b9
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x65d421bf
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x65d46094
call sym._load_func.part.0
jmp 0x65d42180
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x65d46094
call sym._load_func.part.0
jmp 0x65d422ca
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x65d46094
call sym._load_func.part.0
jmp 0x65d4227e
mov eax, 0xffffffff
jmp 0x65d42226
Function at 0x4a901483
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x4a9bea94
mov ecx, dword [esp + 4]
jmp sym.icuin58.dll_public_virtual:_void____thiscall_icu_58::InitialTimeZoneRule::getDynamicClassID_void_const

Function at 0x4a901857
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x4a9a174a
adc byte [ebx + 0x74c33b00], cl
aaa

Function at 0x4a901951
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x4a9c7984
mov ecx, dword [esp + 8]
sub esp, 0x1c
cmp dword [ecx + 4], 0
push ebx
push ebp
push esi
push edi
jne 0x4a9c7b07
test byte [ecx + 8], 0xf0
jne 0x4a9c7b07
mov edx, dword [esp + 0x38]
cmp dword [edx + 4], 0
jne 0x4a9c7b07
test byte [edx + 8], 0xf0
jne 0x4a9c7b07
mov ebx, dword [esp + 0x30]
lea ebp, [ecx + 9]
mov eax, dword [ecx]
lea edi, [edx + 9]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
lea esi, [ebx + 9]
cmp eax, 0x31
jg 0x4a9c79de
movzx eax, byte [eax + 0x4aa1ba80]
dec eax
add eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
cmp eax, 0x31
jg 0x4a9c79f3
movzx eax, byte [eax + 0x4aa1ba80]
dec edi
add eax, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov edi, dword [edi]
cmp edi, 0x31
jg 0x4a9c7a0e
movzx eax, byte [edi + 0x4aa1ba80]
jmp 0x4a9c7a10
mov eax, edi
lea ecx, [esi - 1]
add ecx, eax
mov dword [esp + 0x18], ecx
cmp edi, 0x31
jg 0x4a9c7a27
movzx eax, byte [edi + 0x4aa1ba80]
jmp 0x4a9c7a29
mov eax, edi
sub edi, eax
cmp esi, ecx
ja 0x4a9c7ad5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0xa
cmp ebp, dword [esp + 0x1c]
jbe 0x4a9c7a49
xor dl, dl
jmp 0x4a9c7a4c
mov dl, byte [ebp]
cmp eax, dword [esp + 0x20]
jbe 0x4a9c7a56
xor cl, cl
jmp 0x4a9c7a58
mov cl, byte [eax]
mov al, cl
mov dword [esp + 0x34], ecx
or al, dl
mov byte [esi], 0
je 0x4a9c7abc
xor ebp, ebp
mov al, cl
xor al, dl
test al, 1
je 0x4a9c7a78
mov al, byte [ebp*4 + 0x4aa1bab4]
add byte [esi], al
movzx eax, dl
cdq
push 0xa
pop ecx
idiv ecx
mov dword [esp + 0x28], eax
mov ecx, edx
mov eax, dword [esp + 0x34]
movzx eax, al
cdq
idiv dword [esp + 0x24]
or ecx, edx
mov dword [esp + 0x34], eax
cmp ecx, 1
jg 0x4a9c7af4
cmp esi, dword [esp + 0x18]
jne 0x4a9c7aaa
mov ecx, edi
cmp ebp, ecx
je 0x4a9c7ab8
mov ecx, dword [esp + 0x34]
inc ebp
mov edx, dword [esp + 0x28]
cmp ebp, 1
jl 0x4a9c7a67
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebp
inc eax
mov dword [esp + 0x10], ebp
inc esi
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x18]
jbe 0x4a9c7a3f
sub esi, ebx
lea eax, [ebx + 9]
sub esi, 9
push esi
push eax
call fcn.4a9c1bae
and dword [ebx + 4], 0
pop ecx
mov dword [ebx], eax
mov eax, ebx
pop ecx
mov byte [ebx + 8], 0
jmp 0x4a9c7b20
push dword [esp + 0x3c]
push 0x80
push ebx
call fcn.4a9c365a
mov eax, ebx
jmp 0x4a9c7b1d
push dword [esp + 0x3c]
push 0x80
push dword [esp + 0x38]
call fcn.4a9c365a
mov eax, dword [esp + 0x3c]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4a901cee
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x4a98a3c9
push ebx
mov ebx, dword [esp + 0xc]
mov edx, ecx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, ebp
push edi
mov edi, dword [esp + 0x18]
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr eax, cl
and eax, 0xff
add edi, eax
mov eax, dword [edx + ebx*4 + 0x18]
cmp edi, eax
jbe 0x4a98a448
push esi
lea esi, [ebx + 1]
lea esi, [edx + esi*4]
mov dword [esp + 0x18], esi
mov esi, dword [esi]
sub eax, esi
sub edi, esi
lea ecx, [eax + 1]
mov eax, edi
cdq
idiv ecx
mov edi, eax
lea eax, [esi + edx]
push eax
push ebx
push ebp
call fcn.4a98a63b
mov esi, dword [esp + 0x24]
add esp, 0xc
dec ebx
mov ebp, eax
sub esi, 4
mov edx, ebp
mov dword [esp + 0x18], esi
push 4
pop ecx
mov eax, dword [esi + 0x14]
sub ecx, ebx
shl ecx, 3
shr edx, cl
and edx, 0xff
add edi, edx
cmp edi, eax
ja 0x4a98a400
pop esi
push edi
push ebx
push ebp
call fcn.4a98a63b
add esp, 0xc
pop edi
pop ebp
pop ebx
ret 0xc

Function at 0x4a90213a
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x4a9bea5b
mov ecx, dword [esp + 4]
jmp sym.icuin58.dll_public_virtual:_class_icu_58::InitialTimeZoneRule____thiscall_icu_58::InitialTimeZoneRule::clone_void_const