joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47698c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4769a3
add esp, 0xfffffff0
call fcn.0040429c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043165c
mov eax, dword [0x4d76e0]
cmp byte [eax], 0
jne 0x4769d0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4d7a88]
cmp word [eax + 2], 0
jne 0x4769ea
mov eax, dword [0x4d7a88]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004788d8
mov eax, dword [0x4d7bb4]
cmp word [eax + 2], 0
jne 0x476a04
mov eax, dword [0x4d7bb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00478ae8
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x435e08]
call fcn.00437b0c
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x478f6c
mov dl, 1
mov eax, dword [0x423b6c]
call fcn.00403d88
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x423b6c]
call fcn.00403d88
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x4368e4]
call fcn.0043ee74
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x476be0
mov eax, dword [0x4d7904]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0043f278
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47921c
mov dl, 1
mov eax, dword [0x423b6c]
call fcn.00403d88
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4d7904]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040d6f8
test eax, eax
je 0x476b12
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040d4b4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040d6e0
test eax, eax
je 0x476b2a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004060cc
push ebx
push 0x4782ec
call fcn.0046d1e4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x4d76e0]
cmp byte [eax], 0
jne 0x476b7b
mov eax, ebx
call fcn.00476d54
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00479444
mov eax, ebx
call fcn.0047a008
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476bd8
call fcn.004042f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476ffc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x47709e
cmp dword [ebx + 0x90], 0
jne 0x477098
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x476f74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x477098
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x47705e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x477098
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.004269e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47706d
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4772bc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4dd180]
cmp dword [eax + 0x170], 0
je 0x477421
test bl, bl
jne 0x47736f
cmp dword [esi + 0x98], 0
jne 0x477364
mov eax, esi
call fcn.00479e58
push eax
push 0x4771c8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x477335
mov eax, dword [0x4dd180]
cmp byte [eax + 0xcf], 0
je 0x477335
mov eax, dword [esi + 0xd4]
call fcn.00407424
mov edi, eax
cmp edi, 0
jl 0x477335
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47731e
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x477364
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004269e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x477344
inc dword [esi + 0x98]
jmp 0x477421
cmp dword [esi + 0x98], 0
jle 0x477421
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x477421
cmp dword [esi + 0x40], 0
je 0x4773cc
mov eax, dword [0x4dd180]
cmp byte [eax + 0xcf], 0
je 0x4773cc
mov eax, dword [esi + 0xd4]
call fcn.00407424
mov edi, eax
cmp edi, 0
jl 0x4773cc
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4773b5
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4773fb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004269e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4773db
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x46cbf0]
call fcn.004075e4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x477fdc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x478047
cmp byte [ebx + 0xcf], 0
jne 0x478047
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406038
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x478034
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x478054
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405efc
jmp 0x478054
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405efc
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x479618
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x479686
mov eax, esi
call fcn.00460360
test al, al
je 0x479686
mov eax, dword [ebx + 0x80]
call fcn.0045ffb4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x479686
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x47967a
push 0
mov eax, dword [ebx + 0x80]
call fcn.0045ffb4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00457598
jmp 0x479686
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00479464
pop esi
pop ebx
ret
Function at 0x496210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4962ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x10]
add dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x20]
movzx edx, byte [ebx + 0x30]
mov byte [eax], dl
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x1c]
sub esi, eax
test esi, esi
je 0x496250
mov edx, dword [ebx + 0x10]
mov ecx, esi
call fcn.00403384
add esi, dword [ebx + 0x10]
mov dword [ebx + 0x14], esi
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x14]
mov ecx, eax
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
add dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x1c], eax
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x20], esi
cmp esi, dword [ebx + 0x18]
jne 0x4962a9
mov edx, esi
dec edx
mov eax, dword [ebx + 0x10]
call fcn.004267fc
mov edi, eax
mov dword [ebx + 0x20], edi
cmp edi, dword [ebx + 0x10]
jne 0x4962a9
lea edx, [ebp - 4]
mov eax, dword [0x4d7adc]
call fcn.0040844c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x20]
movzx eax, byte [eax]
mov byte [ebx + 0x30], al
mov eax, dword [ebx + 0x20]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4962d5
lea eax, [ebp - 4]
call fcn.00405eec
ret
Function at 0x720716c
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.07209c40
test esi, esi
jne 0x72071a2
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.07209dc8
jmp 0x72071c0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.072070b0
mov edi, eax
test esi, esi
je 0x72071c0
cmp dword [ebx], 0
je 0x72071c0
dec esi
jmp 0x72071a9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x720881c
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.07208ca8
mov byte [esp], al
cmp byte [esp], 0
jne 0x72089a5
test edi, edi
je 0x72089a5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x72088e5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x72088c0
cmp edi, 0xffffffff
je 0x7208881
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x7208881
mov byte [esp], 0
jmp 0x72089a5
cmp dword [esi], 1
jg 0x72088c0
cmp dword [esi], 0
jne 0x72088b2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x72088b2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x72089a5
lea eax, [esp + 0xc]
call fcn.072084d8
dec ebp
test ebp, ebp
jg 0x7208866
cmp edi, 0xffffffff
je 0x72088e5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x72088e3
mov byte [esp], 0
jmp 0x72089a5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x720882a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x72088e5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.07208a14
mov edx, eax
mov ebx, dword [0x75b78f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x7208949
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x7208947
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x7208949
xor edi, edi
cmp byte [esp], 0
je 0x720896f
mov ebx, dword [esi]
test bl, 1
jne 0x7208985
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x720894f
mov byte [esp + 1], 1
jmp 0x7208985
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x720896f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x72088fc
cmp byte [esp], 0
je 0x72089a5
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 0x72095e8
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x75b9b98
cmp dword [ebp + 0xc], 2
jl 0x72095fc
mov ebx, 0x75b9bc8
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x7209634
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x72050cc
mov dword [0x75b701c], eax
mov eax, 0x72050d4
mov dword [0x75b7020], eax
mov eax, ebx
call fcn.072094cc
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x7209669
cmp al, 3
jge 0x7209669
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x720967a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x7209685
call dword [ecx + eax*4]
cmp dword [0x75b7040], 0
jne 0x720969b
mov byte [0x75b7048], 1
fnstcw word [0x75af028]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.07209934
call fcn.0720957c
ret 4

Function at 0x720989c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x75b7058], 0
je 0x7209903
cmp word [0x75b7344], 0xd7b2
jne 0x72098c5
cmp dword [0x75b734c], 0
jbe 0x72098c5
mov eax, 0x75b7340
call dword [0x75b735c]
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, 0x7209930
call fcn.0720a51c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x75af032], 0
jne 0x720991f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x7209b00
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 [0x75af034], 0
je 0x7209b2b
mov edx, edi
mov eax, esi
call dword [0x75af034]
mov ebx, eax
jmp 0x7209b3c
mov eax, 8
call fcn.07206e0c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x75b7059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x7209ac8
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 0x7209b6c
mov eax, ebx
call fcn.07206e28
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x720c9e4
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 0x720cb49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.07209c40
cmp si, word [0x75afa00]
jb 0x720ca7c
cmp si, word [0x75afc00]
ja 0x720ca7c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x720ca7c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x75afa00]
jae 0x720ca56
mov edi, ebx
dec edi
jmp 0x720ca77
cmp si, word [ebx*8 + 0x75afa00]
jbe 0x720ca66
inc ebx
mov dword [ebp - 8], ebx
jmp 0x720ca77
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x75afa04]
call fcn.0720c904
jmp 0x720ca7c
cmp edi, dword [ebp - 8]
jae 0x720ca40
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x720cb2b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x720cb2b
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.0720a99c
push dword [ebp - 0x160]
push 0x720cb64
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0720a99c
push dword [ebp - 0x164]
push 0x720cb74
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0720a99c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0720abd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x720cb50
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.07209ca0
ret
Function at 0x720ccfc
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 0x720ce00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x75b9c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x75b9c28]
jne 0x720cd48
mov eax, esi
mov edx, 0x75b9c2a
mov ecx, 0x55
call fcn.0720a99c
push 0x75b9c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x720cdea
push 0x75b9c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.07209c40
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x720cdb7
cmp byte [0x75b9c0c], 0
je 0x720cd7c
mov edx, esi
mov eax, ebx
call fcn.0720cbe0
jmp 0x720cdb7
mov edx, esi
mov eax, ebx
call fcn.0720c9e4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x720cdb7
cmp dword [esi], 0
je 0x720cda0
mov eax, esi
mov edx, 0x720ce18
call fcn.0720aaf4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0720c9e4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0720aaf4
push 0x75b9c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x75b9c28], bx
mov eax, dword [esi]
call fcn.0720a8f8
mov ecx, eax
mov eax, 0x75b9c2a
mov edx, 0xaa
call fcn.0720c864
push 0x75b9c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x720ce07
lea eax, [ebp - 4]
call fcn.07209c40
ret
Function at 0x720d030
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.07209d24
xor eax, eax
push ebp
push 0x720d255
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x720d070
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x720d08a
mov eax, dword [ebp - 4]
call fcn.0720a8f8
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0720c864
cmp word [ebp - 0x21a], 0
je 0x720d23f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x720d264
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x720d159
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x720d264
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x720d159
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x720d2a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x720d159
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x720d2a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x720d159
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x720d2d4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x720d159
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x720d308
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x720d23f
xor eax, eax
push ebp
push 0x720d238
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0720ce40
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 0x720d1c8
mov eax, dword [ebp - 0x10]
call fcn.07206e0c
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.0720a960
jmp 0x720d213
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x720d348
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x720d213
mov eax, dword [ebp - 0x10]
call fcn.07206e0c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x720d348
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0720a960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x720d23f
cmp dword [ebp - 8], 0
je 0x720d22e
mov eax, dword [ebp - 8]
call fcn.07206e28
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 0x720d25c
lea eax, [ebp - 4]
call fcn.07209c40
ret
Function at 0x720d544
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.07209d24
xor eax, eax
push ebp
push 0x720d604
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.0720a99c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0720ab4c
mov eax, dword [ebx]
call fcn.0720d40c
test al, al
jne 0x720d5e1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0720a99c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0720ab4c
mov eax, dword [ebx]
call fcn.0720d40c
test al, al
jne 0x720d5e1
mov eax, ebx
call fcn.07209c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x720d60b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.07209ca0
lea eax, [ebp - 4]
call fcn.07209c40
ret

Function at 0x720f084
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 0x721f020
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 0x721f14e
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 0x721f128
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 0x721f111
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0720a99c
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0720ae14
test eax, eax
jle 0x721f111
mov eax, dword [ebp - 4]
test eax, eax
je 0x721f0c5
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x721f0d3
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.0720acbc
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0720a960
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0720ab4c
jmp 0x721f128
add ebx, 2
cmp word [ebx], 0
jne 0x721f10e
add ebx, 4
test ebx, ebx
je 0x721f122
cmp word [ebx], 0
jne 0x721f072
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x721f155
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.07209ca0
lea eax, [ebp - 4]
call fcn.07209c40
ret