joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410620
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x457c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 0x108], edi
test eax, eax
jne 0x41070b
call fcn.0041f0c5
push 0x8000
mov ebx, eax
call fcn.0041f0c5
push eax
call fcn.00420697
add esp, 4
push eax
call fcn.004209c5
add esp, 8
test edi, edi
jne 0x41072b
call fcn.0041f0c5
add eax, 0x20
mov dword [ebp - 0x10c], eax
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410460
add esp, 0x10
mov edi, eax
call fcn.0041f0c5
cmp ebx, eax
je 0x4106a9
push ebx
call fcn.0041ea41
add esp, 4
call fcn.0041f0c5
mov ecx, dword [ebp - 0x10c]
add eax, 0x20
cmp ecx, eax
je 0x4107c8
push ecx
call fcn.0041ea41
add esp, 4
test edi, edi
jne 0x4107b6
push dword [ebp - 0x108]
call fcn.00420896
push dword [ebp - 0x108]
push esi
call fcn.004208d8
add esp, 0xc
test eax, eax
je 0x4107bf
push esi
call fcn.00420896
push esi
call fcn.0041e7e7
add esp, 8
mov edi, 4
jmp 0x4107c8
push 0x4456d4
push eax
call fcn.0041f3a4
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41066f
lea edi, [eax + 3]
jmp 0x4107c8
lea edx, [ebp - 0x104]
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x410735
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.00420560
add esp, 8
test eax, eax
jne 0x41075f
mov byte [ebp - 0x104], al
jmp 0x410762
mov byte [eax], 0
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004222b2
mov esi, eax
add esp, 8
test esi, esi
jne 0x410784
push ebx
call fcn.0041ea41
lea edi, [esi + 4]
jmp 0x4107c5
push 0x4456d8
push esi
call fcn.0041f3a4
add esp, 8
mov dword [ebp - 0x10c], eax
test eax, eax
jne 0x410685
push ebx
call fcn.0041ea41
push esi
call fcn.0041e7e7
add esp, 8
mov edi, 4
jmp 0x4107c8
push esi
call fcn.00420896
add esp, 4
push esi
call fcn.0041e7e7
add esp, 4
call fcn.0041f0c5
cmp ebx, eax
jne 0x4107ed
push 0x8000
call fcn.0041f0c5
push eax
call fcn.00420697
add esp, 4
push eax
call fcn.004209c5
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret
Function at 0x410800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4404c6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x457c70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
lea edi, [eax + 0x50]
mov dword [edi + 4], 0
mov dword [edi], 0
lea esi, [eax + 0x58]
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [0x489200], 0
xorps xmm0, xmm0
movdqu xmmword [0x4891a0], xmm0
mov dword [0x489268], 0
movdqu xmmword [0x4891b0], xmm0
mov dword [0x4891a0], 1
movdqu xmmword [0x4891c0], xmm0
mov dword [0x4891b0], 1
movdqu xmmword [0x4891d0], xmm0
mov dword [0x4891c0], 1
movdqu xmmword [0x4891f0], xmm0
mov dword [0x4891d8], 1
movdqu xmmword [0x489208], xmm0
mov dword [0x4891f0], 1
movdqu xmmword [0x489218], xmm0
mov dword [0x489200], 1
movdqu xmmword [0x489228], xmm0
mov dword [0x489208], 1
movdqu xmmword [0x489238], xmm0
mov dword [0x489218], 1
movdqu xmmword [0x489258], xmm0
mov dword [0x489228], 1
movdqu xmmword [0x4891e0], xmm0
mov dword [0x489240], 1
movdqu xmmword [0x489248], xmm0
mov dword [0x489258], 1
mov dword [0x489268], 1
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x4c], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
add eax, 0x60
push eax
mov byte [ebp - 4], 1
call fcn.00411060
add esp, 4
mov ecx, edi
push 8
push 0x454464
call fcn.00412d40
push 8
push 0x454464
mov ecx, esi
call fcn.00412d40
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4405e7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x457c70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x413764
mov dword [edi], 0x445b40
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00418af0
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00413850
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x48beb4]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4149f0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x489b30
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx eax, byte [0x489b41]
shr al, 7
mov byte [0x489c33], al
movzx eax, byte [0x489b42]
shr al, 7
mov byte [0x489cc0], al
movzx eax, byte [0x489b40]
shr al, 7
mov byte [0x489cc1], al
movzx eax, byte [0x489bd0]
shr al, 7
mov byte [0x489cc2], al
movzx eax, byte [0x489bd1]
shr al, 7
test byte [0x489b8b], 0x80
mov byte [0x489cc3], al
jne 0x414a67
test byte [0x489b8c], 0x80
mov byte [0x489cc4], 0
je 0x414a6e
mov byte [0x489cc4], 1
ret
Function at 0x414a70
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push esi
push 0x22878
call fcn.0041d07a
push 0x22878
push 0
push eax
mov dword [0x489b28], eax
call fcn.0041d1c0
mov eax, dword [0x489b28]
add esp, 0x10
mov dword [eax], 0
mov ecx, dword [0x489b28]
lea ecx, [ecx + 0x38]
call fcn.0040f8f0
mov ecx, dword [0x489b28]
lea eax, [ecx + 0x440]
add ecx, 0x38
push eax
call fcn.0040f8c0
mov eax, dword [0x489b28]
mov dword [eax + 0x43c], 1
mov ecx, dword [0x489b28]
lea ecx, [ecx + 0x86c]
call fcn.0040fdf0
mov eax, dword [0x489b28]
add eax, 0xc
push eax
call fcn.00414800
push 0
call fcn.00415b40
push 0xc
call fcn.00415ba0
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esp, 0xc
push 0
push 8
call esi
push 0
push 0x11
mov dword [0x489cc8], eax
call esi
push 0
push 0x10
mov dword [0x489ccc], eax
call esi
push 0
push 0xa0
mov dword [0x489cd0], eax
call esi
push 0
push 0xa1
mov dword [0x489cd4], eax
call esi
push 0
push 0x56
mov dword [0x489cd8], eax
call esi
push 0
push 0x2d
mov dword [0x489ce0], eax
call esi
mov esi, dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
push 0x12
push str.00000409
mov dword [0x489cdc], eax
call esi
push 0x12
push str.0000042a
mov dword [0x489b1c], eax
call esi
mov ecx, eax
xor edx, edx
and ecx, 0x3ff
cmp ecx, 0x2a
push edx
cmovne eax, edx
mov dword [0x489b20], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x489b24], eax
mov dword [0x489ce4], 0
call fcn.0043c8f0
cmp byte [0x489cc5], 0
mov eax, dword [0x489b28]
mov dword [0x489d04], eax
mov dword [0x489d00], 0x417be0
pop esi
je 0x414bd4
push 0x40
push 2
push str.unikey_log.txt
mov ecx, 0x48bd38
call fcn.00418f40
ret
Function at 0x415410
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.PushBuffer_called
call fcn.00414cf0
mov eax, dword [0x489b10]
add esp, 4
mov byte [0x489c30], 1
test eax, eax
je 0x41545e
cmp byte [0x489cc1], 0
je 0x41544b
push 1
call fcn.00412c00
mov eax, dword [0x489b10]
add esp, 4
push 0
push eax
push dword [0x489cc8]
push 8
call fcn.004157a0
add esp, 0x10
cmp dword [0x489b18], 1
jne 0x415483
push dword [0x489b14]
push 0x489310
call fcn.004159b0
add esp, 8
call fcn.00414d30
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [0x489b28]
push edi
mov ecx, dword [esi + 0x840]
test ecx, ecx
je 0x4154a2
cmp ecx, 4
je 0x4154a2
mov edi, dword [0x489b14]
jmp 0x4154ae
mov eax, dword [0x489b14]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test ecx, ecx
je 0x4154d0
cmp ecx, 4
je 0x4154d0
push edi
push 0x489310
call fcn.004159b0
add esp, 8
call fcn.00414d30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 0
jne 0x415501
cmp dword [esi + 0x860], 0
je 0x415501
cmp byte [0x489c31], 0
je 0x415501
push edi
push 0x489310
call fcn.00415a70
add esp, 8
call fcn.00414d30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov byte [0x456338], 0
push dword [esi + 0x850]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea eax, [edi*2 + 2]
push eax
push 2
call esi
lea ecx, [edi + 1]
mov ebx, eax
push ecx
push 2
mov dword [ebp - 0xc], ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp - 4], eax
call esi
push dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], ebx
call esi
xor ecx, ecx
mov edx, eax
test edi, edi
jle 0x4155a2
mov esi, ebx
mov ebx, 0xff
sub esi, 0x489310
jmp 0x415570
mov ax, word [ecx*2 + 0x489310]
mov word [esi + ecx*2 + 0x489310], ax
cmp word [ecx*2 + 0x489310], bx
jbe 0x415590
mov byte [ecx + edx], 0x3f
jmp 0x41559a
mov al, byte [ecx*2 + 0x489310]
mov byte [ecx + edx], al
inc ecx
cmp ecx, edi
jl 0x415570
mov ebx, dword [ebp - 8]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
xor eax, eax
mov word [ebx + edi*2], ax
push 0xd
mov byte [edx + edi], al
call esi
push dword [ebp - 4]
push 1
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.004197a0
pop ebx
call fcn.00414d30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440748
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x457c70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x416085
cmp byte [ebx + 0x45], 0
je 0x416085
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x415fb4
xor al, al
jmp 0x416087
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41601e
dec eax
je 0x416022
sub eax, 2
je 0x41606e
xor bl, bl
jmp 0x416070
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x416054
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00420814
add esp, 0x10
cmp esi, eax
jne 0x41601a
cmp byte [ebx + 0x45], 0
je 0x41606e
test esi, esi
jne 0x415fe4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004176a0
jmp 0x415fe4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x416081
push dword [ebp - 0x28]
call fcn.0041d0f0
add esp, 4
mov al, bl
jmp 0x416087
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret
Function at 0x419030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440a18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x457c70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x41906c
xor eax, eax
jmp 0x4191fc
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x41909a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x41909a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x4191fc
cmp dword [ebx + 0x50], 0
jne 0x4190a8
or eax, 0xffffffff
jmp 0x4191fc
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x4190c9
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x4190ee
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.00421710
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x4191fc
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x4191e6
cmp eax, 1
jg 0x4191c6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x419197
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.00420814
add esp, 0x10
cmp esi, eax
jne 0x4191e6
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x4191c1
test esi, esi
jne 0x419121
cmp dword [ebp - 0x18], 0x20
jae 0x4191e6
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004176a0
jmp 0x419121
mov ebx, dword [ebp + 8]
jmp 0x4191e9
cmp eax, 3
jne 0x4191e6
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.004131c0
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x4191e9
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x4191fa
push dword [ebp - 0x28]
call fcn.0041d0f0
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret 4
Function at 0x41c2d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x457c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x108], ebx
push edi
test eax, eax
jne 0x41c31a
call fcn.0041f0c5
push 0x8000
mov edi, eax
call fcn.0041f0c5
push eax
call fcn.00420697
add esp, 4
push eax
call fcn.004209c5
add esp, 8
jmp 0x41c348
push 0x4456d4
push eax
call fcn.0041f3a4
mov edi, eax
add esp, 8
test edi, edi
jne 0x41c336
lea ebx, [eax + 3]
jmp 0x41c494
push 0x2000
push 0
push 0
push edi
call fcn.00421981
add esp, 0x10
push esi
test ebx, ebx
jne 0x41c366
call fcn.0041f0c5
mov esi, dword [ebp - 0x108]
lea ebx, [eax + 0x20]
mov dword [ebp - 0x10c], ebx
jmp 0x41c407
lea edx, [ebp - 0x104]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x41c370
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.00420560
add esp, 8
test eax, eax
jne 0x41c39a
mov byte [ebp - 0x104], al
jmp 0x41c39d
mov byte [eax], 0
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004222b2
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c3c2
push edi
call fcn.0041ea41
lea ebx, [esi + 4]
jmp 0x41c490
push 0x4456d8
push esi
call fcn.0041f3a4
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10c], ebx
test ebx, ebx
jne 0x41c3f5
push edi
call fcn.0041ea41
push esi
call fcn.0041e7e7
add esp, 8
mov ebx, 4
jmp 0x41c493
push 0x2000
push 0
push 0
push ebx
call fcn.00421981
add esp, 0x10
push dword [ebp + 0x18]
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c4d0
add esp, 0x14
mov ebx, eax
call fcn.0041f0c5
cmp edi, eax
je 0x41c42e
push edi
call fcn.0041ea41
add esp, 4
call fcn.0041f0c5
mov ecx, dword [ebp - 0x10c]
add eax, 0x20
cmp ecx, eax
je 0x41c493
push ecx
call fcn.0041ea41
add esp, 4
test ebx, ebx
jne 0x41c481
push dword [ebp - 0x108]
call fcn.00420896
push dword [ebp - 0x108]
push esi
call fcn.004208d8
add esp, 0xc
test eax, eax
je 0x41c48a
push esi
call fcn.00420896
push esi
call fcn.0041e7e7
add esp, 8
mov ebx, 4
jmp 0x41c493
push esi
call fcn.00420896
add esp, 4
push esi
call fcn.0041e7e7
add esp, 4
pop esi
call fcn.0041f0c5
cmp edi, eax
jne 0x41c4b9
push 0x8000
call fcn.0041f0c5
push eax
call fcn.00420697
add esp, 4
push eax
call fcn.004209c5
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret
Function at 0x435531
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x457c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00429cb3
mov dword [ebp - 0x14], eax
cmp dword [0x48d07c], esi
jne 0x435624
push 0x800
push esi
push 0x44bb5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4355b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x435704
push esi
push esi
push 0x44bb5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x435704
push 0x44bb74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435704
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x48d07c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x48d080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x48d084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48d08c], eax
test eax, eax
je 0x435621
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48d088], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x435649
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43563c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43565e
push 4
pop eax
jmp 0x435706
cmp dword [ebp - 0x14], esi
je 0x43565e
push dword [0x48d07c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x435643
mov eax, dword [0x48d088]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4356bc
cmp dword [0x48d08c], edi
je 0x4356bc
push eax
call ebx
push dword [0x48d08c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4356bc
test eax, eax
je 0x4356bc
call ecx
test eax, eax
je 0x4356b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4356b1
test byte [ebp - 8], 1
jne 0x4356bc
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4356ec
mov eax, dword [0x48d080]
cmp eax, edi
je 0x4356e9
push eax
call ebx
test eax, eax
je 0x4356e9
call eax
mov esi, eax
test esi, esi
je 0x4356e9
mov eax, dword [0x48d084]
cmp eax, edi
je 0x4356e9
push eax
call ebx
test eax, eax
je 0x4356e9
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x48d07c]
call ebx
test eax, eax
je 0x435704
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x435706
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret
Function at 0x43b6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x43b6f3
xor eax, eax
pop esi
pop ebp
ret 8
push edi
mov edi, dword [ebp + 0xc]
push dword [esi + 4]
cmp edi, 0xffffffff
jne 0x43b721
push dword [ebp + 8]
call fcn.0041f4cb
add esp, 8
xor ecx, ecx
cmp eax, edi
sete cl
xor eax, eax
test ecx, ecx
mov dword [esi + 0x14], ecx
pop edi
sete al
pop esi
pop ebp
ret 8
push edi
push 1
push dword [ebp + 8]
call fcn.00420814
add esp, 0x10
xor ecx, ecx
cmp eax, edi
setne cl
xor eax, eax
test ecx, ecx
mov dword [esi + 0x14], ecx
pop edi
sete al
pop esi
pop ebp
ret 8