joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c45c950
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x1c45ca57
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [0x1c4bd940], 0
mov dword [0x1c4bdba4], eax
jne 0x1c45c9af
cmp al, 3
jne 0x1c45c986
test eax, 0x80000000
je 0x1c45c986
push 2
call fcn.1c45e290
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1c45c9af
push 0x1c4b2360
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1c45c9af
push 1
call fcn.1c45e290
add esp, 4
call fcn.1c45d7c0
test eax, eax
jne 0x1c45c9bd
xor eax, eax
ret 0xc
xor edx, edx
mov ecx, dword [0x1c4bdba4]
mov dl, ch
mov eax, ecx
shr ecx, 0x10
and eax, 0xff
mov dword [0x1c4bdbb0], edx
mov dword [0x1c4bdbac], eax
shl eax, 8
mov dword [0x1c4bdba4], ecx
add eax, edx
mov dword [0x1c4bdba8], eax
call fcn.1c45d5f0
test eax, eax
jne 0x1c45c9ff
call fcn.1c45d800
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1c4c9630], eax
call fcn.1c45e100
cmp dword [0x1c4c9630], 0
mov dword [0x1c4bd930], eax
je 0x1c45ca48
test eax, eax
je 0x1c45ca48
call fcn.1c45d840
call fcn.1c45e0f0
call fcn.1c45db70
call fcn.1c45da80
call fcn.1c45d490
mov eax, 1
inc dword [0x1c4bd92c]
ret 0xc
call fcn.1c45d650
call fcn.1c45d800
xor eax, eax
ret 0xc
test eax, eax
jne 0x1c45ca94
mov eax, dword [0x1c4bd92c]
test eax, eax
jle 0x1c45ca8f
dec eax
cmp dword [0x1c4bdbdc], 0
mov dword [0x1c4bd92c], eax
jne 0x1c45ca78
call fcn.1c45d4e0
call fcn.1c45da20
call fcn.1c45d650
call fcn.1c45d800
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x1c45caa3
push 0
call fcn.1c45d710
add esp, 4
mov eax, 1
ret 0xc

Function at 0x1c45d4f0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.1c45d5b0
cmp dword [0x1c4bdbe0], 1
mov esi, dword [esp + 0x10]
jne 0x1c45d513
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x1c4bdbdc], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x1c4bdbd8], bl
jne 0x1c45d56d
cmp dword [0x1c4c962c], 0
je 0x1c45d55b
mov edi, dword [0x1c4c9628]
sub edi, 4
cmp edi, dword [0x1c4c962c]
jb 0x1c45d55b
mov eax, dword [edi]
test eax, eax
je 0x1c45d550
call eax
sub edi, 4
cmp edi, dword [0x1c4c962c]
jae 0x1c45d548
push 0x1c4b806c
push 0x1c4b8064
call fcn.1c45d5d0
add esp, 8
push 0x1c4b8074
push 0x1c4b8070
call fcn.1c45d5d0
add esp, 8
test ebx, ebx
je 0x1c45d58c
call fcn.1c45d5c0
pop edi
pop esi
pop ebx
ret
mov dword [0x1c4bdbe0], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1c45d5f0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.1c45fa70
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1c4bdbe4], eax
cmp eax, 0xffffffff
jne 0x1c45d60a
xor eax, eax
pop esi
ret
push 0x74
push 1
call fcn.1c45fc80
add esp, 8
mov esi, eax
test esi, esi
je 0x1c45d64c
push esi
mov eax, dword [0x1c4bdbe4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1c45d64c
push esi
call fcn.1c45d680
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x1c45d6a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x1c4bdbe4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x1c45d703
push 0x74
push 1
call fcn.1c45fc80
add esp, 8
mov edi, eax
test edi, edi
je 0x1c45d6f9
push edi
mov eax, dword [0x1c4bdbe4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1c45d6f9
push edi
call fcn.1c45d680
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x1c45d703
push 0x10
call fcn.1c45cb70
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret

Function at 0x1c45d710
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x1c4bdbe4], 0xffffffff
push esi
je 0x1c45d7af
mov esi, dword [esp + 8]
test esi, esi
jne 0x1c45d738
mov eax, dword [0x1c4bdbe4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1c45d7a1
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1c45d748
push eax
call fcn.1c45e4e0
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1c45d758
push eax
call fcn.1c45e4e0
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1c45d768
push eax
call fcn.1c45e4e0
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1c45d778
push eax
call fcn.1c45e4e0
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1c45d788
push eax
call fcn.1c45e4e0
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1c45d798
push eax
call fcn.1c45e4e0
add esp, 4
push esi
call fcn.1c45e4e0
add esp, 4
push 0
mov eax, dword [0x1c4bdbe4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x1c45e100
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x1c4bde34], ebx
jne 0x1c45e14f
call esi
cmp eax, ebx
mov edi, eax
je 0x1c45e12d
mov dword [0x1c4bde34], 1
jmp 0x1c45e14f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x1c45e145
mov dword [0x1c4bde34], 2
jmp 0x1c45e14f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x1c4bde34], 1
jne 0x1c45e1fe
test edi, edi
jne 0x1c45e172
call esi
mov edi, eax
test edi, edi
jne 0x1c45e172
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x1c45e18c
add esi, 2
cmp word [esi], 0
jne 0x1c45e17a
add esi, 2
cmp word [esi], 0
jne 0x1c45e17a
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x1c45e1ed
push ebp
call fcn.1c45f010
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x1c45e1ed
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1c45e1dc
push ebx
call fcn.1c45e4e0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x1c4bde34], 2
jne 0x1c45e282
test ebx, ebx
jne 0x1c45e221
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x1c45e221
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x1c45e236
inc ebp
cmp byte [ebp], 0
jne 0x1c45e228
inc ebp
cmp byte [ebp], 0
jne 0x1c45e228
sub ebp, ebx
inc ebp
push ebp
call fcn.1c45f010
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x1c45e25b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x1c45e2e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x1c4bde38
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x1c45e307
add eax, 8
inc ecx
cmp eax, 0x1c4bdec8
jb 0x1c45e2f8
cmp dword [ecx*8 + 0x1c4bde38], edx
lea ebx, [ecx*8]
jne 0x1c45e4cb
cmp dword [0x1c4bd93c], 1
je 0x1c45e487
cmp dword [0x1c4bd93c], 0
jne 0x1c45e33e
cmp dword [0x1c4bd940], 1
je 0x1c45e487
cmp edx, 0xfc
je 0x1c45e4cb
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x1c45e37b
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x1c45e3bf
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x1c4b264c
push ebp
call fcn.1c460600
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1c4b262c
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x1c4bde3c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.1c460560
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x1c4c9520], 0
je 0x1c45e49d
mov eax, dword [0x1c4c9520]
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x1c45e4a7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x1c4bde3c]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x1c4642a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x418
push ebx
push esi
push edi
push ebp
xor edi, edi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], edi
cmp ebp, edi
jne 0x1c4642c8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov edx, dword [esp + 0x42c]
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x1c4c9520
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ebx, dword [esp + 0x18]
shl eax, 2
lea ecx, [eax + eax*8]
mov eax, dword [ebx]
mov dword [esp + 0x1c], ecx
test byte [eax + ecx + 4], 0x20
je 0x1c464309
push 2
push 0
push edx
call fcn.1c464c70
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x1c4643a5
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x430]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x1c4643de
lea esi, [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x1c46436c
mov al, byte [ebx]
inc ebx
cmp al, 0xa
jne 0x1c46435a
mov byte [esi], 0xd
inc edi
inc esi
mov byte [esi], al
inc esi
mov eax, esi
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x1c464341
lea eax, [esp + 0x24]
push 0
sub esi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push esi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1c4643d4
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp eax, esi
jge 0x1c46432c
jmp 0x1c4643de
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1c4643d4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x1c4643de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x1c46448a
cmp dword [esp + 0x10], 0
je 0x1c46443a
cmp dword [esp + 0x10], 5
jne 0x1c46441d
call fcn.1c462d20
mov dword [eax], 9
call fcn.1c462d30
mov ecx, dword [esp + 0x10]
pop ebp
pop edi
mov dword [eax], ecx
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1c462ca0
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x1c464464
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x1c464464
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
call fcn.1c462d20
mov dword [eax], 0x1c
call fcn.1c462d30
pop ebp
mov dword [eax], 0
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, edi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x1c464660
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x1c4bf784]
push esi
test eax, eax
push edi
push ebp
jne 0x1c4646a8
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 1
push 0
call esi
test eax, eax
je 0x1c464688
mov eax, 1
jmp 0x1c4646ae
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1c4646a1
mov eax, 2
jmp 0x1c4646ae
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [0x1c4bf784], eax
cmp eax, 1
jne 0x1c4646d3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x1c4bf784], eax
cmp eax, 2
jne 0x1c464761
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x1c4646ef
mov edi, dword [0x1c4be878]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ebp, eax
test ebp, ebp
jne 0x1c464710
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push ebp
call fcn.1c45f010
add esp, 4
mov esi, eax
test esi, esi
jne 0x1c464726
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1c464756
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1c464766
push 0
push 0
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jne 0x1c46477e
push esi
call fcn.1c45e4e0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
je 0x1c464756
push esi
call fcn.1c45e4e0
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x1c464790
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x1c4bf788]
push esi
test eax, eax
push edi
push ebp
jne 0x1c4647d8
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 1
push 0
call esi
test eax, eax
je 0x1c4647b8
mov eax, 2
jmp 0x1c4647de
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1c4647d1
mov eax, 1
jmp 0x1c4647de
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [0x1c4bf788], eax
cmp eax, 2
jne 0x1c464803
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x1c4bf788], eax
cmp eax, 1
jne 0x1c46489f
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x1c46481f
mov edi, dword [0x1c4be878]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebp, eax
test ebp, ebp
jne 0x1c464840
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
lea eax, [ebp*2]
push eax
call fcn.1c45f010
add esp, 4
mov esi, eax
test esi, esi
jne 0x1c46485d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1c464894
mov eax, dword [esp + 0x20]
push 0
push 0
test eax, eax
jne 0x1c4648a4
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x1c4648bf
push esi
call fcn.1c45e4e0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1c464894
push esi
call fcn.1c45e4e0
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x1c46e790
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
je 0x1c46e7d0
mov esi, dword [eax + 0x18]
cmp esi, ebx
je 0x1c46e7d0
mov ecx, dword [esi]
mov esi, dword [esi + 8]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
cmp eax, 1
mov eax, ecx
cdq
sbb edi, edi
and edx, 7
inc edi
add eax, edx
sar eax, 3
add edi, eax
add ebx, edi
test esi, esi
jne 0x1c46e7a4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x1c471c40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x1c]
sub esp, 0x14
xor ecx, ecx
dec eax
mov dword [esp], eax
push ebx
mov eax, dword [esp + 0x38]
push esi
push edi
push ebp
dec eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
imul eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, edx
cmp eax, edx
jle 0x1c471cf7
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
imul esi, edx
add esi, eax
mov edx, dword [esp + 0x34]
lea eax, [edx + esi*2]
mov esi, dword [esp + 0x30]
add esi, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x1c471cde
mov ebx, eax
mov eax, dword [esp + 0x30]
add edi, 2
movsx esi, word [edi - 2]
movsx edx, word [edi + eax*2 - 2]
mov ebp, esi
sub ebp, edx
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
movsx eax, word [edi]
sub esi, eax
mov eax, esi
cdq
xor eax, edx
sub ebp, edx
add ebp, eax
add ecx, ebp
dec ebx
jne 0x1c471cae
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add edx, eax
mov ebx, dword [esp + 0x10]
dec ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
jne 0x1c471ca0
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x1c471d15
fild dword [esp + 0x20]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
fdivrp st(1)
add esp, 0x14
ret
fld qword [0x1c4b70a8]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x1c4d61c8
Capabilities:
Encode data using xor

Disassembly:
call 0x1c4d6141
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1c4d6171
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1c4d618d
xor edx, 0
jmp 0x1c4d6198
xor edx, edx
jmp 0x1c4d61af
jmp 0x1c4d61bb
xor eax, eax
push 0x8427d7c0
call 0x1c4d61c8
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1c4d6204
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1c4d61dd
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1c4d621b
add eax, 0
jno 0x1c4d6220
add esi, 0
ret 0x10

Function at 0x1c4d6f89
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1c4d6fab
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1c4d714d
cmp edi, dword [ebp + 0x10]
jb 0x1c4d714d
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1c4d6a75
inc edi
jmp 0x1c4d7034
jmp 0x1c4d7041
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1c4d6a75
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1c4d6a75
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1c4d7095
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1c4d7079
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1c4d70c3
add dword [eax], 0x39
jle 0x1c4d709f
sub al, 0xf5
mov ch, al
call fcn.1c4d70d8
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10