joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417eaf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x417edd
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x417ee4
cmp ebx, dword [eax + 4]
jae 0x417ee4
xor eax, eax
jmp 0x4180d4
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x417ef5
xor eax, eax
inc eax
jmp 0x4180d3
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x417f0b
cmp ecx, edx
jae 0x418050
cmp dword [eax + 4], 0
je 0x417f14
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x417efc
cmp dword [ebp + 8], 0
je 0x417f36
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x418050
cmp eax, esi
jae 0x418050
mov eax, dword [0x432a98]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x417f5b
cmp dword [esi*4 + 0x432aa0], edi
je 0x418054
inc esi
cmp esi, eax
jl 0x417f49
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4241ac]
test eax, eax
je 0x4180d0
cmp dword [ebp - 8], 0x1000000
jne 0x4180d0
test byte [ebp - 0xc], 0xcc
je 0x417fd9
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4180d0
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4180d0
cmp word [eax + 0x18], 0x10b
jne 0x4180d0
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4180d0
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x417fd9
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x417fd9
test byte [ecx + 0x27], 0x80
jne 0x418050
push 1
push 0x432ae0
call dword [0x4242b8]
test eax, eax
jne 0x417eed
mov ecx, dword [0x432a98]
test ecx, ecx
mov edx, ecx
jle 0x41800d
lea eax, [ecx*4 + 0x432a9c]
cmp dword [eax], edi
je 0x41800d
dec edx
sub eax, 4
test edx, edx
jg 0x418001
test edx, edx
jne 0x41803e
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41801a
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x418032
lea eax, [edx*4 + 0x432aa0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x418020
cmp ecx, 0x10
jge 0x41803e
inc ecx
mov dword [0x432a98], ecx
push 0
push 0x432ae0
call dword [0x4242b8]
jmp 0x417eed
xor eax, eax
jmp 0x4180d3
test esi, esi
jle 0x417eed
mov ebx, dword [0x4242b8]
push 1
push 0x432ae0
call ebx
test eax, eax
jne 0x417eed
cmp dword [esi*4 + 0x432aa0], edi
je 0x4180aa
mov eax, dword [0x432a98]
lea esi, [eax - 1]
test esi, esi
jl 0x418098
cmp dword [esi*4 + 0x432aa0], edi
je 0x418094
dec esi
jns 0x418088
test esi, esi
jge 0x4180a8
cmp eax, 0x10
jge 0x4180a3
inc eax
mov dword [0x432a98], eax
lea esi, [eax - 1]
jmp 0x4180aa
je 0x4180c2
xor ecx, ecx
test esi, esi
jl 0x4180c2
lea eax, [ecx*4 + 0x432aa0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4180b0
push 0
push 0x432ae0
call ebx
jmp 0x417eed
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420b29
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x42eb80]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [0x42425c]
mov ebx, eax
mov eax, 0x100
cmp ebx, eax
ja 0x420b7c
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [0x42434c]
cmp eax, ebx
jne 0x420b7c
push edi
lea eax, [ebp - 0x104]
push eax
call dword [0x4240b0]
test eax, eax
je 0x420b84
push edi
push esi
call dword [0x42431c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
leave
ret 8
Function at 0x42169f
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x42eb80]
mov ecx, dword [ebp + 0x7d4]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
mov eax, dword [ebp + 0x7d8]
push ebx
mov ebx, dword [ebp + 0x7d0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x7dc]
xor edx, edx
cmp ecx, edx
push esi
push edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], eax
je 0x4217c3
cmp ebx, edx
je 0x4217c3
mov eax, dword [ebp + 0x7e0]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x6c], 0x824
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x74], edx
je 0x421738
cmp dword [ecx + 0x30], edx
je 0x421738
test eax, 0x2000000
je 0x421732
mov dword [ebp - 0x74], 1
jmp 0x421738
or edi, 0x80000000
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
mov ebx, dword [0x4244a0]
call ebx
test eax, eax
jne 0x421784
call dword [0x42428c]
cmp eax, 0x7a
jne 0x4217c3
push dword [ebp - 0x6c]
call fcn.0041cdb7
test eax, eax
pop ecx
mov dword [ebp - 0x78], eax
je 0x4217c3
push esi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x68], 1
call ebx
test eax, eax
jne 0x421789
push dword [ebp - 0x78]
jmp 0x4217bd
lea ebx, [ebp - 0x60]
jmp 0x42178c
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [0x42449c]
cmp dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
je 0x4217eb
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [0x4242e4]
test eax, eax
jge 0x4217df
cmp dword [ebp - 0x68], edi
je 0x4217c3
push ebx
call fcn.0041cde2
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x7c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
add ebp, 0x7c8
leave
ret 0x14
push dword [esi + 0x2c]
call dword [0x42425c]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x68], edi
je 0x4217f7
push ebx
call fcn.0041cde2
pop ecx
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x421809
mov ecx, dword [ebp - 0x64]
mov dword [ecx], 0x1000
jmp 0x4217c5
mov cx, word [esi + 0x18]
mov edx, dword [ebp - 0x7c]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp - 0x64]
je 0x42186a
dec esi
je 0x42185f
dec esi
je 0x421854
dec esi
je 0x421849
dec esi
je 0x42183e
dec esi
je 0x421836
dec esi
jne 0x421801
mov dword [ecx], 0x1002
jmp 0x4217c5
mov dword [ecx], 0x1006
jmp 0x4217c5
mov dword [ecx], 0x1001
jmp 0x4217c5
mov dword [ecx], 0x100b
jmp 0x4217c5
mov dword [ecx], 3
jmp 0x4217c5
mov dword [ecx], 2
jmp 0x4217c5
mov dword [ecx], 1
jmp 0x4217c5
Function at 0x4074b4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4075c0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
test bl, bl
je 0x407534
movzx eax, bl
add ax, 0x41
dec eax
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], 0x3a
mov word [ebp - 0xc], 0
lea eax, [ebp - 0x420]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov edi, eax
cmp edi, 0x104
jbe 0x40752b
mov edx, edi
dec edx
lea eax, [ebp - 4]
call fcn.0040c158
mov eax, dword [ebp - 4]
call fcn.0040bfcc
push eax
push edi
call sub.kernel32.dll_GetCurrentDirectoryW
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
cmp esi, 0x104
ja 0x407564
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040c080
jmp 0x407580
mov edx, esi
dec edx
mov eax, dword [ebp - 8]
call fcn.0040c158
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040bfcc
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x4075a8
cmp edi, 0x104
jbe 0x40759c
mov eax, dword [ebp - 4]
call fcn.0040bfcc
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
jmp 0x4075a8
lea eax, [ebp - 0x420]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4075c7
lea eax, [ebp - 4]
call fcn.0040b324
pop eax
jmp eax

Function at 0x407b98
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.0040b324
test esi, esi
jne 0x407bce
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.0040b4bc
jmp 0x407bec
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00407a78
mov edi, eax
test esi, esi
je 0x407bec
cmp dword [ebx], 0
je 0x407bec
dec esi
jmp 0x407bd5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x409f30
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.0040a3f0
mov byte [esp], al
cmp byte [esp], 0
jne 0x40a0b9
test edi, edi
je 0x40a0b9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x409ff9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x409fd4
cmp edi, 0xffffffff
je 0x409f95
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409f95
mov byte [esp], 0
jmp 0x40a0b9
cmp dword [esi], 1
jg 0x409fd4
cmp dword [esi], 0
jne 0x409fc6
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x409fc6
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40a0b9
lea eax, [esp + 0xc]
call fcn.00409c08
dec ebp
test ebp, ebp
jg 0x409f7a
cmp edi, 0xffffffff
je 0x409ff9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409ff7
mov byte [esp], 0
jmp 0x40a0b9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x409f3e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409ff9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040a134
mov edx, eax
mov ebx, dword [0x6908f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40a05d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40a05b
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40a05d
xor edi, edi
cmp byte [esp], 0
je 0x40a083
mov ebx, dword [esi]
test bl, 1
jne 0x40a099
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a063
mov byte [esp + 1], 1
jmp 0x40a099
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a083
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40a010
cmp byte [esp], 0
je 0x40a0b9
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 0x40af80
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x690058], 0
je 0x40afe7
cmp word [0x690344], 0xd7b2
jne 0x40afa9
cmp dword [0x69034c], 0
jbe 0x40afa9
mov eax, 0x690340
call dword [0x69035c]
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, 0x40b014
call fcn.0040bd24
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x68203a], 0
jne 0x40b003
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x40b1e4
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 [0x68203c], 0
je 0x40b20f
mov edx, edi
mov eax, esi
call dword [0x68203c]
mov ebx, eax
jmp 0x40b220
mov eax, 8
call fcn.004072c0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x690059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40b1ac
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 0x40b250
mov eax, ebx
call fcn.004072dc
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40f580
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 0x40f6e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b324
cmp si, word [0x682a28]
jb 0x40f618
cmp si, word [0x682c28]
ja 0x40f618
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40f618
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x682a28]
jae 0x40f5f2
mov edi, ebx
dec edi
jmp 0x40f613
cmp si, word [ebx*8 + 0x682a28]
jbe 0x40f602
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40f613
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x682a2c]
call fcn.0040f49c
jmp 0x40f618
cmp edi, dword [ebp - 8]
jae 0x40f5dc
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40f6c7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40f6c7
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.0040c080
push dword [ebp - 0x160]
push 0x40f704
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040c080
push dword [ebp - 0x164]
push 0x40f714
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040c080
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040c2b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f6ee
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040b384
pop eax
jmp eax
Function at 0x40f89c
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 0x40f9a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x692c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x692c2c]
jne 0x40f8e8
mov eax, esi
mov edx, 0x692c2e
mov ecx, 0x55
call fcn.0040c080
push 0x692c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40f98a
push 0x692c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040b324
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40f957
cmp byte [0x692c10], 0
je 0x40f91c
mov edx, esi
mov eax, ebx
call fcn.0040f780
jmp 0x40f957
mov edx, esi
mov eax, ebx
call fcn.0040f580
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40f957
cmp dword [esi], 0
je 0x40f940
mov eax, esi
mov edx, 0x40f9bc
call fcn.0040c1d8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040f580
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040c1d8
push 0x692c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x692c2c], bx
mov eax, dword [esi]
call fcn.0040bfcc
mov ecx, eax
mov eax, 0x692c2e
mov edx, 0xaa
call fcn.0040f3fc
push 0x692c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f9a9
lea eax, [ebp - 4]
call fcn.0040b324
pop eax
jmp eax
Function at 0x40fbe4
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.0040b418
xor eax, eax
push ebp
push 0x40fe0c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40fc2a
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40fc44
mov eax, dword [ebp - 4]
call fcn.0040bfcc
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040f3fc
cmp word [ebp - 0x21e], 0
je 0x40fdef
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40fe1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40fd13
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40fe1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40fd13
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40fe58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40fd13
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40fe58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40fd13
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40fe8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40fd13
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40fec0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40fdef
xor eax, eax
push ebp
push 0x40fde8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040f9e4
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 0x40fd76
mov eax, dword [ebp - 0x14]
call fcn.004072c0
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.0040c02c
jmp 0x40fdc1
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40ff00
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40fdc1
mov eax, dword [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40ff00
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040c02c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fdef
cmp dword [ebp - 0xc], 0
je 0x40fddc
mov eax, dword [ebp - 0xc]
call fcn.004072dc
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 0x40fe13
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b384
pop eax
jmp eax
Function at 0x410120
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b418
xor eax, eax
push ebp
push 0x4101e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040c080
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040c230
mov eax, dword [ebx]
call fcn.0040ffc8
test al, al
jne 0x4101bd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040c080
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040c230
mov eax, dword [ebx]
call fcn.0040ffc8
test al, al
jne 0x4101bd
mov eax, ebx
call fcn.0040b324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4101e9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b384
lea eax, [ebp - 4]
call fcn.0040b324
pop eax
jmp eax

Function at 0x411af8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x425368
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x425498
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x425470
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x425459
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040c080
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040c610
test eax, eax
jle 0x425459
mov eax, dword [ebp - 4]
test eax, eax
je 0x42540d
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x42541b
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0040c400
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040c02c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040c230
jmp 0x425470
add ebx, 2
cmp word [ebx], 0
jne 0x425456
add ebx, 4
test ebx, ebx
je 0x42546a
cmp word [ebx], 0
jne 0x4253ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42549f
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040b384
lea eax, [ebp - 4]
call fcn.0040b324
pop eax
jmp eax
Function at 0x42584c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.0042e7dc
test al, al
je 0x425916
xor edx, edx
mov eax, ebx
call fcn.00426e78
test al, al
je 0x425916
mov eax, ebx
call fcn.00426c20
test al, 0x20
je 0x425916
mov eax, ebx
call fcn.0040bfcc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x425916
test ah, 4
je 0x425916
test al, 0x10
je 0x4258b3
mov edi, 0x2000000
jmp 0x4258b5
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040bfcc
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x425916
xor eax, eax
push ebp
push 0x42590f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00425594
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425916
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x425a14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x425a6d
test eax, edx
je 0x425a70
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x425a2b
movzx eax, word [eax]
sub eax, ecx
jmp 0x425a52
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x425a53
add ecx, 4
js 0x425a43
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x425a50
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x425a52
xor eax, eax
ret
test eax, eax
je 0x425a7c
test edx, edx
jne 0x425a1c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret