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

Disassembly:
push 0xffffffffffffffff
push 0x439237
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 0x43939f
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 [0x48b398]
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.0042a798
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.0042b8b4
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x44]
call fcn.0042a457
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.0042b8b4
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.0042b8b4
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 0x439940
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 0x439db7
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.0042b922
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0042b8b4
lea eax, [esp + 0x10]
push eax
jmp 0x40777a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b629
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], bl
call fcn.0042b8b4
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 0x439e17
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.0042b922
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0042b8b4
lea eax, [esp + 0x10]
push eax
jmp 0x40794a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b629
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], bl
call fcn.0042b8b4
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 0x439e77
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.0042b922
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0042b8b4
lea eax, [esp + 0x10]
push eax
jmp 0x407b1a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b629
lea ecx, [esp + 8]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], bl
call fcn.0042b8b4
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 0x43a117
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.0042bdb6
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0042b629
mov dword [esp + 8], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call fcn.0042b8b4
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 0x43a5e8
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.0041d2ff
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.0042b922
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.0042b8b4
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
Function at 0x40e2e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
add edx, edi
add ecx, edi
add eax, edi
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jbe 0x40e369
mov edx, ecx
mov eax, dword [edx]
mov esi, dword [esp + 0x20]
add eax, edi
mov bl, byte [esi]
mov cl, bl
cmp bl, byte [eax]
jne 0x40e346
test cl, cl
je 0x40e342
mov bl, byte [esi + 1]
mov cl, bl
cmp bl, byte [eax + 1]
jne 0x40e346
add esi, 2
add eax, 2
test cl, cl
jne 0x40e322
xor eax, eax
jmp 0x40e34b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e35d
mov esi, dword [esp + 0x1c]
inc ebp
add edx, 4
cmp ebp, esi
jb 0x40e31a
jmp 0x40e361
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ebp, esi
jne 0x40e377
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
xor ecx, ecx
mov cx, word [eax + ebp*2]
mov eax, dword [edx + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4223be
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x48c8a8
cmp edx, dword [eax]
je 0x4223e0
add eax, 8
inc ecx
cmp eax, 0x48c938
jl 0x4223d1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x48c8a8]
jne 0x42250e
mov eax, dword [0x48f5ec]
cmp eax, 1
je 0x4224e8
test eax, eax
jne 0x422411
cmp dword [0x48c194], 1
je 0x4224e8
cmp edx, 0xfc
je 0x42250e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x422448
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00422ab0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420fb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42248b
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420fb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4412a8
push edi
call fcn.00423f40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00422ab0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00422ac0
lea eax, [ebp - 0xa0]
push 0x441288
push eax
call fcn.00422ac0
push dword [esi + 0x48c8ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00422ac0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00423eb1
add esp, 0x2c
pop edi
jmp 0x42250e
lea eax, [ebp + 8]
lea esi, [esi + 0x48c8ac]
push 0
push eax
push dword [esi]
call fcn.00420fb0
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 0x429600
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.0041d2d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4296cb
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 0x4296cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42967e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x429689
or bh, 8
and edi, 0x8000000
je 0x4296a4
mov eax, dword [0x490d9c]
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 0x4296cb
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
Function at 0x429aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x429acb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x429aef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x429b0a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42cd82
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42cdba
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042bd5b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042bd33
jmp 0x42cdc6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x42e5bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42e5ff
call fcn.00435d09
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42e5ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42e5f6
xor eax, eax
jmp 0x42e607
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042e60d
pop edi
pop esi
pop ebx
ret 4

Function at 0x42fe7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00435d09
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42feae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0042fec1
pop edi
pop esi
pop ebx
ret 8

Function at 0x43629f
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 0x4362cd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4362eb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00436205
jmp 0x4362eb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4362eb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00436205
test edi, edi
mov eax, edi
jne 0x4362d5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8