joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001341b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10002830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x1001354d
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.MSO.dll_Ordinal_6137]
cmp eax, 0xffffffff
je 0x1001346d
test al, 0x10
je 0x1001346d
push 0x103
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.100046a1
jmp 0x100134da
call fcn.100046a1
xor eax, eax
push eax
push eax
push eax
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.msvcr100.dll__wsplitpath_s]
lea eax, [ebp - 0x20c]
push eax
call fcn.100046a1
add esp, 0x28
test eax, eax
je 0x100134a0
dec eax
add eax, eax
cmp eax, 0x200
jae 0x10013468
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
mov esi, 0x103
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100046a1
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x100134f9
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.100046a1
neg eax
sbb eax, eax
and eax, 0xfffffc16
jmp 0x10013552
lea eax, [ebp - 0x414]
push eax
call fcn.100046a1
lea esi, [eax*2 + 0x1a]
push esi
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
pop ecx
mov dword [edi + 4], eax
test eax, eax
je 0x10013546
shr esi, 1
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.100046a1
push esi
push dword [edi + 4]
push 0x100012d4
call ebx
push esi
push dword [edi + 4]
push 0x10001ec4
call ebx
xor eax, eax
jmp 0x10013552
mov eax, 0xfffffc0d
jmp 0x10013552
mov eax, 0xfffffc16
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100155e0
leave
ret 4

Function at 0x100155e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10002830]
jne fcn.10015aa0
ret
Function at 0x10015aa0
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1002d268], eax
mov dword [0x1002d264], ecx
mov dword [0x1002d260], edx
mov dword [0x1002d25c], ebx
mov dword [0x1002d258], esi
mov dword [0x1002d254], edi
mov word [0x1002d280], ss
mov word [0x1002d274], cs
mov word [0x1002d250], ds
mov word [0x1002d24c], es
mov word [0x1002d248], fs
mov word [0x1002d244], gs
pushfd
pop dword [0x1002d278]
mov eax, dword [ebp]
mov dword [0x1002d26c], eax
mov eax, dword [ebp + 4]
mov dword [0x1002d270], eax
lea eax, [ebp + 8]
mov dword [0x1002d27c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1002d1b8], 0x10001
mov eax, dword [0x1002d270]
mov dword [0x1002d16c], eax
mov dword [0x1002d160], 0xc0000409
mov dword [0x1002d164], 1
mov eax, dword [0x10002830]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1002cc90]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1002d1b0], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10002840
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1002d1b0], 0
jne 0x10015b8c
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x4030d8
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
push 0
push 2
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov dword [0x401004], eax
mov eax, 0x128
mov dword [0x401008], eax
push 0x401008
push dword [section..flat]
call dword [sym.imp.kernel32.dll_Process32First]
push str.HIDmon.exe
push 0x40102c
call dword [sym.imp.kernel32.dll_lstrcmpA]
cmp eax, 0
je 0x40313c
push 0x401008
push dword [0x401004]
call dword [sym.imp.kernel32.dll_Process32Next]
cmp eax, 0
je 0x40312f
jmp 0x403102
push 0
push str.SchTasks__run__tn__HID_Monitor_
call dword [sym.imp.kernel32.dll_WinExec]
push dword [0x401004]
call dword [sym.imp.kernel32.dll_CloseHandle]
ret
Function at 0x40961f
Capabilities:
Check http status code

Disassembly:
imul eax, dword fs:[ebp + edx*4 + 0x4c], 0x29036993
mov ebx, dword [ebp + 0x2d0fa975]
jnp 0x40965f
sub dword [ebx + 0xfa9759d], ecx
sub eax, 0xdcef377b
or al, 0xfa
out dx, eax
fmul qword [edx + edi*8]
pop edi
imul ebp, edx, 0x3e86a078
jb 0x409617
das
xlatb
and edi, dword [esi - 0x3c]
pop ds
sub al, 0x15
imul cx, word [eax + 0x21], 0x7fb2
aas
scasd eax, dword es:[edi]
and edx, ebp
in al, dx
mov dword [ecx + ebx*8 - 0xb], ecx
sti
in eax, dx
fist word [eax + 0x744d3c1e]
sub al, 0x2c
cmp ecx, dword [edx - 0x23a6bdab]
xchg byte [edi + 0x2fff298e], ah
sub edi, edi
das
invalid

Function at 0x40968f
Capabilities:
Check http status code

Disassembly:
fld dword [ebx + 0x5b1f23f5]
inc esp
mov al, byte [esp + ecx*4]
sub dl, ch
test eax, 0xdbda777
rcr byte [edi + edi + 0x3f], 0x22
mov esp, 0x978fa4e1
scasb al, byte es:[edi]
enter 0xffffffffffffdfdf, 0x74
xchg esp, eax
stosd dword es:[edi], eax
adc eax, 0x2dc41ee7
add byte [eax + 0xf9f404e], ch
outsd dx, dword [esi]
xchg ebx, eax
push edi
mov dh, 0x8e
mov esp, dword [ecx]
popfd
out dx, eax
lodsb al, byte [esi]
cld
invalid

Function at 0x40979f
Capabilities:
Check http status code

Disassembly:
sbb al, 0xd9
scasd eax, dword es:[edi]
leave
push ds
mov byte [0x92d272b0], al
out 0xae, eax
in al, dx
push dword [ebx + 0x11]
fstp dword [edi - 0x2ff201e4]
sub al, 0xb1
mov esp, 0xf69f252d
test al, 0xc8
jg 0x4097ec
pop dword [eax + 0x7d61e25c]
pop ds
jbe 0x409838
int3
cmp edx, ecx
cmp bh, ch
cmovs edi, dword [edi + 0x21bcfda]
sub al, 0x6f
sub al, byte [edi + 0x6a]
xchg edx, eax
cmp al, 0x59
dec ebp
jecxz 0x409801
wait
clc
push 0x13
cli
push es
or ecx, ebp
sub dword [esi - 0x24], 0x62614f8b
mov bl, 0x54
jmp 0xc8ed1347
fmul st(3)
mov edi, 0xdbf9e0d0
jnp 0x40985c
invalid
sub dword [edi - 0x46], eax
cmp byte [ebp + 0x66], dl
dec ecx
jl 0x409824
cmp ch, byte [eax - 0x166f1611]
in eax, 0xfb
wait
invalid
invalid
dec eax
call 0xdf1e14b7
enter 0x4fea, 0x24
int 0xe5
xchg edi, eax
lahf
fild qword [ecx - 0x5120f24f]
mov ecx, ebp
dec ecx
adc dword [ebp + 0x6e], ebx
mov edx, dword [ecx + 0x31]
and dl, byte [edi - 0x951084]
cdq
loope 0x40984f
mov ecx, 0x96c5fe03
mov ebx, 0x52414efe
mov gs, word [edi + edi*8]
mov byte [eax + 0x4a], dl
ljmp 0x4d20
Function at 0x42360f
Capabilities:
Encode data using xor

Disassembly:
arpl word [esi], sp
stosb byte es:[edi], al
add esp, 0xde47a004
nop
mov ebx, 0x4bb1f442
mov cl, 0x4b
pushfd
jge 0x42361c
cmp cl, 0x93
inc eax
test ah, al
les ebp, [eax + 0x61f85b12]
test al, 0xed
inc ecx
shl ebx, cl
loopne 0x4235e5
inc esi
inc edx
mov esi, dword [edi - 0x40534e84]
push edi
pushfd
xor al, 0x46
mov dword [0x830cb121], eax
xchg ecx, eax
aam 0xd0
dec ebp
cwde
mov dh, 0xe0
scasb al, byte es:[edi]
or byte [eax + 0x73a47d22], dh
mov esi, 0xf082c0a0
not byte [ebx - 0x7a]
std
and bh, byte [ebp - 0x5c]
jae 0x423612
mov al, byte [0xf6f082c0]
push ebx
xchg ch, bh
xchg ecx, eax
inc eax
sub byte [ebx - 0x245d247e], ch
sub byte [ebx], 0xfd
mov dword [0x109bb4cd], eax
scasb al, byte es:[edi]
mov ss, word [edx + 0x22]
and cl, bl
popfd
xor dword [ecx], esi
std
mov al, byte [0x8f532733]
leave
and dword [ecx - 0x3da82e0], eax
push esi
jecxz 0x42364f
and ah, byte [eax]
fstp dword [ebp - 0x5f02cecf]
xor esp, dword [edi]
push ebx
invalid
sbb byte [esi - 0x16], 0x27
mov bl, 0x14
scasd eax, dword es:[edi]
mov word [edi], cs
add byte [ebx], dh
mov dword [0xf2bf903d], eax
mov edx, 0x94e83eee
fcompi st(7)
sal dword [ebp + 0x35], cl
cmp eax, 0xbaf2bf90
out dx, al
notrack call 0xd43a1632
jne 0x4236d5
std
mov gs, edx
lodsb al, byte [esi]
stosb byte es:[edi], al
cli
std
push ds
adc ebp, dword [eax - 0x1b1d6cf9]
loop 0x423692
xor ecx, dword [edx - 0x642925c9]
pop ss
wait
lds esi, [edx + 0x44]
jp 0x4236ac
leave
invalid
jg 0x423670
or dword [ecx + ebp*8 - 0x5f396065], esi
add dword [eax], esp
inc edi
ficom dword [ebx]
jno 0x4236a3
int1
adc eax, 0x4971bfc1
test edx, 0xc68971f6
mov ch, 0xed
ror dword [ebx], 0x74
sar esp, cl
invalid

Function at 0x44e78f
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x3eb30f37]
xchg esp, eax
or eax, 0x6c56679e
jns fcn.0044e7ff
push edi
mov byte [0xbbef1ed8], al
push ss
mov ebx, 0x3f77078e
stosd dword es:[edi], eax
lodsd eax, dword [esi]
repe scasb al, byte es:[edi]
sub eax, 0x4ecba6b9
sub dword [edx], 0x23
test al, 0x51
pop ss
sbb al, 0x61

Function at 0x4529ec
Capabilities:
Encode data using xor

Disassembly:
push edx
adc eax, 0x817a72cc
mov ebp, 0x67d18b52
dec dword [esi - 0x2b9b2151]
pop ecx
xor dl, ah
mov edi, 0x6b61f17f
scasd eax, dword es:[edi]
mov ebp, dword [esp]
xchg esi, eax
invalid
arpl dx, di
pop ebp
shl dword [esi - 0x69], 1
and al, 0x6d
mov cs, word [esi - 0x47b38494]
xchg esi, eax
push esp
sbb bl, byte [ecx]
fsubrp st(2)
xchg ecx, ebp
push cs
je 0x4529c3
mov ebp, 0x8aa491ec
imul ebx, esp, 0xa4361498
in al, dx
xchg ecx, eax
movsb byte es:[edi], byte [esi]
mov ch, byte [ecx - 0x24]
cwde
adc al, 0x36
movsb byte es:[edi], byte [esi]
mov dword [ecx - 0x15], esi
shl byte [ecx - 0x20], cl
fdivr qword [eax]
sbb eax, dword [edx - 0xdfe0897]
xchg esp, eax
cmp byte [ebx], bl
sub byte [ecx - 9], 1
xchg esp, eax
or eax, 0x42b21f37
xor dword [ecx - 0x40fb89], edi
mov word [ebx], gs
out dx, al
xchg ebx, eax
sub eax, ebp
fidiv dword [ebp + ecx - 0xf]
cmp al, dh
popal
mov ecx, 0x3d21f616
jl 0x452a05
adc al, 0x34
loopne 0x452a17
scasb al, byte es:[edi]
sbb ecx, edi
mov dl, 0xe8
sahf
push eax
hlt
Function at 0x46f3d0
Capabilities:
Encode data using xor

