joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42534c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4254c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0045b504
mov eax, dword [ebp - 4]
call fcn.00424cac
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42539e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0045c1b0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00425f40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42547d
xor eax, eax
push ebp
push 0x425476
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00424f4c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004254fc
test al, al
je 0x425454
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0045b264
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x425454
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0045bdbc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00424eac
test al, al
je 0x42544e
mov eax, dword [ebp - 8]
call fcn.0045bdbc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0045be0c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042534c
dec ebx
cmp ebx, 0xffffffff
jne 0x4253fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42547d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00424f4c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.0045bdbc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00424f38
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00424eac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4254ce
lea eax, [ebp - 0x3c]
call fcn.0045b0fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045b15c
ret

Function at 0x425e1c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00424cc4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0045bdbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00424eac
test al, al
jne 0x425e84
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e73ac]
mov dl, 1
mov eax, dword [0x423ad0]
call fcn.0044695c
call fcn.0045a920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0045bdbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00424eac
test al, al
jne 0x425ef1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e73b0]
mov dl, 1
mov eax, dword [0x423ad0]
call fcn.0044695c
call fcn.0045a920
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424cf4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4264f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x426618
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00424f4c
xor eax, eax
push ebp
push 0x4265f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004254fc
test al, al
je 0x4265d7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004263d0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0045b264
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4265d7
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045bdbc
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00424eac
test al, al
je 0x4265d3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0045bdbc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0045be0c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004263d0
pop ecx
inc edi
dec ebx
jne 0x42657b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4265fa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00424f4c
ret
Function at 0x426628
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x426876
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00424f4c
xor eax, eax
push ebp
push 0x42684c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004254fc
test al, al
je 0x426830
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0045b264
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x426830
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0045bdbc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00424eac
test al, al
je 0x426824
mov eax, dword [ebp - 4]
call fcn.0045bdbc
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0045be0c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00425f40
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x426824
xor eax, eax
push ebp
push 0x42681d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.00424f4c
xor eax, eax
push ebp
push 0x4267ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045bdbc
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0045be0c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00424f50
mov eax, dword [ebp - 4]
call fcn.0045bdbc
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0045be0c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00425f40
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4267dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004264f0
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00426628
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4267e3
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4266b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426853
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00424f4c
ret
Function at 0x441774
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4417cd
test eax, edx
je 0x4417d0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x44178b
movzx eax, word [eax]
sub eax, ecx
jmp 0x4417b2
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4417b3
add ecx, 4
js 0x4417a3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4417b0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4417b2
xor eax, eax
ret
test eax, eax
je 0x4417dc
test edx, edx
jne 0x44177c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4458dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x445915
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0045b264
jmp 0x44591e
mov eax, ebx
mov edx, esi
call fcn.0045b4bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x445928
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x44594a
movzx eax, word [esp]
jmp 0x44594c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x446608
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x44672d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00446418
mov esi, eax
mov eax, dword [0x4e7170]
cmp byte [eax], 0
je 0x4466d5
mov eax, dword [0x4e7178]
call fcn.0045912c
call fcn.00458dac
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4465e0]
call fcn.0045cf4c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x446748
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x446711
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e6fdc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e73e4]
call fcn.0045d040
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446734
lea eax, [ebp - 4]
mov edx, dword [0x4465e0]
call fcn.0045cf58
ret

Function at 0x447788
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44785e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0045b504
lea eax, [ebp - 4]
call fcn.0045b66c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045bdbc
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x447848
mov eax, ebx
call fcn.00458ba8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x447841
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045bdbc
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x44782b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x447870
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x44782b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447848
mov eax, dword [ebp - 0x10]
call fcn.00458bc4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447865
lea eax, [ebp - 4]
call fcn.0045b0fc
ret
Function at 0x448074
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0045b5ac
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0045ea54
mov edi, eax
cmp edi, 0x104
jbe 0x44801f
mov eax, edi
add eax, eax
call fcn.00458ba8
mov esi, eax
jmp 0x448021
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0045ea54
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x44805a
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x448044
mov eax, esp
cmp esi, eax
je 0x448067
mov eax, esi
call fcn.00458bc4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4480a0
cmp bl, 0
je 0x44809c
cmp bl, 0x41
jl 0x448097
cmp bl, 0x5a
jg 0x448097
or bl, 0x20
xor al, bl
inc esi
jmp 0x44807b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x447fe0

Function at 0x448838
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0045be48
add esp, 0x800
pop ebx
ret

Function at 0x458fb8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0045b0fc
test esi, esi
jne 0x458fee
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0045b264
jmp 0x45900c
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00458efc
mov edi, eax
test esi, esi
je 0x45900c
cmp dword [ebx], 0
je 0x45900c
dec esi
jmp 0x458ff5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x459f7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0045a368
mov byte [esp], al
cmp byte [esp], 0
jne 0x45a105
test edi, edi
je 0x45a105
mov byte [esp + 1], 0
test ebp, ebp
jle 0x45a03c
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x45a017
cmp edi, 0xffffffff
je 0x459fdb
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x459fdb
mov byte [esp], 0
jmp 0x45a105
mov ebx, dword [esi]
cmp ebx, 1
jg 0x45a017
test ebx, ebx
jne 0x45a010
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00456f68
test eax, eax
jne 0x45a010
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x45a105
pause
dec ebp
test ebp, ebp
jg 0x459fc0
cmp edi, 0xffffffff
je 0x45a03c
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x45a03a
mov byte [esp], 0
jmp 0x45a105
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x459f8a
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00456f68
cmp ebx, eax
jne 0x45a03c
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0045a178
mov edx, eax
mov ebx, dword [0x4ea33c]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x45a0a3
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x45a0a1
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x45a0a3
xor edi, edi
cmp byte [esp], 0
je 0x45a0cc
mov ebx, dword [esi]
test bl, 1
jne 0x45a0e5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00456f68
cmp ebx, eax
jne 0x45a0a9
mov byte [esp + 1], 1
jmp 0x45a0e5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00456f68
cmp ebx, eax
jne 0x45a0cc
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x45a056
cmp byte [esp], 0
je 0x45a105
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45adac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e9ac4], 0
je 0x45ae0d
cmp word [0x4e9da0], 0xd7b2
jne 0x45add5
cmp dword [0x4e9da8], 0
jbe 0x45add5
mov eax, 0x4e9d9c
call dword [0x4e9db8]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x45ae38
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4e0210], 0
jne 0x45ae29
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x45afb8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4e01e0], 0
je 0x45afe3
mov edx, edi
mov eax, esi
call dword [0x4e01e0]
mov ebx, eax
jmp 0x45aff4
mov eax, 8
call fcn.00458ba8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4e9ac5], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x45af80
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x45b029
mov edx, 8
mov eax, ebx
call fcn.00458bc4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x45d4fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45d661
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045b0fc
cmp si, word [0x4e09d0]
jb 0x45d594
cmp si, word [0x4e0bd0]
ja 0x45d594
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x45d594
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4e09d0]
jae 0x45d56e
mov edi, ebx
dec edi
jmp 0x45d58f
cmp si, word [ebx*8 + 0x4e09d0]
jbe 0x45d57e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x45d58f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4e09d4]
call fcn.0045d40c
jmp 0x45d594
cmp edi, dword [ebp - 8]
jae 0x45d558
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x45d643
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x45d643
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0045be48
push dword [ebp - 0x160]
push 0x45d67c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0045be48
push dword [ebp - 0x164]
push 0x45d68c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0045be48
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0045c080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d668
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0045b15c
ret
Function at 0x45d814
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d917
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ec5cd
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x4ec5e6]
jne 0x45d860
mov eax, esi
mov edx, 0x4ec5e8
mov ecx, 0x55
call fcn.0045be48
push 0x4ec5cd
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x45d901
push 0x4ec5cd
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0045b0fc
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x45d8cf
cmp byte [0x4ec5cc], 0
je 0x45d894
mov edx, esi
mov eax, ebx
call fcn.0045d6f8
jmp 0x45d8cf
mov edx, esi
mov eax, ebx
call fcn.0045d4fc
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x45d8cf
cmp dword [esi], 0
je 0x45d8b8
mov eax, esi
mov edx, 0x45d930
call fcn.0045bfa0
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0045d4fc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0045bfa0
push 0x4ec5cd
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x4ec5e6], bx
push 0xaa
mov eax, dword [esi]
call fcn.0045bdbc
push eax
push 0x4ec5e8
call sub.KERNEL32.DLL_lstrcpynW
push 0x4ec5cd
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d91e
lea eax, [ebp - 4]
call fcn.0045b0fc
ret