joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c618
Capabilities:
Create http request

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x1a0
push ebx
push esi
xor ebx, ebx
push str.GlobalThistle_580D1956_62F4_40D8_B3A0_E2C1B7334726
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x60], 0xf
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x4c], bl
call fcn.00401b86
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x10]
lea eax, [ebp + 0x4c]
push eax
mov dword [ebp - 0x18], vtable.MutexLock.0
call fcn.00402801
lea ecx, [ebp + 0x4c]
xor esi, esi
push ebx
inc esi
push esi
call fcn.00401ba9
cmp dword [ebp + 4], 0x10
mov eax, dword [ebp - 0x10]
jae 0x40c671
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x40c68c
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, eax
je 0x40c6a1
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.004027d3
sub ebp, 0xffffff98
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
push edi
push ebx
lea edi, [ebp + 0x38]
push edi
lea eax, [ebp + 0x48]
push eax
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.00402847
mov eax, dword [ebp + 0x70]
lea esi, [ebp - 0x138]
call fcn.00409847
mov edi, esi
call fcn.00409a58
mov edi, dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push ebx
push ebx
push ebx
mov esi, str.Installer__compatible__MSIE_6.0b__Windows_NT_5.0__.NET_CLR_1.0.2914_
push esi
call edi
push ebx
push ebx
push ebx
push ebx
push esi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], ebx
mov byte [ebp + 0x18], bl
call edi
mov dword [ebp + 0x34], eax
lea edi, [ebp - 0x138]
mov dword [ebp + 0xc], edi
lea eax, [ebp + 0xc]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x50]
mov edi, eax
lea esi, [ebp - 0x65]
mov dword [ebp + 0x50], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0x375e7b7f___0A__tr1_std__X_tr1_std__.0
mov dword [ebp + 0x60], eax
call fcn.0040b2e4
mov esi, edi
call fcn.0040b2ca
lea eax, [ebp + 0xc]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x50]
mov edi, eax
lea esi, [ebp - 0x4d]
mov dword [ebp + 0x50], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0x375e7b7f___0A__tr1_std__X_tr1_std__.0
mov dword [ebp + 0x60], eax
call fcn.0040b2e4
mov esi, edi
call fcn.0040b2ca
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call esi
pop edi
jmp 0x40c783
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x34]
push ebx
push eax
call esi
or eax, eax
jg 0x40c766
mov esi, dword [ebp - 0x2c]
cmp dword [ebp + 0x34], ebx
je 0x40c798
push dword [ebp + 0x34]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp + 0x14]
call fcn.0040608f
lea eax, [ebp - 0x138]
push eax
call fcn.0040991d
push dword [ebp + 0x48]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
jmp 0x40c68e
Function at 0x40c82d
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 4]
lea ecx, [eax + 4]
push ecx
xor ecx, ecx
push ecx
push eax
push 0x407520
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x40c8b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x40c94a
mov dword [ebp - 0x210], 0
jmp 0x40c8f5
mov ecx, dword [ebp - 0x210]
add ecx, 1
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x20c]
jae 0x40c94a
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x210]
mov dx, word [ebp + edx*2 - 0x208]
mov esp, dword [ebp + 8]
mov word [esp + eax*2], dx
mov ecx, dword [ebp - 0x210]
movzx edx, word [ebp + ecx*2 - 0x208]
cmp edx, 0x5c
jne 0x40c948
xor edx, edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2 + 2], dx
mov eax, 1
jmp 0x40c94c
jmp 0x40c8e6
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40d890
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 4
push 0
mov ecx, dword [ebp + 8]
call fcn.004016a6
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop ebp
ret 4

Function at 0x40d8b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 4
push 0
mov ecx, dword [ebp + 8]
call fcn.004067a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebp
ret 4

Function at 0x422c7a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
push ecx
push edi
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
push 2
lea eax, [ebp - 4]
push eax
push 0x22
call fcn.00423db8
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [ebp - 4], 0x30
pop edi
jne 0x422caf
push 2
pop eax
leave
ret
xor eax, eax
cmp word [ebp - 4], 0x31
jne 0x422cbb
leave
inc eax
ret
cmp word [ebp - 4], 0x32
leave
setne al
dec eax
and eax, 3
ret

Function at 0x42539e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44aca0]
jne 0x4253a8
repz ret
jmp 0x430d55
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x44d810], eax
mov dword [0x44d80c], ecx
mov dword [0x44d808], edx
mov dword [0x44d804], ebx
mov dword [0x44d800], esi
mov dword [0x44d7fc], edi
mov word [0x44d828], ss
mov word [0x44d81c], cs
mov word [0x44d7f8], ds
mov word [0x44d7f4], es
mov word [0x44d7f0], fs
mov word [0x44d7ec], gs
pushfd
pop dword [0x44d820]
mov eax, dword [ebp]
mov dword [0x44d814], eax
mov eax, dword [ebp + 4]
mov dword [0x44d818], eax
lea eax, [ebp + 8]
mov dword [0x44d824], eax
mov eax, dword [ebp - 0x320]
mov dword [0x44d760], 0x10001
mov eax, dword [0x44d818]
mov dword [0x44d714], eax
mov dword [0x44d708], 0xc0000409
mov dword [0x44d70c], 1
mov eax, dword [0x44aca0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x44aca4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x44d758], eax
push 1
call fcn.004352d6
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x440c60
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x44d758], 0
jne 0x430e47
push 1
call fcn.004352d6
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x42a69a
Capabilities:
Write file on windows

Disassembly:
mov esi, esi
push ebp
mov ebp, esp
add esp, 0xfffffe04
mov eax, dword [0x44aca0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.0042a674
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x1fc], esi
je 0x42a83a
push 3
call fcn.0043502d
pop ecx
cmp eax, 1
je 0x42a7e6
push 3
call fcn.0043502d
pop ecx
or eax, eax
jne 0x42a6f8
cmp dword [0x44ab00], 1
je 0x42a7e6
cmp edi, 0xfc
je 0x42a83a
push str.Runtime_Error__n_nProgram:
push 0x314
mov esi, 0x44cf88
push esi
call fcn.00434fca
add esp, 0xc
test eax, eax
jne 0x42a7dc
push 0x104
mov edi, 0x44cfba
push edi
push ebx
mov word [0x44d1c2], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov ebx, 0x2fb
jne 0x42a764
push str._program_name_unknown_
push ebx
push edi
call fcn.00434fca
sub esp, 0xfffffff4
test eax, eax
je 0x42a764
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042beb9
push edi
call fcn.00428692
pop ecx
inc eax
cmp eax, 0x3c
jbe 0x42a79b
push edi
call fcn.00428692
lea eax, [eax*2 + 0x44cf44]
mov ecx, eax
sub ecx, edi
push 3
sar ecx, 1
push 0x440684
sub ebx, ecx
push ebx
push eax
call fcn.00434efd
sub esp, 0xffffffec
or eax, eax
jne 0x42a758
push 0x44067c
mov edi, 0x314
push edi
push esi
call fcn.00434e88
sub esp, 0xfffffff4
or eax, eax
jne 0x42a758
push dword [ebp - 0x1fc]
push edi
push esi
call fcn.00434e88
add esp, 0xc
test eax, eax
jne 0x42a758
push 0x12010
push 0x440630
push esi
call fcn.00434d1c
sub esp, 0xfffffff4
jmp 0x42a83a
push ebx
push ebx
push ebx
push ebx
push ebx
jmp 0x42a75f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x42a83a
cmp edi, 0xffffffff
je 0x42a83a
xor eax, eax
mov cl, byte [esi + eax*2]
mov byte [ebp + eax - 0x1f8], cl
cmp word [esi + eax*2], bx
je 0x42a813
inc eax
cmp eax, 0x1f4
jb 0x42a7fb
lea esi, [ebp - 0x1fc]
lea eax, [ebp - 0x1f8]
push ebx
push esi
push eax
mov byte [ebp - 5], bl
call fcn.00426270
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
call fcn.0042539e
leave
ret
Function at 0x42bb56
Capabilities:
Get geographical location

Disassembly:
mov ebx, ebx
push ebp
mov ebp, esp
add esp, 0xffffff70
mov eax, dword [0x44aca0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
push esi
push edi
push ebx
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
jne 0x42bc73
lea edi, [ebp - 0x84]
mov ecx, edi
and dword [ebp - 0x8c], 0
push 0x80
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.0043529c
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x42bc10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42bc31
push ebx
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.0043529c
add esp, 0x14
mov dword [ebp - 0x90], eax
or eax, eax
je 0x42bc31
inc ebx
push ebx
push eax
call fcn.00426340
pop edi
pop ecx
mov edi, eax
test edi, edi
je 0x42bc31
push dword [ebp - 0x90]
mov dword [ebp - 0x8c], ebx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.0043529c
add esp, 0x14
mov ebx, eax
test ebx, ebx
je 0x42bc2a
push 1
push ebx
call fcn.00426340
mov dword [esi], eax
pop ecx
pop ecx
xor esi, esi
cmp eax, esi
jne 0x42bc43
cmp dword [ebp - 0x8c], esi
je 0x42bc31
push edi
call fcn.004233c1
pop edi
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042539e
leave
ret
lea ecx, [ebx - 1]
push ecx
push edi
push ebx
push eax
call fcn.0043231f
sub esp, 0xfffffff0
test eax, eax
jne 0x42bc69
cmp dword [ebp - 0x8c], esi
je 0x42bc65
push edi
call fcn.004233c1
pop eax
xor eax, eax
jmp 0x42bc34
push esi
push esi
push esi
push esi
push esi
call fcn.0042beb9
cmp dword [ebp + 0xc], 2
jne 0x42bcc1
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
push eax
push eax
push dword [ebp + 0x14]
mov dword [esi], eax
push dword [ebp + 0x10]
call edi
mov ebx, eax
test ebx, ebx
je 0x42bcb1
push 2
push ebx
call fcn.00426340
pop ecx
pop ecx
mov dword [esi], eax
test eax, eax
je 0x42bcb1
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call edi
test eax, eax
jne 0x42bc65
push dword [esi]
call fcn.004233c1
and dword [esi], 0
pop edi
jmp 0x42bc31
cmp dword [ebp + 0xc], 0
jne 0x42bc31
lea ebx, [ebp - 0x88]
and dword [ebp - 0x88], 0
push 2
push ebx
mov eax, dword [ebp + 0x14]
or eax, 0x20000000
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42bc31
mov al, byte [ebp - 0x88]
mov byte [esi], al
jmp 0x42bc65

Function at 0x42beb9
Capabilities:
Terminate process

Disassembly:
push esi
mov edi, edi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0042bd90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x42ca9e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
mov esi, eax
cmp esi, ebx
jne 0x42caba
xor eax, eax
jmp 0x42cb31
cmp word [esi], bx
je 0x42cacf
sub eax, 0xfffffffe
cmp word [eax], bx
jne 0x42cabf
sub eax, 0xfffffffe
cmp word [eax], bx
jne 0x42cabf
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x42cb27
push eax
call fcn.004262fb
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x42cb27
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
push ebx
push ebx
call edi
test eax, eax
jne 0x42cb1b
push dword [ebp - 4]
call fcn.004233c1
pop ecx
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 4]
jmp 0x42cb30
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x430d55
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44aca0]
jne 0x4253a8
repz ret
jmp 0x430d55
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x44d810], eax
mov dword [0x44d80c], ecx
mov dword [0x44d808], edx
mov dword [0x44d804], ebx
mov dword [0x44d800], esi
mov dword [0x44d7fc], edi
mov word [0x44d828], ss
mov word [0x44d81c], cs
mov word [0x44d7f8], ds
mov word [0x44d7f4], es
mov word [0x44d7f0], fs
mov word [0x44d7ec], gs
pushfd
pop dword [0x44d820]
mov eax, dword [ebp]
mov dword [0x44d814], eax
mov eax, dword [ebp + 4]
mov dword [0x44d818], eax
lea eax, [ebp + 8]
mov dword [0x44d824], eax
mov eax, dword [ebp - 0x320]
mov dword [0x44d760], 0x10001
mov eax, dword [0x44d818]
mov dword [0x44d714], eax
mov dword [0x44d708], 0xc0000409
mov dword [0x44d70c], 1
mov eax, dword [0x44aca0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x44aca4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x44d758], eax
push 1
call fcn.004352d6
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x440c60
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x44d758], 0
jne 0x430e47
push 1
call fcn.004352d6
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x432436
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
or esi, esi
mov edi, edi
push ecx
je 0x432490
cmp byte [esi], 0
je 0x432490
push 0x441448
push esi
call fcn.00426660
test eax, eax
pop ecx
pop ecx
je 0x432490
push 0x441444
push esi
call fcn.00426660
test eax, eax
pop ecx
pop ecx
jne 0x432484
lea eax, [ebp - 4]
push 2
push eax
push 0x2000000b
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or eax, eax
je 0x4324a8
mov eax, dword [ebp - 4]
leave
ret
push esi
call fcn.00437ab7
pop ecx
mov dword [ebp - 4], eax
jmp 0x43247f
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4324ac
leave
xor eax, eax
ret
cmp dword [ebp - 4], 0
jne 0x43247f
call dword [sym.imp.KERNEL32.dll_GetACP]
leave
ret

Function at 0x4325d2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov edi, edi
mov ebp, esp
push ecx
push esi
push 2
mov esi, eax
lea eax, [ebp - 4]
push eax
mov eax, esi
push 0x20000001
and eax, 0x3ff
or eax, 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or eax, eax
jne 0x432601
xor eax, eax
jmp 0x43262a
cmp esi, dword [ebp - 4]
je 0x432627
cmp dword [ebp + 8], 0
je 0x432627
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov edx, esi
push edi
call fcn.00432510
push esi
mov esi, eax
call fcn.00426270
cmp esi, eax
pop ecx
pop edi
je 0x4325fd
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x434bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], ax
je 0x434be6
pop ebp
xor eax, eax
ret
mov edx, dword [ecx + 0x3c]
add edx, ecx
cmp dword [edx], 0x4550
jne 0x434be2
xor ecx, ecx
mov eax, 0x10b
cmp word [edx + 0x18], ax
sete cl
pop ebp
mov eax, ecx
ret

Function at 0x434c10
Capabilities:
Enumerate pe sections

Disassembly:
mov esi, esi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
add ecx, edx
movzx eax, word [ecx + 0x14]
push edi
lea eax, [eax + ecx + 0x18]
push ebx
movzx edi, word [ecx + 6]
xor ecx, ecx
push esi
test edi, edi
je 0x434c4d
mov ebx, dword [ebp + 0xc]
mov ebp, dword [eax + 0xc]
cmp ebx, ebp
jb 0x434c45
mov esi, dword [eax + 8]
add esi, ebp
cmp ebx, esi
jb 0x434c4f
inc ecx
add eax, 0x28
cmp ecx, edi
jb 0x434c35
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x434d1c
Capabilities:
Link many functions at runtime

Disassembly:
mov ebx, ebx
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, dword [0x44aca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push ebx
mov dword [ebp - 0x1c], eax
call fcn.0042b2d6
and dword [ebp - 0x14], 0
cmp dword [0x44dc54], 0
mov dword [ebp - 0x18], eax
jne 0x434dcf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x434e77
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push esi
call ebx
or eax, eax
je 0x434e77
mov edi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call edi
push str.GetActiveWindow
push esi
mov dword [0x44dc54], eax
call ebx
push eax
call edi
push str.GetLastActivePopup
push esi
mov dword [0x44dc58], eax
call ebx
push eax
call edi
push str.GetUserObjectInformationW
push esi
mov dword [0x44dc5c], eax
call ebx
push eax
call edi
mov dword [0x44dc64], eax
test eax, eax
je 0x434dcf
push str.GetProcessWindowStation
push esi
call ebx
push eax
call edi
mov dword [0x44dc60], eax
mov eax, dword [0x44dc60]
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x434e28
cmp dword [0x44dc64], ecx
je 0x434e28
push eax
call edi
push dword [0x44dc64]
mov esi, eax
call edi
mov ebx, eax
test esi, esi
je 0x434e28
test ebx, ebx
je 0x434e28
call esi
test eax, eax
je 0x434e1f
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0xc
push ecx
push 1
push eax
call ebx
or eax, eax
je 0x434e1f
test byte [ebp - 8], 1
jne 0x434e28
or dword [ebp + 0x10], 0x200000
jmp 0x434e5b
mov eax, dword [0x44dc58]
cmp eax, dword [ebp - 0x18]
je 0x434e5b
push eax
call edi
or eax, eax
je 0x434e5b
call eax
mov dword [ebp - 0x14], eax
or eax, eax
je 0x434e5b
mov eax, dword [0x44dc5c]
cmp eax, dword [ebp - 0x18]
je 0x434e5b
push eax
call edi
or eax, eax
je 0x434e5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44dc54]
call edi
test eax, eax
je 0x434e77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x434e79
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop esi
pop edi
call fcn.0042539e
leave
ret
Function at 0x4351c2
Capabilities:
Get geographical location

Disassembly:
mov esi, esi
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [0x44aca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push edi
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call esi
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, ebx
jne 0x435204
xor eax, eax
jmp 0x43528a
jle 0x43524b
push 0xffffffffffffffe0
xor edx, edx
pop eax
div ecx
cmp eax, 2
jb 0x43524b
lea eax, [ecx + ecx + 8]
cmp eax, 0x400
ja 0x435233
call fcn.00434330
mov edi, esp
cmp edi, ebx
je 0x4351fd
mov dword [edi], 0xcccc
sub edi, 0xfffffff8
jmp 0x43524d
push eax
call fcn.004233fb
pop ecx
cmp eax, ebx
je 0x435247
mov dword [eax], 0xdddd
sub eax, 0xfffffff8
mov edi, eax
jmp 0x43524d
xor edi, edi
cmp edi, ebx
je 0x4351fd
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
or eax, eax
je 0x435281
push ebx
push ebx
cmp dword [ebp + 0x18], ebx
jne 0x43526c
push ebx
push ebx
jmp 0x435272
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0xffffffffffffffff
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push edi
call fcn.0042748c
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
lea esp, [ebp - 0x18]
pop esi
pop ebx
pop edi
call fcn.0042539e
leave
ret
Function at 0x43701f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov esi, esi
or edi, edi
jne 0x437041
call fcn.00425355
mov dword [eax], 0x16
call fcn.0042bf0b
jmp 0x43713b
mov eax, dword [edi + 0xc]
test al, 0x83
je 0x43713b
test al, 0x40
jne 0x43713b
test al, 2
je 0x437063
or eax, 0x20
mov dword [edi + 0xc], eax
jmp 0x43713b
or eax, 1
mov dword [edi + 0xc], eax
test eax, 0x10c
jne 0x437079
push edi
call fcn.00435c1e
pop ecx
jmp 0x43707e
mov eax, dword [edi + 8]
mov dword [edi], eax
push dword [edi + 0x18]
push dword [edi + 8]
push edi
call fcn.00435e72
pop ecx
push eax
call fcn.0043a0d7
add esp, 0xc
mov dword [edi + 4], eax
or eax, eax
je 0x43712a
cmp eax, 0xffffffff
je 0x43712a
test byte [edi + 0xc], 0x82
jne 0x4370ff
push edi
call fcn.00435e72
cmp eax, 0xffffffff
pop ecx
je 0x4370ea
push edi
call fcn.00435e72
pop ecx
cmp eax, 0xfffffffe
je 0x4370ea
push esi
push edi
call fcn.00435e72
push edi
sar eax, 5
lea esi, [eax*4 + 0x44edc0]
call fcn.00435e72
pop ebp
pop edx
and eax, 0x1f
shl eax, 6
add eax, dword [esi]
pop esi
jmp 0x4370ef
mov eax, 0x44b470
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x4370ff
or dword [edi + 0xc], 0x2000
cmp dword [edi + 0x18], 0x200
jne 0x43711d
mov eax, dword [edi + 0xc]
test al, 8
je 0x43711d
test eax, 0x400
jne 0x43711d
mov dword [edi + 0x18], 0x1000
mov ecx, dword [edi]
dec dword [edi + 4]
movzx eax, byte [ecx]
inc ecx
mov dword [edi], ecx
jmp 0x43713e
neg eax
sbb eax, eax
and eax, 0x10
sub eax, 0xfffffff0
or dword [edi + 0xc], eax
and dword [edi + 4], 0
or eax, 0xffffffff
pop edi
pop ebp
ret
Function at 0x43a1cd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov esi, esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x43a1ef
call fcn.00425355
mov dword [eax], 0x16
call fcn.0042bf0b
jmp 0x43a2f5
mov eax, dword [edi + 0xc]
test al, 0x83
je 0x43a2f5
test al, 0x40
jne 0x43a2f5
test al, 2
je 0x43a211
or eax, 0x20
mov dword [edi + 0xc], eax
jmp 0x43a2f5
or eax, 1
test eax, 0x10c
mov dword [edi + 0xc], eax
jne 0x43a227
push edi
call fcn.00435c1e
pop ecx
jmp 0x43a22c
mov eax, dword [edi + 8]
mov dword [edi], eax
push dword [edi + 0x18]
push dword [edi + 8]
push edi
call fcn.00435e72
pop ecx
push eax
call fcn.0043a0d7
add esp, 0xc
mov dword [edi + 4], eax
or eax, eax
je 0x43a2e4
cmp eax, 1
je 0x43a2e4
cmp eax, 0xffffffff
je 0x43a2e4
test byte [edi + 0xc], 0x82
jne 0x43a2b6
push edi
call fcn.00435e72
pop ecx
cmp eax, 0xffffffff
je 0x43a2a1
push edi
call fcn.00435e72
cmp eax, 0xfffffffe
pop ecx
je 0x43a2a1
push esi
push edi
call fcn.00435e72
push edi
sar eax, 5
lea esi, [eax*4 + 0x44edc0]
call fcn.00435e72
and eax, 0x1f
pop ebp
shl eax, 6
pop ecx
add eax, dword [esi]
pop esi
jmp 0x43a2a6
mov eax, 0x44b470
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x43a2b6
or dword [edi + 0xc], 0x2000
cmp dword [edi + 0x18], 0x200
jne 0x43a2d4
mov eax, dword [edi + 0xc]
test al, 8
je 0x43a2d4
test eax, 0x400
jne 0x43a2d4
mov dword [edi + 0x18], 0x1000
mov ecx, dword [edi]
add dword [edi + 4], 0xfffffffe
movzx eax, word [ecx]
add ecx, 2
mov dword [edi], ecx
jmp 0x43a2fa
neg eax
sbb eax, eax
and eax, 0x10
sub eax, 0xfffffff0
or dword [edi + 0xc], eax
and dword [edi + 4], 0
mov eax, 0xffff
pop edi
pop ebp
ret