joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 1
jne 0x1003a701
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10038ae5
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.10038a46
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1003aa4d
invalid
cmp dword [ebp - 0x6fc], 2
jne 0x1003a7be
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov bl, 0xc6
test dword [ecx - 8], ebp
invalid
dec dword [esi + eax*8 - 0x7957b]
inc dword [eax - 0x7947a3a]
invalid
inc dword [ecx - 0x7937a3a]
invalid
call [ebp - 0x7927a3a]
invalid
dec dword [edx - 0x7917a3a]
invalid
call [esi + eax*8 - 0x7907b]
inc ecx
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
cmp dword [ebp - 0x6fc], 3
jne 0x1003a85f
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.10038ae5
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.10038a46
add esp, 0xc
jmp 0x1003aa4d
cmp dword [ebp - 0x6fc], 4
jne 0x1003a909
and byte [ebp - 0x7bc], 0
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 2
and byte [ebp - 0x7b9], 0
mov byte [ebp - 0x7b8], 0xa1
mov byte [ebp - 0x7b7], 0xb2
mov byte [ebp - 0x7b6], 0xb1
mov byte [ebp - 0x7b5], 0xb8
clc
invalid
invalid
mov eax, 0xf84c85c6
invalid
dec edi
mov byte [ebp - 0x7b3], 0xce
dec esi
mov byte [ebp - 0x7b2], 0xd3
mov byte [ebp - 0x7b1], 0x99
cmp dword [ebp - 0x6fc], 5
Function at 0x4020cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4211d0]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x41e7f0]
push edi
mov edi, ecx
mov word [ebp - 0x14], 0x6d6f
movups xmmword [ebp - 0x24], xmm0
lea ecx, [ebp - 0x24]
mov edx, edi
movaps xmm0, xmmword [str._114.114.114.114.xkwfsod23.myw:5aaa.jessica651.cwww.jessica651.cGCTHKOFSAwqfcgcntrolSetServicesTcpipParameteocFrwmxfbLdaanSYSTEMCurrentCopdGsxnygcMebboDefaultConnectiothKwbrckgQiffswcEnabrxwRwcnawnc_BnccrwpbLxwwxdFobcsyxSxdobxBxocfjanVrlaxbxCypdgkboWsmbycy]
mov byte [ebp - 0x12], 0
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
call fcn.00402089
cmp eax, 1
jne 0x40213c
lea edx, [ebp - 0x38]
push esi
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402119
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402123
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40216a
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 0x352e3734
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x2e302e37
push eax
push str._s_s
push edi
mov word [ebp - 8], 0x3134
mov byte [ebp - 6], 0
call fcn.004012c6
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040342f
mov esp, ebp
pop ebp
ret
Function at 0x402179
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x4211d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], 0x54535953
lea edx, [ebp - 0x14]
mov word [ebp - 0x18], 0x4d45
mov esi, ecx
mov byte [ebp - 0x16], bl
push edi
mov dword [ebp - 0x14], 0x52525543
lea ecx, [edx + 1]
mov dword [ebp - 0x10], 0x5f544e45
mov dword [ebp - 0xc], 0x52455355
mov word [ebp - 8], 0x5c
mov al, byte [edx]
inc edx
test al, al
jne 0x4021c4
sub edx, ecx
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4021d2
sub ecx, edi
lea eax, [ecx + 1]
add eax, edx
push eax
call fcn.00403913
pop ecx
lea edx, [ebp - 0x14]
mov edi, eax
mov ecx, edx
mov dword [ebp - 0x4b8], edi
sub eax, ecx
mov cl, byte [edx]
mov byte [eax + edx], cl
inc edx
test cl, cl
jne 0x4021f6
mov edx, esi
mov al, byte [esi]
inc esi
test al, al
jne 0x402202
sub esi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40220c
mov ecx, esi
lea eax, [ebp - 0x49b]
mov dword [ebp - 0x4a8], esi
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4a8]
push 0x3ff
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00406080
push 0x7f
lea eax, [ebp - 0x9b]
mov byte [ebp - 0x49c], bl
push ebx
push eax
mov dword [ebp - 0x4b0], 0x400
call fcn.00406080
add esp, 0x18
mov byte [ebp - 0x9c], bl
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4ac], 0x80
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x4a0], ebx
push eax
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4b4], ebx
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
call fcn.0042d2c1
test eax, eax
je 0x40235c
invalid
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x4dc]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push ebx
lea eax, [ebp - 0x4a0]
xor esi, esi
push eax
push ebx
push ebx
push 4
inc esi
push esi
push edi
push ebx
call fcn.0042a817
push 3
push 2
push 0x20019
push str.everyone
lea eax, [ebp - 0x4dc]
push eax
call fcn.0042d5ae
jl 0x402294
test dword [ebx + edi*8 - 1], ebx
call dword [eax - 1]
mov ch, 0x60
sti
invalid
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
mov esp, ebp
pop ebp
ret
Function at 0x40236f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x4211d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x24], 0x696d6441
lea edx, [ebp - 0x14]
mov dword [ebp - 0x20], 0x7473696e
mov esi, ecx
mov dword [ebp - 0x1c], 0x6f746172
push edi
mov word [ebp - 0x18], 0x7372
lea ecx, [edx + 1]
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x14], 0x52525543
mov dword [ebp - 0x10], 0x5f544e45
mov dword [ebp - 0xc], 0x52455355
mov word [ebp - 8], 0x5c
mov al, byte [edx]
inc edx
test al, al
jne 0x4023c8
sub edx, ecx
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4023d6
sub ecx, edi
lea eax, [ecx + 1]
add eax, edx
push eax
call fcn.00403913
pop ecx
lea edx, [ebp - 0x14]
mov edi, eax
mov ecx, edx
mov dword [ebp - 0x4c0], edi
sub eax, ecx
mov cl, byte [edx]
mov byte [eax + edx], cl
inc edx
test cl, cl
jne 0x4023fa
mov edx, esi
mov al, byte [esi]
inc esi
test al, al
jne 0x402406
sub esi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402410
mov ecx, esi
lea eax, [ebp - 0x4a3]
mov dword [ebp - 0x4b0], esi
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4b0]
push 0x3ff
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00406080
push 0x7f
lea eax, [ebp - 0xa3]
mov byte [ebp - 0x4a4], bl
push ebx
push eax
mov dword [ebp - 0x4b8], 0x400
call fcn.00406080
add esp, 0x18
mov byte [ebp - 0xa4], bl
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4b4], 0x80
mov dword [ebp - 0x4ac], ebx
mov dword [ebp - 0x4a8], ebx
push eax
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4bc], ebx
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.0042f1c2
sahf
test eax, eax
je 0x402560
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x4e4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x4c0]
lea eax, [ebp - 0x4bc]
push eax
push ebx
lea eax, [ebp - 0x4a8]
xor esi, esi
push eax
push ebx
push ebx
push 4
inc esi
push esi
push edi
call fcn.0042a31a
mov edx, 0x26a036a
push 0xf003f
push str.everyone
lea eax, [ebp - 0x4e4]
push eax
push ecx
call fcn.0042bab5
lea eax, [ebp - 0x4ac]
push eax
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x4e4]
push eax
push esi
push eax
call fcn.0042abbb
test eax, eax
jne 0x402560
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4a4]
push eax
push esi
push ecx
call fcn.004274b0
push 4
push edi
call esi
push ebx
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x4a4]
push ebx
push eax
push VariantCopy
push 4
push edi
call esi
test eax, eax
push 1
pop eax
cmove ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
mov esp, ebp
pop ebp
ret
Function at 0x402ae7
Capabilities:
Set registry value via stdregprov

