joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, esi
jbe 0x419a53
push str.transposed_pointer_range
push 0x492794
push 0
push 0x458
push 0x4932c0
push 2
call fcn.00431dd0
add esp, 0x18
cmp eax, 1
jne 0x419a35
int3
push 0
push 0x458
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexutility
push 0x4928c4
push str._transposed_pointer_range_
call fcn.00432610
add esp, 0x14
mov edx, 0x811c9dc5
mov ecx, 0
sub esi, edi
je 0x419a72
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x419a61
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x421a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ae5d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x18
call fcn.0042b3f0
movzx ecx, byte [ebp + 8]
mov esi, eax
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
add ecx, 0xa
mov dword [ebp - 0x14], esi
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 4], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi], vtable.std::_Node_assert.0
mov dword [esi + 0x14], 0
push 0x14
mov dword [ebp - 4], 0
call fcn.0042b3f0
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], edx
add esp, 8
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx], vtable.std::_Node_base.0
mov dword [edx + 4], 1
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421b33
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], esi
mov eax, dword [edi + 0x30]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0xc], esi
mov dword [esi + 0x14], edx
mov dword [edx + 0x10], esi
mov dword [edi + 0x30], edx
call fcn.0041ba00
push esi
lea ecx, [edi + 0x2c]
call fcn.0041bc30
mov dword [edi + 0x30], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret 4
Function at 0x4242c0
Capabilities:
Get common file path
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b110
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0042de70
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.0042de70
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0042de70
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x650], 0
movups xmmword [ebp - 0x64c], xmm0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
call fcn.0042b3f0
lea ecx, [ebp - 0x650]
add esp, 0x28
mov dword [eax + 4], 0
mov dword [ebp - 0x650], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 7
mov word [ebp - 0x64c], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x424423
xor esi, esi
mov ecx, dword [ebp - 0x63c]
mov edi, dword [ebp - 0x638]
movzx edx, word [ebp + esi*2 - 0x21c]
cmp ecx, edi
jae 0x424400
lea eax, [ecx + 1]
cmp edi, 8
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x42441b
push edx
mov byte [ebp - 0x660], 0
lea ecx, [ebp - 0x650]
push dword [ebp - 0x660]
push 1
call fcn.00424a10
inc esi
cmp esi, 3
jl 0x4243c2
jmp 0x424478
push 0x495364
lea ecx, [ebp - 0x67c]
call fcn.004119d0
mov esi, eax
lea eax, [ebp - 0x650]
cmp eax, esi
je 0x424452
mov ecx, eax
call fcn.00412c70
push esi
lea ecx, [ebp - 0x650]
call fcn.00412d50
lea ecx, [ebp - 0x67c]
call fcn.00412c70
mov eax, dword [ebp - 0x67c]
push 8
push eax
mov dword [ebp - 0x67c], 0
call fcn.0042b3d0
add esp, 8
cmp dword [ebp - 0x638], 8
lea ecx, [ebp - 0x428]
push 0x20a
push ecx
lea ecx, [ebp - 0x658]
push ecx
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp - 0x654]
push ecx
push 0x20a
lea ecx, [ebp - 0x634]
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, 1
jne 0x42450e
mov esi, dword [ebp - 0x654]
lea ecx, [ebp - 0x650]
call fcn.00412c70
mov ecx, dword [ebp - 0x650]
push 8
push ecx
mov dword [ebp - 0x650], 0
call fcn.0042b3d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.____GetVolumeInformation___failed__error
mov ecx, 0x49d670
call fcn.00407d70
mov ecx, eax
call fcn.004245e0
mov ecx, eax
call fcn.00405600
push 1
call fcn.00443d00
int3
Function at 0x424540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push esi
push 0
push 0x80
push 3
push 0
push 2
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4245ad
push 4
push 1
call fcn.00443d20
add esp, 8
mov dword [0x49e9ec], eax
push 0
push 0x49e9e8
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x49e9ec]
cmp byte [eax], 0x4d
jne 0x4245ad
cmp byte [eax + 1], 0x5a
jne 0x4245ad
mov bl, 1
jmp 0x4245af
xor bl, bl
lea ecx, [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.0042b3d0
add esp, 8
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x424ef0
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b1bd
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push edx
push 0
mov dword [ebp - 0x470], esi
push 0x410
mov dword [ebp - 0x46c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x424f64
push 0x105
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
push edi
test eax, eax
jne 0x424f92
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
push 0
mov dword [esi + 0x14], 0
mov ecx, esi
push 0x4929f2
mov dword [esi + 0x18], 0
call fcn.00408cd0
jmp 0x425123
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x224]
mov ecx, esi
call fcn.00426710
mov dword [ebp - 4], 0
mov edi, 0x41
mov dword [ebp - 0x46c], 2
nop dword [eax + eax]
xor eax, eax
mov word [ebp - 0x18], di
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x430]
push 0x105
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x16], 0x3a
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4250a3
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x468]
call fcn.00426710
lea edx, [ebp - 0x430]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.00426710
mov byte [ebp - 4], 2
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 0x10
lea ecx, [esi + 4]
cmovae eax, dword [ebp - 0x448]
cmp dword [esi + 0x18], 0x10
jb 0x425038
mov ecx, dword [ecx]
push dword [ebp - 0x438]
mov edx, dword [esi + 0x14]
push eax
push 0
call fcn.00424910
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffff
jne 0x4250ae
lea ecx, [ebp - 0x44c]
call fcn.00406820
mov eax, dword [ebp - 0x44c]
push 8
push eax
mov dword [ebp - 0x44c], 0
call fcn.0042b3d0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.00406820
mov eax, dword [ebp - 0x468]
push 8
push eax
mov dword [ebp - 0x468], 0
call fcn.0042b3d0
add esp, 8
inc edi
cmp edi, 0x5a
jg 0x425123
jmp 0x424fc0
cmp dword [ebp - 0x450], 0x10
lea eax, [ebp - 0x464]
push dword [ebp - 0x454]
cmovae eax, dword [ebp - 0x464]
push eax
push dword [ebp - 0x438]
push ecx
mov ecx, esi
call fcn.004247a0
lea ecx, [ebp - 0x44c]
call fcn.00406820
mov eax, dword [ebp - 0x44c]
push 8
push eax
mov dword [ebp - 0x44c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x468]
call fcn.00406820
mov eax, dword [ebp - 0x468]
push 8
push eax
mov dword [ebp - 0x468], 0
call fcn.0042b3d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
Function at 0x426ab0
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b487
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
push 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.0042b3f0
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x240], 1
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x23c], 9
lea eax, [ebp - 0x218]
push 0
jne 0x426b72
push 0x29
jmp 0x426b74
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x264]
call fcn.00426710
mov edi, eax
cmp esi, edi
je 0x426ba3
mov ecx, esi
call fcn.00406820
push edi
mov ecx, esi
call fcn.00406a60
lea ecx, [ebp - 0x264]
call fcn.00406820
mov ecx, dword [ebp - 0x264]
push 8
push ecx
mov dword [ebp - 0x264], 0
call fcn.0042b3d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
Function at 0x4310c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00430ce0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4310f2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x47c210]
call dword [ebp - 8]
jmp 0x4310fc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x459db0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00478870
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x49e4f0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x459f88
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x459ed7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x459ed7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x459eb5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x459e39
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x459f41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x459fa8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x459f83
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x459fa8
jmp 0x459e12
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
Function at 0x459fc0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00478870
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x49e4f0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x45a1ab
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x45a0f6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x45a0f6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x45a0d2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x45a049
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45a164
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x45a1cb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x45a1a6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x45a1cb
jmp 0x45a022
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
Function at 0x45ec20
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0045e430
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45ec54
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x47c210]
call dword [ebp - 8]
jmp 0x45ec5a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x45ecb0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0045e470
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45ece4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x47c210]
call dword [ebp - 8]
jmp 0x45ecee
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x45ed00
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0045e490
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45ed38
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x47c210]
call dword [ebp - 8]
jmp 0x45ed46
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x45edd0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0045e510
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45ee10
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x47c210]
call dword [ebp - 8]
jmp 0x45ee2e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0045f0a0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x467000
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00439510
lea ecx, [ebp - 4]
call fcn.00466fd0
movzx eax, al
test eax, eax
jne 0x46703d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x18]
jmp 0x467165
lea ecx, [ebp - 4]
call fcn.004323d0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00466f90
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.004323d0
push eax
push 0
push 0
call fcn.0045b7b0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4670a3
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x20]
jmp 0x467165
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00434bf0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.0042a990
lea ecx, [ebp - 8]
call fcn.0042b370
movzx edx, al
test edx, edx
jne 0x4670ec
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.0042b350
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x24]
jmp 0x467165
lea ecx, [ebp - 8]
call fcn.0042aa00
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.004323d0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.0045b7b0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x467147
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.0042b350
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x34]
jmp 0x467165
lea ecx, [ebp - 8]
call fcn.00440190
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.0042b350
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x467170
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00439510
lea ecx, [ebp - 4]
call fcn.00466f10
movzx eax, al
test eax, eax
jne 0x4671ad
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x14]
jmp 0x467267
lea ecx, [ebp - 4]
call fcn.004323d0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00466f90
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00434bf0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00439510
lea ecx, [ebp - 8]
call fcn.00440d60
movzx ecx, al
test ecx, ecx
jne 0x46721d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.0043fe20
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x1c]
jmp 0x467267
lea ecx, [ebp - 4]
call fcn.004323d0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.004323d0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0042d8f0
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00440190
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.0043fe20
lea ecx, [ebp - 4]
call fcn.00466ef0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret