joyce8/EMBER2024-capa huggingface dataset:
Function at 0x548c30
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x548c4f
or eax, 0xffffffff
jmp 0x548c7b
push esi
push 0xc009
push 0x2b4
lea ecx, [ebp - 0x2b8]
or esi, 0xffffffff
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
cmovne esi, dword [ebp - 0x2b4]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca888
leave
ret 8

Function at 0x548c89
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x60f737
call fcn.005cade7
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x548e11
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x548de3
sub eax, 1
je 0x548d08
sub eax, 1
je 0x548ce0
sub eax, 1
je 0x548d08
push 0x66d1c4
mov ecx, edi
call fcn.00422dc0
mov eax, edi
call fcn.005cad96
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x548cca
lea eax, [ebp - 0x4e8]
push eax
jmp 0x548ccf
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x548cca
push esi
lea eax, [ebp - 0x448]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x448], xmm0
push eax
movlpd qword [ebp - 0x440], xmm0
movlpd qword [ebp - 0x438], xmm0
call fcn.005425f1
test eax, eax
je 0x548cca
lea ecx, [ebp - 0x700]
call fcn.00410470
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x548d99
test byte [ebp - 0x428], 0x18
jne 0x548dbb
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x617acc]
mov ecx, ebx
call esi
jmp 0x548dbb
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x617acc]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.004123f0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.0040c6c0
jmp 0x548cd6
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x548cca
lea eax, [ebp - 0x6f0]
jmp 0x548d05
call fcn.004833e2
int3

Function at 0x548f76
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005b0cee
call fcn.004a48bc
cmp dword [eax + 0x14], 0
jne 0x548f91
mov ecx, esi
pop esi
jmp fcn.005482b3
pop esi
ret
Function at 0x5540f2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x554151
cmp dword [ebp + 0xc], 0
mov edx, 0xc009
mov eax, 0x400b
cmove eax, edx
push eax
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
or ecx, 0xffffffff
test eax, eax
cmovne ecx, dword [ebp - 0x2b4]
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca888
leave
ret 8
call fcn.004833e2
int3

Function at 0x554157
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x5541c1
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x5541a6
lea eax, [ebp - 0x2ac]
push eax
jmp 0x5541ab
push 0x630bc0
call fcn.00422dc0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005ca888
leave
ret 8
call fcn.004833e2
int3

Function at 0x55469f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0040f5d0
call fcn.004a48bc
cmp dword [eax + 0x14], 0
jne 0x5546ba
mov ecx, esi
pop esi
jmp fcn.00553f02
pop esi
ret
Function at 0x55d49c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x55d623
je 0x55d64a
sub eax, 0xa1
je 0x55d64a
sub eax, 1
je 0x55d64a
dec eax
sub eax, 1
je 0x55d64a
sub eax, 1
je 0x55d64a
dec eax
sub eax, 1
je 0x55d64a
sub eax, 1
je 0x55d64a
sub eax, 0x58
jne 0x55d688
cmp dword [edi + 0xc0], 0xffffffff
je 0x55d64a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x55d64a
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x55d578
sub eax, 1
jne 0x55d64a
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x55d567
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
test eax, eax
jne 0x55d5c4
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x55d53d
jmp 0x55d6a2
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x55d6a2
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
test eax, eax
jne 0x55d5c4
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x55d58f
jmp 0x55d6a2
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0048dea4
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x55d6a2
sub eax, 0x200
je 0x55d64a
sub eax, 1
je 0x55d64a
sub eax, 1
je 0x55d64a
dec eax
sub eax, 1
je 0x55d64a
sub eax, 1
je 0x55d64a
dec eax
sub eax, 1
je 0x55d64a
sub eax, 1
jne 0x55d688
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x55d669
cmp dword [eax + 0x20], ebx
je 0x55d669
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x55d688
cmp dword [eax + 0x20], ebx
je 0x55d688
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x55d6a7
lea eax, [edi + 0x2250]
test eax, eax
je 0x55d69e
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x55d6a7
xor eax, eax
inc eax
jmp 0x55d6af
push esi
mov ecx, edi
call fcn.004ede73
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x56820c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x568239
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x56824e
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x56824e
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0048809a
jmp 0x56831f
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0048809a
cmp eax, edi
jne 0x568329
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x5682bb
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x5682ff
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x568329
cmp eax, 0x205
je 0x568329
cmp eax, 0x201
je 0x568329
cmp eax, 0x204
je 0x568329
cmp eax, 0x100
jne 0x5682e7
cmp dword [ebp - 0x18], 0x1b
je 0x568329
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x56831f
ja 0x568318
cmp eax, dword [0x6b1394]
jbe 0x56831f
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x568270
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x56932a
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x569360
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.00483f10
test eax, eax
je 0x569348
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x570738
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x6a2838], 0
push esi
push edi
je 0x5707c0
cmp dword [0x6a2a6c], 0xfffffffe
jne 0x5707ac
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x5707c0
mov edi, 0x6b13c4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x6b13dc], 0
jne 0x5707c4
push 0
push 0
push 0x5707ca
call fcn.005deb42
add esp, 0xc
mov dword [0x6b13dc], eax
test eax, eax
je 0x57079c
cmp eax, 0xffffffff
je 0x57079c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x6a2a6c], esi
jmp 0x5707a3
and dword [0x6b13dc], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x5707c0
mov eax, dword [ebp + 8]
mov dword [0x6a2a6c], eax
cmp eax, 0xffffffff
jne 0x5707c0
and dword [0x6b13dc], 0
pop edi
pop esi
pop ebp
ret
call fcn.004833e2
int3
Function at 0x57726a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.0048d99f
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.00487ca7
mov esi, eax
push 2
pop eax
test edi, 0x1000
je 0x5772df
cmp esi, 3
push eax
cmove esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x5772dc
xor eax, eax
jmp 0x577333
push 2
pop eax
push 0xa
pop edi
cmp esi, edi
jl 0x5772eb
cmp esi, 0x11
jle 0x5772f0
cmp esi, 4
jne 0x577331
test dword [ebp - 0x18], 0x800
jne 0x577333
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test dword [ebp - 0x18], 0x200
je 0x577331
mov eax, esi
sub eax, 4
je 0x577372
sub eax, 9
je 0x577362
sub eax, 1
je 0x577352
dec eax
sub eax, 1
je 0x577344
sub eax, 1
je 0x577372
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca888
leave
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
push 0xf
pop ecx
cmovg edi, ecx
jmp 0x57736e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x577333
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x10]
push 0xc
pop eax
cmovl edi, eax
mov eax, edi
jmp 0x577333
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
push 0xb
pop eax
push 0xf
pop edx
cmovg eax, edx
jmp 0x577333
Function at 0x5869a6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x18], eax
cmp edi, 0x20
jne 0x586a12
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov ecx, esi
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x17
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00587841
mov ecx, esi
call fcn.00586d10
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x586a5e
push ebx
xor ebx, ebx
cmp dword [esi + 0x318], ebx
jne 0x586a2e
cmp edi, 0x79
je 0x586a27
cmp edi, 0x12
jne 0x586a2a
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x586a5d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
cmp edi, 0x12
je 0x586a6e
cmp edi, 0x79
je 0x586a6e
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005ca888
leave
ret 0xc
cmp dword [0x6b1278], ebx
jne 0x586a5b
test byte [esi + 0x330], 2
jne 0x586a5b
cmp edi, 0x12
je 0x586a97
cmp edi, 0x79
jne 0x586a5b
mov ecx, 0x8000
test dword [ebp - 0x20], ecx
jne 0x586a5b
test ecx, eax
jne 0x586a5b
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0048809a
cmp eax, esi
jne 0x586aba
test dword [ebp + 0x10], 0x40000000
jne 0x586aba
cmp edi, 0x79
jne 0x586ac8
mov ecx, dword [ebp - 0x18]
jmp 0x586ac1
cmp edi, 0x79
jne 0x586ac8
mov ecx, esi
call fcn.0048dea4
jmp 0x586ae4
cmp dword [esi + 0x2d4], ebx
jge 0x586ae4
push ebx
push 0xc8
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x586a5d
Function at 0x59e3b3
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x606ae2
call fcn.005cadb4
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x59e49a
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x59e49a
cmp esi, 0x43
je 0x59e3f5
cmp esi, 0x2d
jne 0x59e49a
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x59e49a
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00410470
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push 0x63c1e0
push eax
call fcn.00412ed0
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x59e488
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x59e488
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040c6c0
push ebx
mov ecx, edi
call fcn.00485e8b
call fcn.005cad82
ret 4
Function at 0x5a4105
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.005e537a
pop ecx
test eax, eax
jne 0x5a4147
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.0049d724
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5a410d
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 0x5cb84e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5cb88d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5cb88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5cb88d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5cb88d
cmp dword [ecx + 0x74], 0xe
jbe 0x5cb88d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5cc159
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x5cc180
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x5cc183
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.005cc135
pop esi
leave
ret 8
Function at 0x5e02db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.005cb1d0
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.005e5741
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5e031d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x5e0479
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.005cb400
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x6b2190]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.005f089e
mov ecx, dword [esi*4 + 0x6b2190]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x5e0472
cmp eax, dword [ecx + edi + 0x24]
jne 0x5e0472
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5e0472
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005f089e
add esp, 0x14
test edx, edx
jl 0x5e0472
jg 0x5e03e8
test eax, eax
jb 0x5e0472
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x5e0472
jl 0x5e0402
cmp dword [ebp - 0x1008], eax
ja 0x5e0472
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5e0420
test ebx, ebx
je 0x5e0459
cmp ecx, edi
jae 0x5e0459
mov al, byte [ecx]
cmp al, 0xd
jne 0x5e043a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5e0446
cmp byte [ecx + 1], 0xa
jne 0x5e0446
inc ecx
jmp 0x5e0446
movzx eax, al
movsx eax, byte [eax + 0x6a3618]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5e0420
cmp edx, ebx
jne 0x5e0420
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x5e0477
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005ca888
leave
ret
Function at 0x5ef536
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x667d68
push 0x667d60
push str.FlsAlloc
push 0x1f
call fcn.005ef361
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ef56a
push dword [ebp + 8]
mov ecx, esi
call dword [0x617acc]
call esi
jmp 0x5ef570
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5ef5b4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x667d78
push 0x667d70
push str.FlsGetValue
push 0x21
call fcn.005ef361
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ef5eb
push dword [ebp + 8]
mov ecx, esi
call dword [0x617acc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5ef5f3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x667d80
push 0x667d78
push str.FlsSetValue
push 0x22
call fcn.005ef361
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ef62d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x617acc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5efd36
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x6b2190]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5efd76
cmp byte [ebx], 0xa
jne 0x5efd76
or byte [edi + eax + 0x28], 4
jmp 0x5efd7b
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x5efe7a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x5efe5d
inc eax
cmp dl, 0xd
je 0x5efda7
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x5efdcd
cmp eax, ecx
jae 0x5efddb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x5efd8f
jmp 0x5efe7a
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5efe58
cmp dword [ebp - 0x10], 0
je 0x5efe58
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x6b2190]
test byte [eax + edi + 0x28], 0x48
je 0x5efe32
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x5efe1d
mov byte [esi], dl
jmp 0x5efe2e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x6b2190]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x5efe7a
cmp byte [ebp - 1], 0xa
jne 0x5efe41
cmp esi, ebx
jne 0x5efe41
mov byte [esi], 0xa
jmp 0x5efe79
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.005f08bc
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x5efe7a
mov byte [esi], 0xd
jmp 0x5efe79
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x6b2190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x5efe77
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x5efe7a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret