joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407258
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [0x42613c], 0x44
mov dword [esp + 0x20], 0x42613c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor edx, edx
sub esp, 0x28
test eax, eax
je 0x4072d4
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push eax
mov eax, edx
leave
ret 4

Function at 0x407584
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
je 0x4075af
and eax, 0xfffffffe
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push ebx
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x4075b6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, 0
cmp eax, 0xffffffff
push ecx
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [ebp - 4]
sub esp, 0x1c
leave
ret 0xc

Function at 0x407612
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0x65
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x1c]
jmp 0x407670
mov dword [ebp - 0x1c], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [ebp - 0x2c], eax
div ecx
mov dword [ebp - 0x30], edx
mov cl, byte [ebp - 0x30]
add ecx, 0x61
mov byte [ebp - 0x1a], cl
mov ecx, dword [ebp + 0xc]
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
sub esp, 0x10
test eax, eax
jne 0x407678
dec esi
jne 0x407628
mov byte [ebx], 0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x407684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0x14]
cmp dword [ebp + 0x18], 1
lea edx, [ebp - 0x14]
sbb eax, eax
xor al, al
add eax, 0x20119
mov byte [ebx], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x407726
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x40770f
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 1
jbe 0x407712
mov byte [ebx], 0
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0x3ff], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
mov ebx, dword [ebp - 4]
leave
ret 0x14
Function at 0x407c1c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esp], 0x426580
mov dword [esp + 4], eax
call fcn.004077f1
push ebx
push ebx
mov dword [esp], 0x426580
call fcn.0040746c
mov ebx, eax
xor eax, eax
test ebx, ebx
push esi
je 0x407cca
mov dword [esp], ebx
call fcn.0040782f
test byte [0x427b80], 0x80
push ecx
je 0x407c8a
mov al, byte [ebx]
cmp al, 0x5c
je 0x407cc8
test al, al
jne 0x407c8a
jmp 0x407cc8
call fcn.00407be4
test eax, eax
push edx
je 0x407c7b
test byte [eax], 0x10
je 0x407cc8
mov dword [esp], 0x426580
call fcn.00407400
push ecx
jmp 0x407c96
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub ebx, 0x426580
mov dword [esp], 0x426580
call esi
cmp eax, ebx
push edx
mov dword [esp], 0x426580
jg 0x407c6c
call fcn.0040738a
push ecx
mov dword [esp], 0x426580
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
setne al
push ebx
movzx eax, al
jmp 0x407cca
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4
Function at 0x4082c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4276c4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408305
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x4082e2
mov dword [edx*4 + 0x4276c0], eax
inc edx
cmp edx, 0x100
jne 0x4082db
mov eax, dword [ebp + 8]
not eax
jmp 0x40831f
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4276c0]
test ebx, ebx
jne 0x40830c
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x40df71
Capabilities:
Check for software breakpoints

Disassembly:
fidivr word [edi]
xor esi, dword [ecx - 0x294a58ca]
outsd dx, dword [esi]
mov ebx, 0x1ad498c7
sbb eax, 0x54c30713
dec edx
outsb dx, byte [esi]
dec ecx
fld qword [eax + 0x77]
lahf
in al, dx
mov cl, 0xe3
in eax, dx
je 0x40df7a
outsd dx, dword [esi]
invalid
xchg edx, eax
mov dl, byte [esi]
ljmp 0x73f3
sub al, 0x58
sbb dword [esi], esp
lodsb al, byte [esi]
stosd dword es:[edi], eax
push ds
out dx, eax
xor ch, byte [edi + 0x2ddaa652]
lds esi, [ecx - 0x1d]
les ebx, [ecx + 0x16705a88]
scasd eax, dword es:[edi]
push edx
cmpsb byte [esi], byte es:[edi]
fisubr dword [0xc4e371c5]
cdq
mov byte [edx + 0x70], bl
push ss
cmp byte [ebx - 0xb], bl
sahf
dec dword [eax + 0x63752604]
add byte [ebx - 0x2a], 0x40
sub edx, esp
mov byte [0xfde0c316], al
cmp esi, edi
jp 0x40df39
jl 0x40dfe8
push ds
ja 0x40df4d
xchg edi, eax
cmp al, 0xcc
or al, 0xda
mov ebx, 0x348f67c3
mov al, 0x30
push ebx
inc esi
clc
mov byte [0xc27c451e], al
jmp 0x40df63
div dword [ebx - 0x391ccaa7]
mov byte [edx + 0x76], dh
aas
invalid
mov esi, 0xa2252295
salc
push eax
xchg ecx, eax
sbb eax, 0x1642da4c
fiadd dword [edx + 0x16]
sub dword [ebx - 0x76178c0b], 0x78
pop ecx
les edi, [ebp + 0x67698bc5]
jb 0x40e063
mov ch, 0x7a
loop 0x40dfde
out 0xcd, eax
dec esi
lock xchg dword [edi], edi
lds esp, [ebp - 0x10f95fc3]
fistp dword fs:[ebx]
cmpsb byte [esi], byte es:[edi]
shl dword [esi - 0x7d9d00a], 1
mov ebp, 0xd481c80d
jae 0x40e016
mov al, byte [0x1bd06944]
adc al, 0x71
push 0x56fc82d2
in eax, dx
xchg dword [edx + 0x70], ebp
rol byte [edx - 0x7812a904], cl
push 0x70
adc dword [esi - 0x23], edx
cmpsb byte [esi], byte es:[edi]
xor eax, 0xd1858e1
ja 0x40dfce
frstor dword [esi + 0x1858e135]
or eax, 0xf57d9677
jge 0x40e02f
stc
int 0xa4
pushal
and al, 0xc1
bound ecx, qword [edi - 0x60d0e96a]
hlt
jae 0x9adadf16
les edi, [edx]
je 0x40e0ec
and dword ss:[eax], ebp
in eax, dx
cmp edx, dword [edx]
lodsb al, byte [esi]
out 0xf3, eax
jbe 0x40e0e7
jl 0x40e025
or bh, byte [edx]
cmp eax, 0x39358ec7
add byte [ebp - 0x23a513f2], ah
sub ebx, dword [edx + edi - 0x21bd7883]
inc edi
cli
ret 0xd4bd
ror byte [edi + 0x24e8f859], 1
sbb dl, byte [eax]
inc esi
or eax, edi
lahf
les ebp, [0x739fff12]
nop
sub eax, 0x91448a29
add al, 0x52
mov dword [0x4046551f], eax
mov eax, dword [0x1f9a0265]
mov cl, 0x27
dec ebp
jmp 0x622d8041
push ds
mov esp, dword [eax - 0x21]
add byte [ecx + 0x23], 0xbb
enter 0x20fe, 0xffffffffffffffa0
inc ecx
and edi, dword [ebx - 0x5fdf0138]
sar byte [edx + 0x24], 0xa5
dec ebp
outsb dx, byte [esi]
shl byte [eax - 0x3d7449e5], 1
scasb al, byte es:[edi]
mov byte [edi + 0x59], ah
test byte [ebp - 0x40ddefce], bh
push cs
push 0xbceeff0f
pushfd
jnp 0x40e112
salc
push ecx
jg 0x40e0f8
push ds
jo 0x40e099
movsd dword es:[edi], dword [esi]
retf
Function at 0x492d28
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0xecd
call 0x53b070ee
xlatb
bound esi, qword [edx + edx + 0x3de876d8]
invalid
Function at 0x6060a1
Capabilities:
Encode data using xor

Disassembly:
jge 0x6060dd
and ebx, dword [edi - 0x6e]
in eax, 0x50
sahf
fisubr word [ecx + 0x20991b9]
mov bh, 0xc3
mov esi, 0xdc8fb160
xor al, 0x84
jle 0x6060f0
sbb ebp, esi
cmc
mov edi, 0x41b00f80
inc ecx
mov cl, 0x9a
xor bh, ah
pop es
pop ebp
xor dword [ecx + 0x79], esi
loope 0x6060bb
add al, 0xfd
mov ecx, 0x9d2e8992
jo 0x6060fe
cmp eax, ebx
invalid
movsd dword es:[edi], dword [esi]
daa
adc al, 0xd0
test byte [edi - 0x37], dh
jns 0x60612f
clc
enter 0x3c99, 0x27
xor eax, 0xf908f116
popal
mov esp, 0x12670296
div ah
wait
mov cs, word [edx + 0x1d]
invalid
jmp 0xaad6f73c
sub cl, byte [edi - 0x684dafea]
fist word [ecx - 0x56]
aas
sub dword [ecx + 0x14], 0x3ef68044
or edx, dword [ecx]
or al, 0x79
sbb eax, 0x92ce84f3
and eax, 0xf64154b2
cmpsb byte [esi], byte es:[edi]
mov eax, 0x2f471d85
imul eax, dword [ecx + 0x1a2e573], 0xffffffbb
adc edi, dword [esi]
int3

Function at 0x628595
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x62f3d0
cmp edx, dword [eax]
je 0x6285b7
add eax, 8
inc ecx
cmp eax, 0x62f460
jl 0x6285a8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x62f3d0]
jne 0x6286e5
mov eax, dword [0x637d78]
cmp eax, 1
je 0x6286bf
test eax, eax
jne 0x6285e8
cmp dword [0x62f2f8], 1
je 0x6286bf
cmp edx, 0xfc
je 0x6286e5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62861f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628f80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629410
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628662
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629410
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d6e4
push edi
call fcn.0062b2e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00628f80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00628f90
lea eax, [ebp - 0xa0]
push 0x62d6c4
push eax
call fcn.00628f90
push dword [esi + 0x62f3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00628f90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b254
add esp, 0x2c
pop edi
jmp 0x6286e5
lea eax, [ebp + 8]
lea esi, [esi + 0x62f3d4]
push 0
push eax
push dword [esi]
call fcn.00629410
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40e1f0
Capabilities:
Resolve function by djb2 hash

Disassembly:
push ebp
mov ebp, esp
push 0x5fbff0fb
mov eax, dword [0x4688c4]
push eax
call fcn.0040e590
add esp, 8
mov dword [0x4688d4], eax
push str.ntdll.dll
call dword [0x4688d4]
mov dword [0x4688c0], eax
push 0x8afb8c5a
mov ecx, dword [0x4688c4]
push ecx
call fcn.0040e590
add esp, 8
call eax
push 0xc6580d02
mov edx, dword [0x4688c4]
push edx
call fcn.0040e590
add esp, 8
mov dword [0x4688d8], eax
push 0xc0b381da
mov eax, dword [0x4688c0]
push eax
call fcn.0040e590
add esp, 8
mov dword [0x4688dc], eax
push 0x82962c8
mov ecx, dword [0x4688c0]
push ecx
call fcn.0040e590
add esp, 8
mov dword [0x4688cc], eax
push 0x6793c34c
mov edx, dword [0x4688c0]
push edx
call fcn.0040e590
add esp, 8
mov dword [0x4688d0], eax
pop ebp
ret

Function at 0x40e6d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x40e380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.0040e2e0
nop
xor eax, eax
pop ebp
ret

Function at 0x40efb8
Capabilities:
Parse pe header

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

Function at 0x41b6f4
Capabilities:
Parse pe header

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

Function at 0x43b379
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043b24d
Function at 0x43be74
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x467ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x43bebf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043c314
test al, al
jne 0x43beb9
sub edx, 2
cmp edx, edi
jne 0x43be9f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43bee1
lea eax, [edi + 2]
cmp edx, eax
je 0x43bee1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043bb3b
add esp, 0x10
jmp 0x43bfdb
push esi
lea ecx, [ebp - 0x255]
call fcn.0043c314
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43bf24
push dword [ebp - 0x25c]
jmp 0x43bed1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x43bf61
cmp word [ebp - 0x226], 0
je 0x43bf82
cmp word [ebp - 0x226], ax
jne 0x43bf61
cmp word [ebp - 0x224], 0
je 0x43bf82
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043bb3b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43bfce
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43bf3b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43bfb6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43bfdb
push 0x43b58b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004470f0
add esp, 0x10
jmp 0x43bfab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f682
leave
ret
Function at 0x43d85b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x43d8f8
push ebx
push esi
call fcn.0043d817
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043d754
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x43d8a5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43d8f7
push edi
push eax
call fcn.0044005e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43d8c5
call fcn.0043b539
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43d8f6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043d754
add esp, 0x20
test eax, eax
jne 0x43d8e4
push edi
call fcn.0043b539
jmp 0x43d8ec
push ebx
call fcn.0043b539
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x43d8fb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x43d90c
pop esi
ret
push ebx
push edi
push esi
call fcn.0043d817
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044005e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43d934
push ebx
push esi
push edi
call fcn.00418160
add esp, 0xc
push 0
call fcn.0043b539
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43e223
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043dba9

Function at 0x442376
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043a893
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4423e5
cmp esi, dword [ebp - 4]
je 0x4423e0
cmp dword [ebp + 0xc], 0
je 0x4423e0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4423bd
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00441ec8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4423e7
xor eax, eax
inc eax
jmp 0x4423e7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x44244c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x467ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0043a893
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0043a893
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4424c3
cmp word [ecx], dx
je 0x4424c3
mov eax, dword [0x460954]
push edi
dec eax
push eax
push 0x460840
call fcn.004423eb
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x442536
cmp word [eax], dx
je 0x442536
mov eax, dword [edi]
test eax, eax
je 0x4424e7
cmp word [eax], dx
je 0x4424e7
lea eax, [ebp - 0x10]
push eax
call fcn.00441dce
jmp 0x4424f0
lea eax, [ebp - 0x10]
push eax
call fcn.00441e69
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x442560
mov eax, dword [0x46083c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x460530
call fcn.004423eb
add esp, 0xc
test al, al
je 0x442560
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x44252b
cmp word [eax], di
je 0x44252b
lea eax, [ebp - 0x10]
push eax
call fcn.00441dce
pop ecx
jmp 0x442562
lea eax, [ebp - 0x10]
push eax
call fcn.00441e69
jmp 0x442528
mov eax, dword [edi]
test eax, eax
je 0x44254d
cmp word [eax], dx
je 0x44254d
lea eax, [ebp - 0x10]
push eax
call fcn.00441d65
pop ecx
jmp 0x442560
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x44262b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00442270
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44262b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x44262b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x44262b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4425b8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00443339
test ebx, ebx
je 0x442626
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00443339
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44262b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44262b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004485b3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x44262d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f682
leave
ret
Function at 0x442fab
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x461b7c
push 0x461b74
push str.FlsAlloc
push 0x1f
call fcn.00442c79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442fdf
push dword [ebp + 8]
mov ecx, esi
call dword [0x459150]
call esi
jmp 0x442fe5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x443029
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x461b8c
push 0x461b84
push str.FlsGetValue
push 0x21
call fcn.00442c79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x443060
push dword [ebp + 8]
mov ecx, esi
call dword [0x459150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x443068
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x461b94
push 0x461b8c
push str.FlsSetValue
push 0x22
call fcn.00442c79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4430a2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x459150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44f71b
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 + 0x469838]
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 0x44f75b
cmp byte [ebx], 0xa
jne 0x44f75b
or byte [edi + eax + 0x28], 4
jmp 0x44f760
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 0x44f85f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44f842
inc eax
cmp dl, 0xd
je 0x44f78c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x44f7b2
cmp eax, ecx
jae 0x44f7c0
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 0x44f774
jmp 0x44f85f
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 0x44f83d
cmp dword [ebp - 0x10], 0
je 0x44f83d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x469838]
test byte [eax + edi + 0x28], 0x48
je 0x44f817
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44f802
mov byte [esi], dl
jmp 0x44f813
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x469838]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44f85f
cmp byte [ebp - 1], 0xa
jne 0x44f826
cmp esi, ebx
jne 0x44f826
mov byte [esi], 0xa
jmp 0x44f85e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044f56d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44f85f
mov byte [esi], 0xd
jmp 0x44f85e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x469838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44f85c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44f85f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret