joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dc00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1004301c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
add ecx, 4
sub eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x14]
add edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov dword [ebp - 8], 0x40
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013bb7
mov esp, ebp
pop ebp
ret

Function at 0x1000f520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000f6d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000f5ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x10043004]
jb 0x1000f56a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10043008]
ja 0x1000f56a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000f53a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10016ba0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000f590
jmp 0x1000f5ed
cmp dword [ebp - 0x14], 0x10000
jne 0x1000f5d3
cmp dword [ebp - 0x18], 0x10000
jb 0x1000f5d3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000f5c6
mov eax, dword [ebp - 8]
jmp 0x1000f5ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000f5e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000f6d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000f53a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000f600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000f700
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000f6c5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10043004]
jb 0x1000f645
mov eax, dword [ebp - 4]
cmp eax, dword [0x10043008]
ja 0x1000f645
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000f615
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10016ba0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000f66b
jmp 0x1000f6c5
cmp dword [ebp - 0x14], 0x10000
jne 0x1000f6ae
cmp dword [ebp - 0x18], 0x10000
jb 0x1000f6ae
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000f6a1
mov eax, dword [ebp - 8]
jmp 0x1000f6c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000f6c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000f700
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000f615
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10020bcb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10020a41
Function at 0x10013a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10013a33
pop dword [ebp - 0x1c]
mov eax, 0x4f8d22f4
sub eax, 0x3f8be8c1
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xa50136b
sub dword [ebp - 0x2c], 0xbbfdce20
mov dword [ebp - 0x28], 0xae7397bb
add dword [ebp - 0x28], 0x83bfb48a
mov dword [ebp - 0x24], 0x3f5d556f
add dword [ebp - 0x24], 0xceeeebf
mov dword [ebp - 0x20], 0x9df1404f
add dword [ebp - 0x20], 0x620ebfb1
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x9ec2f49b
sub eax, 0x8ec1341b
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x4d94794e
sub dword [ebp - 0x2c], 0xd9220ff8
mov dword [ebp - 0x28], 0xbb4e1f54
sub dword [ebp - 0x28], 0x79e1bddf
mov dword [ebp - 0x24], 0x1fa4d1ab
sub dword [ebp - 0x24], 0xbc35653f
mov dword [ebp - 0x20], 0x5a7abb0b
sub dword [ebp - 0x20], 0x5a7abb0b
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xa462d079
sub eax, 0x94611079
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x38acd
push 0
call eax
mov ecx, 0x3ab84c61
add ecx, 0xc54800ad
mov edx, eax
mov ebx, 0x10026800
add ebx, dword [ebp - 0x1c]
mov esi, 0x12e3abc7
add esi, 0xee0e2658
add dword [ebp - 0x18], esi
mov edi, dword [ebx]
add dword [ebp - 4], 0xd6f00412
sub edi, esi
xor dword [ebp - 8], 0xddd8448c
mov dword [edx], edi
xor dword [ebp - 0x10], 0x7b6b3f31
add edx, 0x41d4c9ed
sub edx, 0x41d4c9e9
add ebx, 4
loop 0x10013b4f
add eax, 0x1270b
mov ebx, eax
add eax, 0xddf7119e
sub eax, 0xddf71199
mov ecx, 0x956fe8a4
add ecx, 0x7a90175c
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x407b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x44e570
push 0x41eba0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x452020]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x24], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x407be5
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x407c03
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xfffffffe
call fcn.00407c2e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041d1ec
mov esp, ebp
pop ebp
ret
Function at 0x414050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43afe3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x452020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00413820
push eax
mov dword [ebp - 4], 0
call fcn.00410c20
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x43d1ac]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x18]
movzx esi, ax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x4140eb
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x43d1ac]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x4140e8
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x43d1ac]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebx + 4]
mov eax, 0x88888889
sub ecx, dword [ebx]
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x414133
push esi
lea ecx, [ebp - 0x94]
call fcn.00414230
push eax
push dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00414360
lea ecx, [ebp - 0x94]
call fcn.0040cfa0
jmp 0x4141ff
mov edi, dword [ebp + 8]
cmp edi, eax
jbe 0x414168
push esi
lea ecx, [ebp - 0x94]
call fcn.00414230
push eax
push edi
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004142b0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0040cfa0
sub esp, 8
lea ecx, [ebx + 0xc]
call fcn.00414570
test edi, edi
je 0x4141ff
xor edx, edx
nop dword [eax]
mov eax, dword [ebx]
add eax, edx
mov dword [eax], 0xffffffff
lea esi, [eax + 4]
mov dword [eax + 0x68], 0xffffffff
mov dword [eax + 0x6c], 0x7fffffff
mov dword [eax + 0x70], 0
cmp dword [eax + 0x18], 8
jb 0x4141ab
mov esi, dword [eax + 4]
xor ecx, ecx
mov dword [eax + 0x14], 0
mov word [esi], cx
lea esi, [eax + 0x1c]
cmp dword [eax + 0x30], 8
jb 0x4141c3
mov esi, dword [eax + 0x1c]
mov dword [eax + 0x2c], ecx
add edx, 0x78
xor ecx, ecx
mov word [esi], cx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x40], 6
mov word [eax + 0x48], cx
mov dword [eax + 0x4c], 0x201
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
sub edi, 1
jne 0x414180
cmp dword [ebx + 0x40], 8
lea eax, [ebx + 0x2c]
jb 0x41420b
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov dword [ebx + 0x3c], 0
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b1b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x452020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x44a29c
call fcn.0041d1ff
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0041cb24
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a210
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b7cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x452020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x23c], edi
push 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x23c], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a2a0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00405800
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 1
jb 0x41a41a
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 1
cmovae eax, dword [ebp - 0x238]
push 0x44c800
push ecx
push eax
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x254]
call fcn.00405930
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x41a31d
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x254]
call fcn.00405aa0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x240]
cmp ecx, 8
jb 0x41a3a1
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a397
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a41f
push ecx
push edx
call fcn.0041d595
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
cmp ecx, 8
jb 0x41a3fa
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a3f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a41f
push ecx
push edx
call fcn.0041d595
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d1ec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401cc0
call fcn.004268a9
int3
Function at 0x41a480
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b815
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
mov eax, dword [0x452020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4541ec
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x41a66e
cmp dword [ebp - 0x18], 0
je 0x41a651
mov dword [ebp - 0x38], 0x4541ec
mov dword [ebp - 0x34], 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x44c804
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.00405800
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push 0x800
cmovae eax, dword [ebp - 0x30]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41a566
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x50]
call fcn.0041a210
cmp dword [eax + 0x14], 8
jb 0x41a551
mov eax, dword [eax]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.00405140
mov ecx, dword [ebp - 0x1c]
mov dword [0x454204], esi
cmp ecx, 8
jb 0x41a5ac
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a59c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a673
push ecx
push edx
call fcn.0041d595
mov esi, dword [0x454204]
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
test esi, esi
je 0x41a63e
push str.SetProcessUserModeExceptionPolicy
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessUserModeExceptionPolicy
push dword [0x454204]
mov dword [0x454200], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetDefaultDllDirectories
push dword [0x454204]
mov dword [0x4541fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessMitigationPolicy
push dword [0x454204]
mov dword [0x4541f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessMitigationPolicy
push dword [0x454204]
mov dword [0x4541f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallELAMCertificateInfo
push dword [0x454204]
mov dword [0x4541f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push 0x4541ec
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x41a678
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d1ec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004276fc
call fcn.004268a9
call fcn.0041d040
int3
Function at 0x41e1b6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e1f5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e1f5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e1f5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41e1f5
cmp dword [ecx + 0x74], 0xe
jbe 0x41e1f5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42f80d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x441918
push 0x441910
push str.FlsAlloc
push 0x1f
call fcn.0042f6d5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f841
push dword [ebp + 8]
mov ecx, esi
call dword [0x43d1ac]
call esi
jmp 0x42f847
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42f88b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x441928
push 0x441920
push str.FlsGetValue
push 0x21
call fcn.0042f6d5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f8c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x43d1ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42f8ca
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x441930
push 0x441928
push str.FlsSetValue
push 0x22
call fcn.0042f6d5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f904
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43d1ac]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x432a00
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 0x432a9d
push ebx
push esi
call fcn.004329c9
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.0042d46a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x432a4a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x432a9c
push edi
push eax
call fcn.0042bc3c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x432a6a
call fcn.0042bc02
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x432a9b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042d46a
add esp, 0x20
test eax, eax
jne 0x432a89
push edi
call fcn.0042bc02
jmp 0x432a91
push ebx
call fcn.0042bc02
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 0x434eef
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042ceb9
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 0x434f5e
cmp esi, dword [ebp - 4]
je 0x434f59
cmp dword [ebp + 0xc], 0
je 0x434f59
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x434f36
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00434a2c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x434f60
xor eax, eax
inc eax
jmp 0x434f60
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x434fc5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x452020]
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.0042ceb9
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.0042ceb9
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 0x43503c
cmp word [ecx], dx
je 0x43503c
mov eax, dword [0x441f44]
push edi
dec eax
push eax
push 0x441e30
call fcn.00434f64
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4350af
cmp word [eax], dx
je 0x4350af
mov eax, dword [edi]
test eax, eax
je 0x435060
cmp word [eax], dx
je 0x435060
lea eax, [ebp - 0x10]
push eax
call fcn.00434932
jmp 0x435069
lea eax, [ebp - 0x10]
push eax
call fcn.004349cd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4350d9
mov eax, dword [0x441e2c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x441b20
call fcn.00434f64
add esp, 0xc
test al, al
je 0x4350d9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4350a4
cmp word [eax], di
je 0x4350a4
lea eax, [ebp - 0x10]
push eax
call fcn.00434932
pop ecx
jmp 0x4350db
lea eax, [ebp - 0x10]
push eax
call fcn.004349cd
jmp 0x4350a1
mov eax, dword [edi]
test eax, eax
je 0x4350c6
cmp word [eax], dx
je 0x4350c6
lea eax, [ebp - 0x10]
push eax
call fcn.004348e7
pop ecx
jmp 0x4350d9
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 0x4351a4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00434de9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4351a4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4351a4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4351a4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435131
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042fa0a
test ebx, ebx
je 0x43519f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042fa0a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4351a4
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 0x4351a4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004384a0
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4351a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d1ec
leave
ret
Function at 0x438d80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438dad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438dad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret