joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474baa
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x485c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
mov dword [eax], vtable.xml::XmlLoaderBase.0
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0xa0]
mov byte [edx + 5], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], vtable.XmlBundleLine.0
mov edx, dword [ebp - 0xa0]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 0xa0]
mov byte [eax + 0x11], 1
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + 0x12], 0
mov edx, dword [ebp - 0xa0]
add edx, 0x14
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x15]
mov dword [ebp - 0x14], eax
push 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.0040d8a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x30
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x39]
mov dword [ebp - 0x38], edx
push 0
push 0
mov ecx, dword [ebp - 0x54]
call fcn.0040d8a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
add eax, 0x4c
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x5d]
mov dword [ebp - 0x5c], ecx
push 0
push 0
mov ecx, dword [ebp - 0x78]
call fcn.0040d8a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa0]
add edx, 0x68
mov dword [ebp - 0x9c], edx
lea eax, [ebp - 0x81]
mov dword [ebp - 0x80], eax
push 0
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.0040d8a0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x84], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x458357
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x485c44]
jne 0x458361
repz ret
jmp fcn.0045e32c
Function at 0x46b2e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045dd12
and dword [ebp - 4], 0
cmp dword [0x487c9c], 0
mov ebx, eax
jne 0x46b395
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46b446
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46b446
push eax
call fcn.0045dca0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x487c9c], eax
call esi
push eax
call fcn.0045dca0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x487ca0], eax
call esi
push eax
call fcn.0045dca0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x487ca4], eax
call esi
push eax
call fcn.0045dca0
pop ecx
mov dword [0x487cac], eax
test eax, eax
je 0x46b395
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045dca0
pop ecx
mov dword [0x487ca8], eax
mov eax, dword [0x487ca8]
cmp eax, ebx
je 0x46b3ed
cmp dword [0x487cac], ebx
je 0x46b3ed
push eax
call fcn.0045dd1b
push dword [0x487cac]
mov esi, eax
call fcn.0045dd1b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46b3ed
test edi, edi
je 0x46b3ed
call esi
test eax, eax
je 0x46b3e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46b3e4
test byte [ebp - 0xc], 1
jne 0x46b3ed
or dword [ebp + 0x10], 0x200000
jmp 0x46b426
mov eax, dword [0x487ca0]
cmp eax, ebx
je 0x46b426
push eax
call fcn.0045dd1b
pop ecx
test eax, eax
je 0x46b426
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46b426
mov eax, dword [0x487ca4]
cmp eax, ebx
je 0x46b426
push eax
call fcn.0045dd1b
pop ecx
test eax, eax
je 0x46b426
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x487c9c]
call fcn.0045dd1b
pop ecx
test eax, eax
je 0x46b446
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46b448
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1005cd70
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1005cf5d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4b000]
push edi
or ebp, 0xffffffff
jmp 0x1005cd9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1005cda1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005cd90
mov eax, 1
add ebx, ebx
jne 0x1005cdb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1005cdc4
jne 0x1005cde3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005cde3
dec eax
add ebx, ebx
jne 0x1005cdd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1005cda8
add ebx, ebx
jne 0x1005cddf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1005ce35
xor ecx, ecx
sub eax, 3
jb 0x1005cdfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1005ce6a
sar eax, 1
mov ebp, eax
jmp 0x1005ce06
add ebx, ebx
jne 0x1005ce06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005cdd4
inc ecx
add ebx, ebx
jne 0x1005ce14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005cdd4
add ebx, ebx
jne 0x1005ce21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1005ce16
jne 0x1005ce32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1005ce16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1005ce54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1005ce46
jmp 0x1005cd96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1005ce54
add edi, ecx
jmp 0x1005cd96
pop esi
mov edi, esi
mov ecx, 0x629
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1005ce72
cmp byte [edi], 0xa
jne 0x1005ce72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1005ce77
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x1005ceef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c9d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5ca88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1005cea4
mov ecx, edi
jns 0x1005ced3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5ca8c]
or eax, eax
je 0x1005cee9
mov dword [ebx], eax
add ebx, 4
jmp 0x1005cec1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1005cf20
cmp al, 0xef
ja 0x1005cf13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1005cef5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1005cf02
mov ebp, dword [esi + 0x5ca90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1005cf54
sub esp, 0xffffff80
jmp 0x100239a4
Function at 0x442aad
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x442adb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x442af9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00442a17
jmp 0x442af9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x442af9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00442a17
test edi, edi
mov eax, edi
jne 0x442ae3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56d32c]
test ecx, ecx
je 0x442bac
jmp 0x442aac
ret 8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x109f2734
Capabilities:
Encode data using xor

Disassembly:
jmp 0x109f273e
pushal
call 0x109f2744
pop ebp
sub ebp, 0x10
sub ebp, 0x9f2734
mov al, byte [esp + 0x28]
cmp al, 1
je 0x109f2768
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x109f2771
mov eax, 0x9f2734
add eax, ebp
add eax, 0x63
mov ecx, 0x59f
mov edx, 0xaaadafcf
xor byte [eax], dl
inc eax
dec ecx
jne 0x109f2788
jmp 0x109f279b
inc esp
add al, byte [esi + eax*2 - 0xd]
iretd

Function at 0x40b760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x40b77a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b770
mov eax, 1
add ebx, ebx
jne 0x40b793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b788
jne 0x40b7a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b788
xor ecx, ecx
sub eax, 3
jb 0x40b7b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b82a
mov ebp, eax
add ebx, ebx
jne 0x40b7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b7d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b7f4
inc ecx
add ebx, ebx
jne 0x40b7e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b7d5
jne 0x40b7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b7d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b805
jmp 0x40b776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b814
add edi, ecx
jmp 0x40b776
pop esi
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40b873
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb4c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb50c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b831
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb514]
or eax, eax
je 0x40b86d
mov dword [ebx], eax
add ebx, 4
jmp 0x40b84e
call dword [esi + 0xb510]
mov ebp, dword [esi + 0xb518]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40b8a7
sub esp, 0xffffff80
jmp 0x401c2e
Function at 0x4062e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b508
cmp edx, dword [eax]
je 0x406307
add eax, 8
inc ecx
cmp eax, 0x40b598
jl 0x4062f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b508]
jne 0x406435
mov eax, dword [0x40ba54]
cmp eax, 1
je 0x40640f
test eax, eax
jne 0x406338
cmp dword [0x40b1b4], 1
je 0x40640f
cmp edx, 0xfc
je 0x406435
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40636f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.004037c0
push dword [esi + 0x40b50c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407726
add esp, 0x2c
pop edi
jmp 0x406435
lea eax, [ebp + 8]
lea esi, [esi + 0x40b50c]
push 0
push eax
push dword [esi]
call fcn.004038a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xa594b9e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x403165e6
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x431036
push 0x431001
ret
cmove esi, eax
push 0x43111a
ret
xor eax, eax
cmp word [esi], ax
je 0x430f05
jne 0x430f05
mov edx, dword [0xe4ab0c]
mov eax, dword [0x112b6f28]
mov dword [0xe4b440], ebx
cmp word [ebp - 0x1a], 0xffff
cmp ecx, dword [eax + 0x28]
push 0xb03028
mov ecx, dword [0x42ced0]
push 0x4145a4
cmp dword [0x4137fc], ebx
jmp dword [0x508848]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
jmp 0x431059
mov ah, 0x85
test byte [edi], 0x84
pop ebx
add byte [eax], al
add bh, bh
jne 0x431070
test esi, esi
je 0x4310bc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4310b4
lea ebx, [ebx]
je 0x4310e9
jne 0x4310e9
mov eax, dword [0x100b4334]
mov dword [0x699772a4], 2
cmp dword [0xd12fa4], ebx
inc esp
jnp 0x431058
call 0xb64d7b14
shl byte [esi + 0x49], 0xf
test dword [0x3b000000], esi
bnd jb 0x430f5a
cmp esi, edx
jb 0x430f5a
xor eax, eax
push 0x430f57
ret
cmp esi, edx
jae 0x4310bc
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
push 0x4310ad
ret
Function at 0x47527e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x534e78]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0046e60f
mov dword [ebp - 0x14], eax
cmp dword [0x536d98], edi
jne 0x47536f
push 0x800
push edi
push 0x402d08
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4752fc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x47544f
push 0x402d08
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47544f
push 0x402d20
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x47544f
push eax
call ebx
push 0x402d2c
push esi
mov dword [0x536d98], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push 0x402d3c
push esi
mov dword [0x536d9c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push 0x402d50
push esi
mov dword [0x536da0], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x536da8], eax
test eax, eax
je 0x47536c
push 0x402d6c
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x536da4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x475394
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x475387
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4753a9
push 4
pop eax
jmp 0x475451
cmp dword [ebp - 0x14], edi
je 0x4753a9
push dword [0x536d98]
call dword [sym.imp.KERNEL32.DLL_DecodePointer]
push 3
jmp 0x47538e
mov eax, dword [0x536da4]
mov ebx, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, esi
je 0x475407
cmp dword [0x536da8], esi
je 0x475407
push eax
call ebx
push dword [0x536da8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x475407
test eax, eax
je 0x475407
call ecx
test eax, eax
je 0x4753fc
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 0x4753fc
test byte [ebp - 8], 1
jne 0x475407
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x475437
mov eax, dword [0x536d9c]
cmp eax, esi
je 0x475434
push eax
call ebx
test eax, eax
je 0x475434
call eax
mov edi, eax
test edi, edi
je 0x475434
mov eax, dword [0x536da0]
cmp eax, esi
je 0x475434
push eax
call ebx
test eax, eax
je 0x475434
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x536d98]
call ebx
test eax, eax
je 0x47544f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x475451
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a5ef
leave
ret
Function at 0x401820
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ce68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x427750]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x427750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004027f0
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00401740
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x40189d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00406f55
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4018c6
push dword [esp + 0x10]
call fcn.00407b67
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00406f0f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417a70
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427750]
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.0040b5c8
mov dword [ebp - 0x14], eax
cmp dword [0x429b54], esi
jne 0x417b63
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x417af0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417c43
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417c43
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417c43
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x429b54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x429b58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x429b5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429b64], eax
test eax, eax
je 0x417b60
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429b60], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417b88
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417b7b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417b9d
push 4
pop eax
jmp 0x417c45
cmp dword [ebp - 0x14], esi
je 0x417b9d
push dword [0x429b54]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x417b82
mov eax, dword [0x429b60]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x417bfb
cmp dword [0x429b64], edi
je 0x417bfb
push eax
call ebx
push dword [0x429b64]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x417bfb
test eax, eax
je 0x417bfb
call ecx
test eax, eax
je 0x417bf0
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 0x417bf0
test byte [ebp - 8], 1
jne 0x417bfb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417c2b
mov eax, dword [0x429b58]
cmp eax, edi
je 0x417c28
push eax
call ebx
test eax, eax
je 0x417c28
call eax
mov esi, eax
test esi, esi
je 0x417c28
mov eax, dword [0x429b5c]
cmp eax, edi
je 0x417c28
push eax
call ebx
test eax, eax
je 0x417c28
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x429b54]
call ebx
test eax, eax
je 0x417c43
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417c45
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f0f
mov esp, ebp
pop ebp
ret