Disassembly:
jecxz 0x46f3ca
insd dword es:[edi], dx
jo 0x46f366
mov esp, 0x8fce370e
aaa
into
invalid
fst qword [eax + esi + 0x766d58f7]
aam 0
mov eax, dword [0xa2fb1391]
mov byte [0x352749be], al
jo 0x46f363
ljmp 0x4240:0x6dfd65dc
adc eax, 0x1bc64f01
inc eax
xchg ebp, eax
adc cl, dl
loope 0x46f35c
invalid

Function at 0x47d6ff
Capabilities:
Encode data using xor

Disassembly:
mov byte [edi], dh
push es
cmp edi, dword [0x420eb9c7]
out dx, al
ror byte [ecx - 0x22053a9a], 0x6d
out dx, al
aad 0x34
movsb byte es:[edi], byte [esi]
or al, 0x7c
pop dword [ecx]
pop esi
in eax, 0xc7
adc bh, al
jge 0x47d73d
out 0, al
or al, 0x64
call [eax - 0x5007e153]
rol byte [ebp + ebp*2 + 0x65b7d70], cl
pushfd
invalid
test ecx, eax
xor dh, al
mov dl, 0x2c
arpl word [eax + 0x23], sp
jnp 0x47d73d
aam 0x67
ficomp dword [esi + 0x482a91eb]
sbb dword [ebx + 0xf], ebx
fidiv word [ebp - 0x3c9929d8]
cmp byte [edi], ah
scasb al, byte es:[edi]
dec esp
retf

Function at 0x4aafff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 0x23
mov edx, dword [ebp + 0xc]
insb byte es:[edi], dx
movsb byte es:[edi], byte [esi]
in al, dx
fisubr dword [eax + 0x4f]
mov esp, 0xc18bde92
clc
pop esp
sahf
xchg esp, esi
int 0x23
insd dword es:[edi], dx
rcr byte [ecx + 0xc], 1
ja 0x4aaff7
mov ecx, 0x4228754d
loopne 0x4ab019
int3
xchg ecx, eax
insb byte es:[edi], dx
cmp dword [esi + 0x35d391ea], 0x69
invalid
dec eax
invalid
Function at 0x1c26a00
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
xor edi, edi
push dword [esi + edi*4 + 0x28]
call fcn.01ca8af3
add esp, 4
mov dword [esi + edi*4 + 0x28], eax
inc edi
cmp edi, 0x10
jne 0x1c26a0d
xor eax, eax
mov ecx, dword [esi + eax*4 + 0x48]
xor ecx, dword [esi + eax*4 + 0x5c]
xor ecx, dword [esi + eax*4 + 0x30]
xor ecx, dword [esi + eax*4 + 0x28]
rol ecx, 1
mov dword [esi + eax*4 + 0x68], ecx
inc eax
cmp eax, 0x40
jne 0x1c26a25
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x24]
xor edi, edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
mov ebx, eax
mov eax, edx
mov edx, ecx
rol edx, 5
cmp edi, 0x14
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], ecx
jae 0x1c26aa7
mov ecx, ebx
mov ebx, eax
and ebx, ecx
add ebx, edx
mov edx, eax
not edx
and edx, esi
add ebx, edx
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edi*4 + 0x28]
mov ecx, 0x5a827999
jmp 0x1c26afc
cmp edi, 0x28
jae 0x1c26ac3
xor ebx, esi
xor ebx, eax
add ebx, edx
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edi*4 + 0x28]
mov ecx, 0x6ed9eba1
jmp 0x1c26afc
cmp edi, 0x3b
mov dword [ebp - 0x18], esi
ja 0x1c26ad7
mov ecx, ebx
or ecx, esi
and ecx, eax
and ebx, esi
or ebx, ecx
jmp 0x1c26adb
xor ebx, esi
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add ebx, edx
add ebx, esi
add ebx, dword [ecx + edi*4 + 0x28]
cmp edi, 0x3c
mov ecx, 0xca62c1d6
mov edx, 0x8f1bbcdc
cmovb ecx, edx
mov esi, dword [ebp - 0x18]
add ebx, ecx
rol eax, 0x1e
inc edi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x34]
mov edx, ecx
cmp edi, 0x50
jne 0x1c26a6d
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x10], esi
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0xc], edx
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [edi], ebx
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x20]
add ecx, ebx
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
add ecx, esi
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [edi + 0x24], eax
mov dword [edi + 0x168], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c2a050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x1c2a07f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x1c2a061
pop esi
pop edi
pop ebp
ret 8
Function at 0x1c410c3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1c410ec
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c41113
mov eax, 0x300
mov ecx, ebx
and ecx, eax
cmp ecx, eax
je 0x1c41113
cmp edi, 2
mov eax, 0x1ceba96
mov ecx, 0x1cebc96
cmove ecx, eax
cmp word [ecx], 0
je 0x1c41126
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
lea esi, [esp + 0x20]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x1c41113
cmp byte [0x1ceba94], 0
setne al
bt ebx, 8
jb 0x1c41113
shr ebx, 9
and ebx, 1
or bl, al
je 0x1c41113
cmp edi, 2
mov eax, 0x1cb8b84
mov edx, 0x1cb8b98
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax + 0xb]
test bl, bl
js 0x1c41185
mov ecx, ebx
mov esi, eax
mov eax, ebx
jmp 0x1c4118a
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + 4]
mov edi, eax
sub edi, ebx
jb 0x1c411d8
push ebx
push dword [edx]
push esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.01ca8af3
mov edx, dword [esp + 0x24]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x1c411e8
add edx, 0x14
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x1c411ab
jmp 0x1c41252
movzx ecx, word [esi + ebx*2]
cmp cx, 0x5c
je 0x1c411f7
test cx, cx
jne 0x1c411d8
lea eax, [esi + ebx*2]
mov ebx, dword [edx + 8]
cmp ebx, 1
je 0x1c41217
cmp ebx, 2
mov esi, ebx
jne 0x1c41225
mov dword [esp + 8], str.WOW6432Node
mov dword [esp + 4], eax
jmp 0x1c41225
mov dword [esp + 8], str.WOW6432Node_
mov dword [esp + 4], esi
mov esi, ebx
mov dword [esp + 0xc], esi
cmp cx, 0x5c
jne 0x1c4123e
lea esi, [eax + 2]
dec edi
cmp word [eax + 2], 0x5c
mov eax, esi
je 0x1c4122f
jmp 0x1c41240
mov esi, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
xor ecx, ecx
mov edx, eax
mov eax, edi
jmp 0x1c411e0
cmp dword [esp + 0xc], 0
je 0x1c41113
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x1c4126a
mov eax, ecx
jmp 0x1c4126c
mov eax, dword [ecx]
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
push dword [esp + 8]
push edx
call fcn.01c3ee72
jmp 0x1c41113
Function at 0x1c4237a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cec09c]
test eax, eax
jne 0x1c4245e
mov edi, 0xc
push edi
call fcn.01ca8af3
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [0x1cec09c], eax
push edi
call fcn.01ca8af3
add esp, 4
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [0x1cec0a0], eax
call fcn.01c437dc
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x28]
push str.user_data_dir
call fcn.01c3af3a
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x34]
push eax
call fcn.01c3af3a
lea ebx, [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.01c42b46
add esp, 0xc
push edi
push esi
push dword [ebp - 0x38]
push ebx
call fcn.01c41fa0
add esp, 0x10
mov byte [ebp - 0x38], al
cmp byte [ebx + 0xb], 0
jns 0x1c42431
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp byte [ebp - 0x29], 0
jns 0x1c42442
push dword [ebp - 0x34]
call fcn.01c8b528
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x1c42453
push dword [ebp - 0x28]
call fcn.01c8b528
add esp, 4
cmp byte [ebp - 0x38], 0
je 0x1c4247f
mov eax, dword [0x1cec09c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
call fcn.01c3e6a6
mov bl, 1
test esi, esi
je 0x1c42481
mov ecx, esi
push dword [0x1cec0a0]
call fcn.01c3e6a6
jmp 0x1c42481
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c427ed
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.01c8cb90
add esp, 0xc
mov edi, 0xfffffff4
lea ebx, [ebp - 0x218]
mov esi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [edi + str.PROGRAMW6432]
mov word [ebp - 0x218], 0
push 0x104
push ebx
push eax
call esi
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c42861
push dword [ebp + 8]
push eax
push ebx
call fcn.01c42781
add esp, 0xc
test al, al
jne 0x1c4286a
add edi, 4
jne 0x1c4282d
xor ebx, ebx
jmp 0x1c4286c
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c42d2f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x18], eax
movzx eax, byte [ecx + 0xb]
test al, al
js 0x1c42d5a
test al, al
jne 0x1c42d63
jmp 0x1c42db6
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c42db6
mov ecx, dword [ecx]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp], 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 0x10], edi
cmp eax, 0xfffffff0
jae 0x1c42e81
mov ebx, eax
cmp eax, 0xb
jae 0x1c42dc5
lea edi, [esp + 8]
mov byte [edi + 0xb], bl
mov dword [esp + 4], edi
test ebx, ebx
jne 0x1c42def
jmp 0x1c42dfb
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x1c42e6c
lea esi, [ebx + 0x10]
and esi, 0xfffffff0
push esi
call fcn.01ca8af3
add esp, 4
mov edi, eax
lea eax, [esp + 8]
mov dword [eax], edi
or esi, 0x80000000
mov dword [eax + 8], esi
mov esi, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [eax + 4], ebx
push ebx
push 0
push edi
call fcn.01c8cb90
add esp, 0xc
mov byte [edi + ebx], 0
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x1c42e0f
mov eax, dword [esp + 8]
jmp 0x1c42e13
lea eax, [esp + 8]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + 0xb]
test cl, cl
jns 0x1c42e23
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor edi, edi
push edi
push edi
push ebx
push eax
push ecx
push edx
push edi
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
cmp eax, ebx
jne 0x1c42e4e
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 8]
movsd qword [esi], xmm0
jmp 0x1c42e6c
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x1c42e6c
push dword [esp + 8]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 8]
call fcn.01c3dbd4
Function at 0x1c42e8a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x18], eax
xor esi, esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1c42ee2
mov ebx, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x10], esi
cmp eax, 0x7ffffff0
jae 0x1c42fc1
cmp ebx, 5
jae 0x1c42efc
lea edi, [esp + 8]
mov byte [edi + 0xb], bl
mov dword [esp + 4], edi
mov eax, edi
jmp 0x1c42f24
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
jmp 0x1c42fb9
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.01ca8af3
add esp, 4
lea edi, [esp + 8]
mov dword [edi], eax
or esi, 0x80000000
mov dword [edi + 8], esi
mov dword [edi + 4], ebx
mov dword [esp + 4], edi
mov ecx, ebx
add ecx, ebx
push ecx
push 0
push eax
mov esi, eax
call fcn.01c8cb90
add esp, 0xc
mov word [esi + ebx*2], 0
mov esi, dword [esp + 4]
cmp byte [esi + 0xb], 0
jns 0x1c42f4a
mov edi, dword [esp + 8]
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
movzx ecx, byte [esi + 0xb]
test eax, eax
mov esi, dword [ebp + 8]
je 0x1c42f92
mov edx, ecx
test cl, cl
jns 0x1c42f6a
mov edx, dword [esp + 0xc]
cmp eax, edx
jae 0x1c42f92
lea edi, [esp + 8]
mov ecx, edi
push 0
push eax
call fcn.01c3e74a
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edi]
mov esi, dword [ebp + 8]
movsd qword [esi], xmm0
jmp 0x1c42fac
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
test cl, cl
jns 0x1c42fac
push dword [esp + 8]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 8]
call fcn.01c3dbd4