joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10041d50
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.10041f20
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10041e2d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005a688]
jb 0x10041d9a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005a68c]
ja 0x10041d9a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10041d6a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10041dbf
jmp 0x10041e2d
cmp dword [ebp - 0x14], 0x10000
jne 0x10041e13
cmp dword [ebp - 0x18], 0x10000
jb 0x10041e13
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10041df6
mov eax, dword [ebp - 8]
jmp 0x10041e2f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10041e06
xor eax, eax
jmp 0x10041e2f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10041e28
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10041f20
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10041d6a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10041e40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10041f50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10041f15
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005a688]
jb 0x10041e85
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005a68c]
ja 0x10041e85
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10041e55
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10041eaa
jmp 0x10041f15
cmp dword [ebp - 0x14], 0x10000
jne 0x10041efe
cmp dword [ebp - 0x18], 0x10000
jb 0x10041efe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10041ee1
mov eax, dword [ebp - 8]
jmp 0x10041f17
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10041ef1
xor eax, eax
jmp 0x10041f17
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10041f10
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10041f50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10041e55
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10041f80
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10042370
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1005b6b4], 0
jne 0x10041fbd
cmp dword [0x1005b6b0], 0
je 0x10041fbd
mov eax, dword [0x1005b6b0]
mov dword [0x1005b6b4], eax
cmp dword [0x1005b6b4], 0
je 0x1004203a
mov ecx, dword [0x1005b6b4]
cmp dword [ecx + 8], 0
je 0x1004203a
mov edx, dword [0x1005b6b4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1004203a
mov ecx, dword [0x1005b6b4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1004203a
mov eax, dword [0x1005b6b4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10042009
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10042010
xor eax, eax
jmp 0x10042159
mov ecx, dword [0x1005b6b4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10042159
mov edx, dword [0x1005b6b0]
mov dword [0x1005b6b4], edx
jmp 0x10042056
mov eax, dword [0x1005b6b4]
mov ecx, dword [eax + 4]
mov dword [0x1005b6b4], ecx
cmp dword [0x1005b6b4], 0
je 0x10042096
cmp dword [0x1005b6b4], 0
je 0x10042094
mov edx, dword [0x1005b6b4]
cmp dword [edx + 8], 0
je 0x10042094
mov eax, dword [0x1005b6b4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10042094
mov edx, dword [0x1005b6b4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10042094
jmp 0x10041fee
jmp 0x10042048
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10042160
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10042157
mov eax, dword [ebp - 0x18]
mov dword [0x1005b6b4], eax
mov ecx, dword [0x1005b6b4]
mov dword [ecx], 0x52727464
mov edx, dword [0x1005b6b4]
mov dword [edx + 8], 0
mov eax, dword [0x1005b6b4]
mov ecx, dword [0x1005b6b0]
mov dword [eax + 4], ecx
mov edx, dword [0x1005b6b4]
mov dword [0x1005b6b0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1005b6b4]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10042127
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10042147
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1004211e
mov eax, dword [0x1005b6b4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10041fee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10042ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1005b6b0]
mov dword [ebp - 4], eax
jmp 0x10042eb9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10042ee0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10042ede
call sub.KERNEL32.dll_GetLastError
jmp 0x10042ee2
jmp 0x10042eb0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10043380
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1005b6c0], eax
je 0x100433a4
mov eax, 0x10dd
jmp 0x1004354c
cmp dword [0x1005b6c4], 0
je 0x100433b7
mov eax, dword [0x1005b6c4]
jmp 0x1004354c
cmp dword [ebp + 0xc], 0
jne 0x100433c7
mov eax, 0x57
jmp 0x1004354c
cmp dword [ebp + 8], 0
jne 0x100433d7
mov eax, 6
jmp 0x1004354c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10043400
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1005b6c4], ecx
mov edx, dword [ebp + 8]
mov dword [0x1005b6c8], edx
mov eax, dword [ebp - 8]
jmp 0x1004354c
push 0x18
call fcn.10044a2b
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1004345b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1005b6c4], ecx
cmp dword [ebp - 4], 0
je 0x1004344a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10044bbe
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1005b6c8], ecx
mov eax, dword [ebp - 8]
jmp 0x1004354c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10043360
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10043360
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1004349b
cmp dword [ebp - 0xc], 0x1e
jbe 0x100434b7
mov dword [ebp - 8], 9
cmp dword [0x1005b6b8], 0
je 0x100434b2
jmp 0x10043429
jmp 0x10043420
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x100434de
mov dword [ebp - 8], 9
cmp dword [0x1005b6b8], 0
je 0x100434d9
jmp 0x10043429
jmp 0x10043420
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10043509
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10043420
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1005b6d0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1005b6d0], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10043560
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1005b6c0], eax
je 0x1004357d
mov eax, 0x10dd
jmp 0x10043660
mov eax, dword [0x1005b6d0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100435fc
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100435d8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100435d8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10042400
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10044bbe
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10043585
mov dword [0x1005b6d0], 0
call fcn.10042ce0
mov ecx, dword [0x1005b6cc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1004364a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10044bbe
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10043614
mov dword [0x1005b6cc], 0
mov dword [0x1005b6c0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10043b40
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1005b6c4], 0
je 0x10043b59
mov eax, dword [0x1005b6c4]
jmp 0x10043bf8
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10043b6a
xor eax, eax
jmp 0x10043bf8
push 8
call fcn.10044a2b
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10043bc2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10043bab
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10044bbe
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1005b6c4], eax
mov dword [0x1005b6c8], 0
mov eax, dword [ebp - 8]
jmp 0x10043bf8
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10043bda
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10043b8a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1005b6cc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1005b6cc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x668657ef
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x4fa21c7b
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x405ea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00406178
mov byte [esp], al
cmp byte [esp], 0
jne 0x406029
test edi, edi
je 0x406029
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405f69
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405f44
cmp edi, 0xffffffff
je 0x405f05
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405f05
mov byte [esp], 0
jmp 0x406029
cmp dword [esi], 1
jg 0x405f44
cmp dword [esi], 0
jne 0x405f36
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405f36
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406029
lea eax, [esp + 0xc]
call fcn.00405c2c
dec ebp
test ebp, ebp
jg 0x405eea
cmp edi, 0xffffffff
je 0x405f69
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405f67
mov byte [esp], 0
jmp 0x406029
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405eae
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405f69
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004060a4
mov edx, eax
mov ebx, dword [0x48b8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405fcd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405fcb
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405fcd
xor edi, edi
cmp byte [esp], 0
je 0x405ff3
mov ebx, dword [esi]
test bl, 1
jne 0x406009
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405fd3
mov byte [esp + 1], 1
jmp 0x406009
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405ff3
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405f80
cmp byte [esp], 0
je 0x406029
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x406bf0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b054], 0
je 0x406c57
cmp word [0x48b340], 0xd7b2
jne 0x406c19
cmp dword [0x48b348], 0
jbe 0x406c19
mov eax, 0x48b33c
call dword [0x48b358]
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
mov eax, 0x406c84
call fcn.00407810
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x486036], 0
jne 0x406c73
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406e18
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 [0x486038], 0
je 0x406e43
mov edx, edi
mov eax, esi
call dword [0x486038]
mov ebx, eax
jmp 0x406e54
mov eax, 8
call fcn.00404fbc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x48b055], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406de0
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 0x406e84
mov eax, ebx
call fcn.00404fd8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40a334
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 0x40a49b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406f58
cmp si, word [0x486a10]
jb 0x40a3cc
cmp si, word [0x486c10]
ja 0x40a3cc
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40a3cc
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x486a10]
jae 0x40a3a6
mov edi, ebx
dec edi
jmp 0x40a3c7
cmp si, word [ebx*8 + 0x486a10]
jbe 0x40a3b6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40a3c7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x486a14]
call fcn.0040a250
jmp 0x40a3cc
cmp edi, dword [ebp - 8]
jae 0x40a390
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40a47b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a47b
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.00407acc
push dword [ebp - 0x160]
push 0x40a4b8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407acc
push dword [ebp - 0x164]
push 0x40a4c8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407acc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a4a2
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406fb8
pop eax
jmp eax
Function at 0x40a650
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 0x40a756
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x48dc0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x48dc24]
jne 0x40a69c
mov eax, esi
mov edx, 0x48dc26
mov ecx, 0x55
call fcn.00407acc
push 0x48dc0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a73e
push 0x48dc0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406f58
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a70b
cmp byte [0x48dc08], 0
je 0x40a6d0
mov edx, esi
mov eax, ebx
call fcn.0040a534
jmp 0x40a70b
mov edx, esi
mov eax, ebx
call fcn.0040a334
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40a70b
cmp dword [esi], 0
je 0x40a6f4
mov eax, esi
mov edx, 0x40a770
call fcn.00407bb8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040a334
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407bb8
push 0x48dc0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x48dc24], bx
mov eax, dword [esi]
call fcn.00407a40
mov ecx, eax
mov eax, 0x48dc26
mov edx, 0xaa
call fcn.0040a1b0
push 0x48dc0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a75d
lea eax, [ebp - 4]
call fcn.00406f58
pop eax
jmp eax
Function at 0x40a998
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040704c
xor eax, eax
push ebp
push 0x40abc0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a9de
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a9f8
mov eax, dword [ebp - 4]
call fcn.00407a40
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040a1b0
cmp word [ebp - 0x21e], 0
je 0x40aba3
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40abd0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40aac7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40abd0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40aac7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ac0c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40aac7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ac0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40aac7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ac40
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40aac7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ac74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40aba3
xor eax, eax
push ebp
push 0x40ab9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040a798
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ab2a
mov eax, dword [ebp - 0x14]
call fcn.00404fbc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00407a90
jmp 0x40ab75
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40acb4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ab75
mov eax, dword [ebp - 0x14]
call fcn.00404fbc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40acb4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00407a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aba3
cmp dword [ebp - 0xc], 0
je 0x40ab90
mov eax, dword [ebp - 0xc]
call fcn.00404fd8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40abc7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406fb8
pop eax
jmp eax