Disassembly:
push 0x54
mov eax, 0x41640f
call fcn.00403b8e
mov esi, edx
mov edi, ecx
push 2
xor ebx, ebx
push ebx
call fcn.0043296f
pop ebp
test eax, eax
js 0x402be0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 0x41a354
push 1
push ebx
push 0x41a424
call fcn.00430d14
inc edi
test eax, eax
jns 0x402a84
call fcn.0042a0f7
jp 0x402a69
pop esp
add dword [eax], eax
add byte [ebx + 0x558de845], cl
in al, dx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push str.rootdefault
push eax
call dword [ecx + 0xc]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
push edx
call fcn.0042abe3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ebx
push edx
push ebx
push ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push str.StdRegProv
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push ebx
push edx
push ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push str.SetStringValue
push eax
call dword [ecx + 0x4c]
push 8
pop ebx
push edi
mov word [ebp - 0x60], bx
call fcn.00403190
mov dword [ebp - 0x58], eax
xor edi, edi
lea edx, [ebp - 0x60]
push 0x13
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
push edx
push edi
push str.hDefKey
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push esi
mov word [ebp - 0x50], bx
call fcn.00403190
mov dword [ebp - 0x48], eax
push ebx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
push edx
push edi
push str.sSubKeyName
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push dword [ebp + 8]
mov word [ebp - 0x40], bx
call fcn.00403190
mov dword [ebp - 0x38], eax
push ebx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
push edx
push edi
push str.sValueName
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push dword [ebp + 0xc]
mov word [ebp - 0x30], bx
call fcn.00403190
mov dword [ebp - 0x28], eax
push ebx
mov byte [ebp - 4], 3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
push edx
push edi
push str.sValue
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edi
push edx
push dword [ebp - 0x10]
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
push edi
push edi
push str.SetStringValue
push str.StdRegProv
push eax
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
call fcn.00429313
lea eax, [ebp - 0x30]
push eax
call esi
lea eax, [ebp - 0x40]
push eax
call esi
lea eax, [ebp - 0x50]
push eax
call esi
lea eax, [ebp - 0x60]
push eax
call esi
call fcn.00403b57
ret
Function at 0x403e99
Capabilities:
Parse pe header

Disassembly:
push 0
push edi
call fcn.004293dd
mov ecx, eax
test ecx, ecx
jne 0x403eaa
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x403ea7
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403ea7
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x403ea7
cmp dword [eax + 0x74], 0xe
jbe 0x403ea7
cmp dword [eax + 0xe8], 0
setne al
ret
Function at 0x407094
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4070d6
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryW
push esp
call sub.KERNEL32.DLL_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryW
test bl, bl
je 0x4070f6
lea eax, [esp + 0x212]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.0040b3a8
add esp, 0x41c
pop esi
pop ebx
ret

Function at 0x40734c
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.0040a7d0
test esi, esi
jne 0x407382
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.0040a958
jmp 0x4073a0
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00407230
mov edi, eax
test esi, esi
je 0x4073a0
cmp dword [ebx], 0
je 0x4073a0
dec esi
jmp 0x407389
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x409420
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.004098e0
mov byte [esp], al
cmp byte [esp], 0
jne 0x4095a9
test edi, edi
je 0x4095a9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4094e9
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4094c4
cmp edi, 0xffffffff
je 0x409485
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409485
mov byte [esp], 0
jmp 0x4095a9
cmp dword [esi], 1
jg 0x4094c4
cmp dword [esi], 0
jne 0x4094b6
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4094b6
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4095a9
lea eax, [esp + 0xc]
call fcn.004090dc
dec ebp
test ebp, ebp
jg 0x40946a
cmp edi, 0xffffffff
je 0x4094e9
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4094e7
mov byte [esp], 0
jmp 0x4095a9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40942e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4094e9
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409624
mov edx, eax
mov ebx, dword [0x6d48fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40954d
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40954b
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40954d
xor edi, edi
cmp byte [esp], 0
je 0x409573
mov ebx, dword [esi]
test bl, 1
jne 0x409589
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409553
mov byte [esp + 1], 1
jmp 0x409589
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409573
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x409500
cmp byte [esp], 0
je 0x4095a9
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 0x40a468
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6d405c], 0
je 0x40a4cf
cmp word [0x6d4348], 0xd7b2
jne 0x40a491
cmp dword [0x6d4350], 0
jbe 0x40a491
mov eax, 0x6d4344
call dword [0x6d4360]
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, 0x40a4fc
call fcn.0040aff0
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x6c0032], 0
jne 0x40a4eb
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a690
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 [0x6c0034], 0
je 0x40a6bb
mov edx, edi
mov eax, esi
call dword [0x6c0034]
mov ebx, eax
jmp 0x40a6cc
mov eax, 8
call fcn.00406ef0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x6d405d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a658
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 0x40a6fc
mov eax, ebx
call fcn.00406f0c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40d850
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 0x40d9b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a7d0
cmp si, word [0x6c0a10]
jb 0x40d8e8
cmp si, word [0x6c0c10]
ja 0x40d8e8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d8e8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x6c0a10]
jae 0x40d8c2
mov edi, ebx
dec edi
jmp 0x40d8e3
cmp si, word [ebx*8 + 0x6c0a10]
jbe 0x40d8d2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d8e3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x6c0a14]
call fcn.0040d770
jmp 0x40d8e8
cmp edi, dword [ebp - 8]
jae 0x40d8ac
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d997
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40d997
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.0040b3a8
push dword [ebp - 0x160]
push 0x40d9d0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b3a8
push dword [ebp - 0x164]
push 0x40d9e0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b3a8
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b5e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9bc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a830
ret
Function at 0x40db68
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 0x40dc6c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6d6c14
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x6d6c2c]
jne 0x40dbb4
mov eax, esi
mov edx, 0x6d6c2e
mov ecx, 0x55
call fcn.0040b3a8
push 0x6d6c14
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x40dc56
push 0x6d6c14
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0040a7d0
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40dc23
cmp byte [0x6d6c10], 0
je 0x40dbe8
mov edx, esi
mov eax, ebx
call fcn.0040da4c
jmp 0x40dc23
mov edx, esi
mov eax, ebx
call fcn.0040d850
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40dc23
cmp dword [esi], 0
je 0x40dc0c
mov eax, esi
mov edx, 0x40dc84
call fcn.0040b500
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d850
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b500
push 0x6d6c14
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x6d6c2c], bx
mov eax, dword [esi]
call fcn.0040b2ec
mov ecx, eax
mov eax, 0x6d6c2e
mov edx, 0xaa
call fcn.0040d6d0
push 0x6d6c14
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc73
lea eax, [ebp - 4]
call fcn.0040a7d0
ret
Function at 0x40de9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a8b4
xor eax, eax
push ebp
push 0x40e0c1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40dedc
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x40def6
mov eax, dword [ebp - 4]
call fcn.0040b2ec
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d6d0
cmp word [ebp - 0x21a], 0
je 0x40e0ab
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e0d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dfc5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e0d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dfc5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e10c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dfc5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e10c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dfc5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e140
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dfc5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e174
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e0ab
xor eax, eax
push ebp
push 0x40e0a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040dcac
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e034
mov eax, dword [ebp - 0x10]
call fcn.00406ef0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b354
jmp 0x40e07f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40e1b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e07f
mov eax, dword [ebp - 0x10]
call fcn.00406ef0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40e1b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e0ab
cmp dword [ebp - 8], 0
je 0x40e09a
mov eax, dword [ebp - 8]
call fcn.00406f0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e0c8
lea eax, [ebp - 4]
call fcn.0040a7d0
ret