joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c7eb
Capabilities:
Get common file path
Get file attributes

Disassembly:
push edi
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
pop edi
ret

Function at 0x43c84a
Capabilities:
Get common file path
Get file attributes

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret

Function at 0x43c96b
Capabilities:
Get file attributes
Get memory capacity

Disassembly:
sub esp, 0x44
push ebx
push ebp
push 0x40
pop ebp
lea eax, [esp + 8]
mov dword [esp + 8], ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ebx, 0x498308
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 8]
mov dword [esp + 8], ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
pop ebx
add esp, 0x44
ret

Function at 0x43c9d3
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ebx, ebx
push 0x64
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
call esi
push 0x64
push ebx
call edi
push eax
call esi
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x64
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
call esi
push 0x64
push ebx
call edi
push eax
call esi
pop edi
pop esi
pop ebx
ret

Function at 0x43cacc
Capabilities:
Get file attributes
Get memory capacity

Disassembly:
sub esp, 0x20
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0x20
jmp dword [sym.imp.KERNEL32.dll_GetTickCount]
Function at 0x43d3c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov ebx, ecx
movlpd qword [ebp - 8], xmm0
jb 0x43d416
ja 0x43d3e8
cmp dword [ebp + 8], 0
jbe 0x43d416
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x14]
and ecx, 7
shl ecx, 3
call fcn.0048ba20
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0xc]
jb 0x43d3ee
ja 0x43d416
cmp esi, dword [ebp + 8]
jb 0x43d3ee
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43dc25
Capabilities:
Get file attributes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
leave
ret

Function at 0x43dc5a
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esp, 0x208
ret

Function at 0x43dcd7
Capabilities:
Get common file path
Get disk size
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 0x210]
push esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x64
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop esi
leave
ret

Function at 0x43dd4c
Capabilities:
Get common file path
Get file attributes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
leave
ret

Function at 0x43deab
Capabilities:
Get common file path
Get file attributes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
lea eax, [ebp - 0x248]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0x498308
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
leave
ret
Function at 0x43ef12
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 8
mov esi, ecx
call fcn.0046967c
mov edx, dword [esp + 0x18]
lea edi, [esi + 4]
push edi
xor ebx, ebx
push ebx
mov edx, dword [edx]
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x20]
push 0x43f095
push ebx
push ebx
mov ecx, dword [edx]
mov dword [eax + 4], ecx
call fcn.0046e739
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x43ef54
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
push 6
mov dword [edi], ebx
call fcn.0045183d
int3

Function at 0x43ef5e
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x50
mov ebx, ecx
call fcn.0046967c
mov esi, dword [esp + 0x20]
mov edi, eax
pop ecx
push esi
mov ecx, edi
call fcn.00403942
lea ecx, [esi + 0x18]
push ecx
lea ecx, [edi + 0x18]
call fcn.00403942
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00403942
mov eax, dword [esp + 0x18]
lea esi, [ebx + 4]
push esi
xor ebp, ebp
push ebp
mov eax, dword [eax]
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x1c]
push edi
push 0x43f0b8
push ebp
mov eax, dword [eax]
push ebp
mov dword [edi + 0x4c], eax
call fcn.0046e739
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x43efca
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc
push 6
mov dword [esi], ebp
call fcn.0045183d
int3
Function at 0x445602
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
mov ebx, ecx
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00446547
xor edi, edi
cmp dword [ebp + 0x18], edi
jbe 0x445657
cmp dword [ebp + 0x1c], 0xf
lea esi, [ebp + 8]
lea ecx, [ebp + 0x20]
mov eax, edi
cmova esi, dword [ebp + 8]
cmp dword [ebp + 0x34], 0xf
cmova ecx, dword [ebp + 0x20]
xor edx, edx
div dword [ebp + 0x30]
mov dl, byte [edx + ecx]
lea ecx, [ebp - 0xb8]
xor dl, byte [esi + edi]
call fcn.00446f9d
inc edi
cmp edi, dword [ebp + 0x18]
jb 0x445623
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00446c93
cmp dword [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 8]
cmova ecx, dword [ebp - 0x18]
add eax, ecx
cmp dword [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
cmova ecx, dword [ebp - 0x18]
push ecx
push eax
push ecx
mov ecx, ebx
call fcn.004470b7
lea ecx, [ebp - 0x18]
call fcn.00403a68
lea ecx, [ebp - 0x60]
call fcn.00446518
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x498904
push eax
call fcn.004560fd
pop ecx
lea ecx, [ebp + 8]
call fcn.00403a68
lea ecx, [ebp + 0x20]
call fcn.00403a68
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4458f3
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov edi, ebp
mov esi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], 0xf
mov byte [ebp], bl
test eax, eax
je 0x445a7c
push 3
pop edi
jmp 0x44592e
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x24], eax
mov al, byte [edx]
inc edx
mov byte [esp + esi + 0x14], al
inc esi
mov ah, byte [esp + 0x16]
mov cl, byte [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dl, byte [esp + 0x15]
mov byte [esp + 0x13], ah
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], cl
cmp esi, edi
jne 0x4459c9
mov al, cl
mov esi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [esp + 0x19], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
and ah, 0x3f
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], ah
cmp dword [0x4a12d4], 7
mov ecx, 0x4a12c0
movzx eax, byte [esp + esi + 0x18]
cmova ecx, dword [0x4a12c0]
movzx eax, byte [ecx + eax*2]
mov ecx, ebp
push eax
call fcn.00442d7a
inc esi
cmp esi, 4
jl 0x445991
mov dl, byte [esp + 0x11]
mov esi, ebx
mov cl, byte [esp + 0x12]
mov ah, byte [esp + 0x13]
cmp dword [esp + 0x24], ebx
jne 0x445926
test esi, esi
je 0x445a7c
cmp esi, edi
jge 0x445a00
mov eax, edi
sub eax, esi
push eax
lea eax, [esp + 0x18]
add eax, esi
push ebx
push eax
call fcn.0046c270
mov ah, byte [esp + 0x22]
add esp, 0xc
mov dl, byte [esp + 0x15]
mov cl, byte [esp + 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ah
mov byte [esp + 0x19], cl
shr al, 6
and ah, 0x3f
add dl, al
mov byte [esp + 0x1b], ah
lea eax, [esi + 1]
mov byte [esp + 0x1a], dl
test eax, eax
jle 0x445a68
lea edi, [esi + 1]
cmp dword [0x4a12d4], 7
mov ecx, 0x4a12c0
movzx eax, byte [esp + ebx + 0x18]
cmova ecx, dword [0x4a12c0]
movzx eax, byte [ecx + eax*2]
mov ecx, ebp
push eax
call fcn.00442d7a
inc ebx
cmp ebx, edi
jl 0x445a3c
push 3
pop edi
cmp esi, edi
jge 0x445a7c
sub edi, esi
push 0x3d
mov ecx, ebp
call fcn.00442d7a
sub edi, 1
jne 0x445a6e
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x448d56
Capabilities:
Terminate process

Disassembly:
push edi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x448d83
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
setne al
pop edi
ret
xor al, al
pop edi
ret
Function at 0x448ecd
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
mov esi, edi
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push edi
cmova eax, dword [ebp + 8]
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp esi, 3
jg 0x44906b
cmp ebx, 0xffffffff
jne 0x448f1d
lea ecx, [ebp + 8]
call fcn.00448d87
inc esi
jmp 0x448ee1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ecx
mov esi, eax
lea ecx, [esp + 0x1c]
push esi
call fcn.004493f4
push edi
lea eax, [esp + 0x18]
push eax
push esi
push dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], esi
je 0x448f6d
cmp dword [ebp + 0x30], edi
je 0x448f61
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x449062
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0x24], ax
xor edi, edi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.00404d6f
cmp dword [ebp + 0x30], edi
lea ecx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovne eax, ecx
lea ecx, [esp + 0x24]
push eax
call fcn.004048e1
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, dword [esi + 0x20]
je 0x448fe5
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00403f4c
add dword [esi + 0x1c], 0x24
jmp 0x448ff0
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00449c68
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x30], edi
je 0x44900e
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x449059
mov eax, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
cmp eax, 0x1000
jb 0x449044
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402d14
mov eax, dword [esp + 0x14]
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004698fd
pop ecx
pop ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x24]
call fcn.00403a1a
lea ecx, [esp + 0x18]
call fcn.00403e2c
lea ecx, [ebp + 8]
call fcn.00403a1a
lea ecx, [ebp + 0x20]
call fcn.00403a1a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x44a364
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [esp + 0x18], 7
lea eax, [esp + 4]
push ebx
cmova eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44a385
xor bl, bl
jmp 0x44a38b
shr ebx, 4
and bl, 1
lea ecx, [esp + 8]
call fcn.00403a1a
mov al, bl
pop ebx
ret

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

Disassembly:
cmp dword [esp + 0x18], 7
lea eax, [esp + 4]
push ebx
cmova eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44a3b9
xor bl, bl
jmp 0x44a3c1
shr ebx, 4
not bl
and bl, 1
lea ecx, [esp + 8]
call fcn.00403a1a
mov al, bl
pop ebx
ret
Function at 0x450b16
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2c]
push str.GetKeyboardLayout
call fcn.00405036
lea ecx, [ebp - 0x2c]
call fcn.00450be1
push 0
call eax
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00403a68
push 9
lea eax, [ebp - 0x14]
push eax
push 0x1001
movzx eax, si
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 2
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004495a9
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x450fc0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x74
pop eax
push 0x46
mov word [esp + 0x1c], ax
mov ebx, 0xf2
pop eax
push 0x7f
mov word [esp + 0x1e], ax
pop eax
push 0x38
mov word [esp + 0x20], ax
add eax, 0xc
mov word [esp + 0x22], ax
pop eax
push 0x6d
mov word [esp + 0x24], ax
add eax, 0x6a
mov word [esp + 0x26], ax
pop eax
push 0x7b
mov word [esp + 0x28], ax
add eax, 0x6b
mov word [esp + 0x2a], ax
pop eax
push 0x44
mov word [esp + 0x2c], ax
pop eax
push 0x50
pop ecx
push 0x1d
pop ebp
push 0x4c
mov word [esp + 0x2e], ax
lea esi, [ecx + 0x3d]
add eax, 0x78
mov word [esp + 0x30], cx
mov word [esp + 0x32], ax
lea eax, [ecx + 0x3c]
mov word [esp + 0x36], ax
pop eax
push 0x41
mov word [esp + 0x38], ax
pop eax
push 0x7d
pop edx
push 0x65
mov word [esp + 0x3c], ax
pop eax
push 6
pop edi
mov word [esp + 0x3c], ax
add eax, 0x23
push 0x5b
mov word [esp + 0x42], ax
pop eax
push 0x7a
mov word [esp + 0x48], ax
pop eax
push 0x65
mov word [esp + 0x4e], ax
pop eax
mov word [esp + 0x4c], ax
add eax, 0x37
push 0x1a
mov word [esp + 0x52], ax
pop eax
mov word [esp + 0x50], ax
add eax, 0x77
mov word [esp + 0x30], bp
mov word [esp + 0x36], bx
mov word [esp + 0x3a], dx
mov word [esp + 0x40], di
mov word [esp + 0x42], si
mov word [esp + 0x46], bx
mov word [esp + 0x48], cx
mov word [esp + 0x52], ax
push 0x4d
pop eax
push 0x49
pop ecx
mov word [esp + 0x54], ax
lea eax, [ebx + 6]
push 0x6f
mov word [esp + 0x5a], ax
pop eax
mov word [esp + 0x5c], ax
add eax, 0x4b
mov word [esp + 0x5e], ax
lea eax, [ebp + 0x73]
push 0x56
mov word [esp + 0x66], ax
pop eax
push 0x55
mov word [esp + 0x68], ax
mov word [esp + 0x5c], cx
mov word [esp + 0x6c], cx
pop ecx
push 0x6c
pop eax
mov word [esp + 0x6c], ax
add eax, 0x45
mov word [esp + 0x6e], ax
push 0x4c
pop eax
mov word [esp + 0x74], ax
lea eax, [ebx - 9]
mov word [esp + 0x76], ax
push 0x46
pop eax
mov word [esp + 0x78], ax
push 0x65
pop eax
mov word [esp + 0x7a], ax
add eax, 0x7a
mov word [esp + 0x7e], ax
mov eax, dword fs:[0x2c]
mov word [esp + 0x6a], cx
mov word [esp + 0x7c], cx
mov word [esp + 0x72], si
mov ecx, dword [eax]
mov word [esp + 0x5a], dx
mov word [esp + 0x60], bp
mov word [esp + 0x66], bx
mov eax, dword [ecx + 0x930]
lea esi, [ecx + 0x938]
mov word [esp + 0x70], di
test al, 1
jne 0x4511a5
xorps xmm0, xmm0
mov byte [esi + 0x68], 1
or eax, 1
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x930], eax
mov ecx, dword [esp + 0x10]
mov ax, word [esp + ecx*2 + 0x18]
mov word [esi + ecx*2], ax
add ecx, 1
adc edx, 0
jne 0x45119a
cmp ecx, 0x34
jb 0x451184
push 0x48ebbf
call fcn.004699af
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x4695b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004728b8
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4695f3
sub eax, 1
je 0x4695ee
sub eax, 1
je 0x4695ea
xor eax, eax
leave
ret
push 3
jmp 0x4695f5
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x46a1b7
Capabilities:
Parse pe header

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

Function at 0x47d4bb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x494464
push 0x49445c
push str.FlsAlloc
push 0x1f
call fcn.0047d2e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47d4ef
push dword [ebp + 8]
mov ecx, esi
call dword [0x48f1bc]
call esi
jmp 0x47d4f5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x47d539
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x494474
push 0x49446c
push str.FlsGetValue
push 0x21
call fcn.0047d2e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47d570
push dword [ebp + 8]
mov ecx, esi
call dword [0x48f1bc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x47d578
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49447c
push 0x494474
push str.FlsSetValue
push 0x22
call fcn.0047d2e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47d5b2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x48f1bc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x482979
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 0x482a16
push ebx
push esi
call fcn.00482942
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.00481948
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4829c3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x482a15
push edi
push eax
call fcn.0047dd80
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4829e3
call fcn.0047dc7c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x482a14
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00481948
add esp, 0x20
test eax, eax
jne 0x482a02
push edi
call fcn.0047dc7c
jmp 0x482a0a
push ebx
call fcn.0047dc7c
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 0x482a19
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x482a2a
pop esi
ret
push ebx
push edi
push esi
call fcn.00482942
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0047dd80
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x482a52
push ebx
push esi
push edi
call fcn.0046a650
add esp, 0xc
push 0
call fcn.0047dc7c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4831ac
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00482cc7

Function at 0x485674
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0047c7b0
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 0x4856e3
cmp esi, dword [ebp - 4]
je 0x4856de
cmp dword [ebp + 0xc], 0
je 0x4856de
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4856bb
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004851c6
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4856e5
xor eax, eax
inc eax
jmp 0x4856e5
xor eax, eax
pop edi
pop esi
leave
ret