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

Disassembly:
push 0xffffffffffffffff
push 0x438af7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [esp + 0x10], 0
push str.__t_r_n
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 2
call fcn.0042a88a
push str.__t_r_n
lea ecx, [esp + 0x38]
call fcn.0042a7eb
lea ecx, [esp + 0x38]
call fcn.0042bdf6
lea eax, [esp + 0x38]
lea ecx, [esp + 0xc]
push eax
push 0x44b120
push ecx
call fcn.0042bbfd
lea edx, [esp + 0x38]
lea eax, [esp + 0x14]
push edx
push 0x44b144
push eax
mov byte [esp + 0x34], 3
call fcn.0042bbfd
push 0x44b114
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x34], 4
call fcn.0042bb89
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 6
call fcn.0042b8f4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
mov esi, eax
mov ecx, dword [eax - 8]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0042a41f
mov eax, dword [eax]
push esi
push eax
mov byte [esp + 0x30], 7
call fcn.0041cfd1
add esp, 8
test eax, eax
jne 0x401592
mov eax, dword [esp + 8]
mov esi, eax
mov ecx, dword [eax - 8]
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0042a3a3
mov eax, dword [eax]
push esi
push eax
call fcn.0041cfd1
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0042b8f4
test bl, bl
je 0x401594
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call fcn.0042b8f4
test bl, bl
je 0x4015c0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0042b669
mov dword [esp + 0x10], 1
jmp 0x401601
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x34]
mov eax, dword [edx - 8]
push eax
push 0x44b114
call fcn.0042a4a5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x30]
inc eax
mov ecx, dword [ecx - 8]
mov ebx, dword [edx - 8]
sub ecx, ebx
sub ecx, eax
push ecx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.0042a30d
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.0042b8f4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0042b8f4
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.0042b8f4
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call fcn.0042b8f4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x402d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438edf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 4]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x44]
mov ecx, dword [eax]
push edx
push eax
mov byte [esp + 0x3c], 2
call dword [ecx + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x402db0
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x43de88
push eax
call dword [ecx]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.0040dee0
push ecx
cmp eax, ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [ecx], eax
je 0x402dd1
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [esp + 0x20]
call fcn.00403800
mov esi, eax
cmp esi, ebx
mov byte [esp + 0x30], 4
je 0x402dea
lea eax, [esi + 4]
jmp 0x402dec
xor eax, eax
mov edi, dword [esp + 0x38]
mov dl, byte [eax]
lea eax, [esi + 4]
lea ecx, [edi + 4]
push eax
mov byte [ecx], dl
call fcn.0040def0
mov dword [edi], 0x43d5a0
mov eax, dword [esi + 8]
mov byte [esp + 0x30], 5
cmp eax, ebx
mov dword [edi + 8], eax
je 0x402e1b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [edi], fcn.00403910
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x24]
mov byte [esp + 0x30], 6
cmp eax, ebx
je 0x402e3c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x30], 3
cmp eax, ebx
je 0x402e4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x402e62
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x402e75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], 7
cmp eax, ebx
je 0x402e8b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x30], bl
cmp eax, ebx
je 0x402e9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x10
Function at 0x4045c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439277
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ecx + 8]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x30], 1
call dword [ecx + 0x3c]
push ecx
mov ecx, dword [esp + 0xc]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40461b
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
call fcn.00403800
mov edi, eax
test edi, edi
mov byte [esp + 0x28], 2
je 0x404634
lea eax, [edi + 4]
jmp 0x404636
xor eax, eax
mov esi, dword [esp + 0x30]
mov al, byte [eax]
mov byte [esi + 4], al
mov eax, dword [edi + 4]
test eax, eax
mov dword [esi + 4], eax
je 0x40464f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [esi], 0x43d5a0
mov eax, dword [edi + 8]
mov byte [esp + 0x28], 3
test eax, eax
mov dword [esi + 8], eax
je 0x40466a
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov dword [esi], fcn.00403910
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x28], 4
test eax, eax
je 0x40468b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], 1
test eax, eax
je 0x40469e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov byte [esp + 0x28], 0
test eax, eax
je 0x4046b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 4
Function at 0x404b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4393df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
test esi, esi
mov dword [esp + 0x30], 1
je 0x404b54
lea eax, [esi + 4]
jmp 0x404b56
xor eax, eax
mov al, byte [eax]
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.0040def0
mov dword [esp + 0x10], 0x43d5a0
mov esi, dword [esi + 8]
mov byte [esp + 0x30], 2
test esi, esi
mov dword [esp + 0x18], esi
je 0x404b87
mov edx, dword [esi]
push esi
call dword [edx + 4]
push ebx
mov dword [esp + 0x14], 0x43d5a4
mov eax, dword [0x48b8f0]
mov dword [esp + 8], eax
mov bl, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call fcn.00403910
test eax, eax
je 0x404c4a
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403950
mov edx, dword [eax]
lea eax, [esp + 8]
push edx
push 0x44b438
push eax
mov byte [esp + 0x40], 5
call fcn.0042a7d8
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.0042b8f4
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x44]
call fcn.0042a497
test eax, eax
jl 0x404c4a
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
push edx
call fcn.004045c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 6
call fcn.004038c0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x34], 7
test eax, eax
je 0x404c27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x34], bl
test eax, eax
je 0x404c39
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x14]
call fcn.00403910
test eax, eax
jne 0x404bb0
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x3c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
pop ebx
mov dl, byte [eax]
mov eax, dword [esp + 0x14]
mov byte [esi + 4], dl
mov dword [esi + 4], eax
test eax, eax
je 0x404c73
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [esi], 0x43d5a0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x30], 8
test eax, eax
mov dword [esi + 8], eax
je 0x404c8f
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov dword [esi], fcn.00403910
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x30], 3
call fcn.0042b8f4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x30], 9
test eax, eax
je 0x404cbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 1
test eax, eax
je 0x404cd1
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.0042b8f4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x406310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
push edi
mov esi, ecx
call fcn.00405620
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.00405410
mov ecx, esi
mov ebp, eax
call fcn.004056b0
mov edi, eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.004050b0
lea ecx, [edi + ebp]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x60], 0
call fcn.00405d90
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x58], 3
test eax, eax
je 0x40637f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x48]
mov byte [esp + 0x58], 4
test eax, eax
je 0x406392
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x58], 2
test eax, eax
je 0x4063a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, 1
jne 0x406487
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00405260
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 5
call fcn.004074b0
mov edi, eax
xor esi, esi
test edi, edi
jbe 0x40644c
cmp esi, dword [esp + 0xc]
je 0x406447
push 1
push ebp
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00407f40
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 6
call fcn.004050a0
test eax, eax
je 0x40640e
lea ecx, [esp + 0x10]
call fcn.004056b0
inc eax
lea ecx, [esp + 0x10]
push eax
call fcn.004056d0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x58], 7
test eax, eax
je 0x406421
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x58], 8
test eax, eax
je 0x406434
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x58], 5
test eax, eax
je 0x406447
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, edi
jb 0x4063d0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x58], 9
test eax, eax
je 0x40645f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x58], 0xa
test eax, eax
je 0x406472
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x58], 2
test eax, eax
je 0x40649f
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40649f
mov eax, edi
mov ecx, esi
shr eax, 1
push eax
sub edi, eax
call fcn.004056d0
push edi
lea ecx, [esp + 0x34]
call fcn.004056d0
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov dword [esp + 0x50], 0xb
test eax, eax
pop ebp
je 0x4064b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], 0xc
test eax, eax
je 0x4064ce
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
test eax, eax
je 0x4064e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x4076d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439df7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov word [esp + 0x10], si
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x10]
mov ebx, 1
push edx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x30], ebx
call dword [ecx + 0x40]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004017b0
add esp, 8
mov edx, dword [esp + 8]
mov byte [esp + 0x28], 2
cmp dword [edx - 8], esi
jne 0x407754
mov esi, dword [esp + 0x30]
push 0x44b4c0
mov ecx, esi
call fcn.0042b962
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0042b8f4
lea eax, [esp + 0x10]
push eax
jmp 0x40777a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b669
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], bl
call fcn.0042b8f4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x4078a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439e57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov word [esp + 0x10], si
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x10]
mov ebx, 1
push edx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x30], ebx
call dword [ecx + 0x48]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004017b0
add esp, 8
mov edx, dword [esp + 8]
mov byte [esp + 0x28], 2
cmp dword [edx - 8], esi
jne 0x407924
mov esi, dword [esp + 0x30]
push 0x44b4c4
mov ecx, esi
call fcn.0042b962
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0042b8f4
lea eax, [esp + 0x10]
push eax
jmp 0x40794a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b669
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], bl
call fcn.0042b8f4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x407a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439eb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov word [esp + 0x10], si
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x10]
mov ebx, 1
push edx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x30], ebx
call dword [ecx + 0x28]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004017b0
add esp, 8
mov edx, dword [esp + 8]
mov byte [esp + 0x28], 2
cmp dword [edx - 8], esi
jne 0x407af4
mov esi, dword [esp + 0x30]
push 0x44b4c8
mov ecx, esi
call fcn.0042b962
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0042b8f4
lea eax, [esp + 0x10]
push eax
jmp 0x407b1a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b669
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], bl
call fcn.0042b8f4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x4087e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a157
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
xor esi, esi
push edi
mov dword [esp + 8], esi
mov word [esp + 0xc], si
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
sub eax, esi
mov dword [esp + 0x24], 1
je 0x4088ca
dec eax
je 0x408884
dec eax
jne 0x4088d8
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0xc]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp dword [esp + 0x14], esi
jne 0x4088d8
lea eax, [esp + 0xc]
push eax
call edi
cmp eax, esi
jge 0x408850
mov dword [esp + 0x14], eax
push 0x44b570
mov word [esp + 0x10], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x4088d8
mov ecx, 0x44b570
test ecx, ecx
je 0x4088d8
mov word [esp + 0xc], 0xa
mov dword [esp + 0x14], 0x8007000e
jmp 0x4088d8
mov ecx, dword [ecx + 0xc]
lea eax, [esp + 0xc]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x40]
cmp dword [esp + 0x14], esi
jne 0x4088d8
lea ecx, [esp + 0xc]
push ecx
call edi
cmp eax, esi
jge 0x4088a7
mov dword [esp + 0x14], eax
push 0x44b56c
mov word [esp + 0x10], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x4088d8
mov edx, 0x44b56c
test edx, edx
jmp 0x408871
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0xc]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004017b0
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
call fcn.0042bdf6
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0042b669
mov dword [esp + 8], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call fcn.0042b8f4
lea eax, [esp + 0xc]
push eax
call edi
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x40a460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
lea eax, [esp + 8]
push edi
mov ecx, dword [esi + 8]
push eax
call fcn.0040c6b0
mov ecx, eax
call fcn.00409340
mov ecx, dword [esp + 0xc]
push str.about:blank
push ecx
mov dword [esp + 0x40], 0
call fcn.0041d33f
add esp, 8
test eax, eax
je 0x40a5ac
mov dword [esp + 8], 0
lea edx, [esp + 8]
mov byte [esp + 0x38], 1
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x44b968
call fcn.0042b962
mov ecx, esi
call fcn.0040a640
mov edi, eax
xor esi, esi
test edi, edi
jle 0x40a599
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push esi
push ecx
call fcn.00404770
add esp, 8
mov ecx, eax
mov edx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x40], 2
call fcn.00403920
lea ecx, [esp + 0x24]
call fcn.00408410
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 5
test eax, eax
je 0x40a52a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 4
test eax, eax
je 0x40a53d
mov edx, dword [eax]
push eax
call dword [edx + 8]
push ecx
lea ecx, [esp + 0x24]
mov eax, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004084c0
lea ecx, [esp + 0x24]
call fcn.00408540
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x38], 6
test eax, eax
je 0x40a56a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x38], 7
test eax, eax
je 0x40a57d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x38], 1
test eax, eax
je 0x40a590
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, edi
jl 0x40a4e8
mov eax, dword [esp + 8]
mov byte [esp + 0x38], 0
test eax, eax
je 0x40a5ac
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0042b8f4
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
Function at 0x4223fe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x48cdf8
cmp edx, dword [eax]
je 0x422420
add eax, 8
inc ecx
cmp eax, 0x48ce88
jl 0x422411
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x48cdf8]
jne 0x42254e
mov eax, dword [0x48fb3c]
cmp eax, 1
je 0x422528
test eax, eax
jne 0x422451
cmp dword [0x48c6e4], 1
je 0x422528
cmp edx, 0xfc
je 0x42254e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x422488
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00422af0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420ff0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4224cb
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420ff0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4412a8
push edi
call fcn.00423f80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00422af0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00422b00
lea eax, [ebp - 0xa0]
push 0x441288
push eax
call fcn.00422b00
push dword [esi + 0x48cdfc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00422b00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00423ef1
add esp, 0x2c
pop edi
jmp 0x42254e
lea eax, [ebp + 8]
lea esi, [esi + 0x48cdfc]
push 0
push eax
push dword [esi]
call fcn.00420ff0
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 0x429640
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041d310
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42970b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42970b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4296be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4296c9
or bh, 8
and edi, 0x8000000
je 0x4296e4
mov eax, dword [0x4912dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42970b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret