Function at 0x403ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480481
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea esi, [edi + 0xc0]
push 0x104
mov ecx, esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 1
call fcn.00469ff0
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0046a03f
push 0x5c
mov ecx, esi
call fcn.00463fcf
cmp eax, 0xffffffff
jne 0x403f21
lea eax, [ebp - 0x1a]
push 0x498d28
push eax
mov byte [ebp - 0x1a], 0
call fcn.0044f5c5
mov ecx, dword [esi]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
mov ecx, esi
call fcn.00463d20
push str.Data
lea edx, [ebp - 0x18]
push esi
push edx
call fcn.00469ec9
mov eax, dword [eax]
lea ecx, [ebp - 0x330]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00469c34
cmp esi, 0xffffffff
jne 0x403f73
lea edx, [ebp - 0x19]
push 0x498d28
push edx
mov byte [ebp - 0x19], 0
call fcn.0044f5c5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x330], 0x10
jne 0x403fd3
lea eax, [ebp - 0x1b]
push 0x498d28
push eax
mov byte [ebp - 0x1b], 0
call fcn.0044f5c5
mov ecx, dword [ebp - 0x20]
push 0x104
lea esi, [ecx + 0xc0]
mov ecx, esi
call fcn.00469ff0
push 0x104
push 0x4a5a8c
push eax
call fcn.0044fff2
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call fcn.0046a03f
mov byte [ebp - 0x11], 0
mov eax, 0x403fd0
ret
mov al, byte [0x4c6d62]
xor esi, esi
test al, 1
mov dword [ebp - 4], esi
jne 0x40400a
mov cl, al
lea edx, [edi + 0xc0]
or cl, 1
push edx
mov byte [0x4c6d62], cl
mov ecx, 0x4c6d61
call fcn.00403430
push 0x404560
call fcn.0044fd88
add esp, 4
call fcn.00418190
mov eax, dword [edi + 0x78]
cmp eax, esi
je 0x404022
push eax
call fcn.0044ffaa
add esp, 4
mov dword [edi + 0x78], esi
mov eax, dword [0x4c701c]
mov ecx, dword [eax]
push ecx
call fcn.0044ff7f
add esp, 4
mov dword [edi + 0x78], eax
call fcn.0047b6e7
mov edx, dword [edi + 0x78]
push esi
lea ecx, [ebp - 0x48]
mov dword [eax + 0x10], edx
call fcn.0046df54
mov eax, dword [ebp - 0x40]
push 0xc
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jge 0x404075
mov ecx, dword [0x4c738c]
push esi
push esi
mov edx, dword [ecx]
push edx
call fcn.00470adf
push 0xffffffffffffffff
call fcn.0044fe8c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0046dfc6
lea ecx, [ebp - 0x70]
call fcn.0047ab8d
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
mov byte [ebp - 4], 4
call fcn.0047ab3a
xor bl, bl
xor esi, esi
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 5
test eax, eax
je 0x404124
push 0x44
call fcn.00465d62
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x4040d4
mov edx, dword [0x4c701c]
mov eax, dword [edx]
push eax
call fcn.004034e0
jmp 0x4040d6
xor eax, eax
test eax, eax
setne cl
test eax, eax
je 0x4040e3
mov bl, cl
jmp 0x4040e9
test cl, cl
je 0x4040ec
mov bl, 1
mov byte [ebp - 0x2c], bl
mov esi, eax
mov byte [ebp - 4], 5
test eax, eax
mov dword [ebp - 0x28], esi
jne 0x404124
push str.Allocation_failure.
lea ecx, [ebp - 0xf0]
call fcn.00422510
lea ecx, [ebp - 0xf0]
push 0x498d18
push ecx
mov dword [ebp - 0xf0], vtable.TAllocationFailure.0
call fcn.0044f5c5
call fcn.00419100
test al, al
jne 0x4041a9
lea ecx, [ebp - 0x73]
call fcn.00422500
mov dl, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], dl
call fcn.004015d0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x90]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0x4c5948
call fcn.0044f4d6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
push ecx
lea ecx, [ebp - 0x84]
call fcn.00404be0
mov dword [ebp - 0x90], vtable.std::runtime_error.0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004015d0
lea edx, [ebp - 0x90]
push 0x498aa8
push edx
mov dword [ebp - 0x90], vtable.TRuntimeError.0
mov byte [ebp - 4], 5
call fcn.0044f5c5
call fcn.0041b850
test al, al
jne 0x404231
lea ecx, [ebp - 0x93]
call fcn.00422500
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.004015d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], 0x4c5948
call fcn.0044f4d6
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
push edx
mov byte [ebp - 4], 0xd
call fcn.00404be0
mov dword [ebp - 0xb0], vtable.std::runtime_error.0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004015d0
lea eax, [ebp - 0xb0]
push 0x498aa8
push eax
mov dword [ebp - 0xb0], vtable.TRuntimeError.0
mov byte [ebp - 4], 5
call fcn.0044f5c5
call fcn.0041b690
test al, al
jne 0x4042b9
lea ecx, [ebp - 0xb3]
call fcn.00422500
mov cl, byte [ebp - 0x11]
push 0
mov byte [ebp - 0x44], cl
lea ecx, [ebp - 0x44]
call fcn.004015d0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xd0]
push edx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x18], 0x4c5948
call fcn.0044f4d6
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x11
call fcn.00404be0
mov dword [ebp - 0xd0], vtable.std::runtime_error.0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.004015d0
lea ecx, [ebp - 0xd0]
push 0x498aa8
push ecx
mov dword [ebp - 0xd0], vtable.TRuntimeError.0
mov byte [ebp - 4], 5
call fcn.0044f5c5
call fcn.00429860
call fcn.00402910
call fcn.0041ca50
call fcn.00432670
call fcn.00429c00
call fcn.00426410
call fcn.00432450
call fcn.004263a0
call fcn.00426330
call fcn.004366e0
call fcn.00424e80
push 0
call fcn.00437443
add esp, 4
mov ecx, edi
call fcn.0047bc01
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x404311
push eax
call fcn.0044ffaa
add esp, 4
push 0x4a5a78
call fcn.0044ff7f
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x90]
add esp, 4
test eax, eax
je 0x404334
push eax
call fcn.0044ffaa
add esp, 4
push 0x4a5a48
call fcn.0044ff7f
add esp, 4
mov ecx, edi
mov dword [edi + 0x90], eax
push 4
call fcn.0047aabe
push 0x68
call fcn.00465d62
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
mov byte [ebp - 4], 0x14
je 0x40436e
call fcn.00403cb0
jmp 0x404370
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00470c18
mov al, byte [ebp - 0x11]
test al, al
je 0x404393
mov ecx, edi
call fcn.0047bbba
push 0
mov ecx, edi
call fcn.0047bbe4
lea edx, [ebp - 0x70]
mov ecx, edi
push edx
call fcn.0047ab3a
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.0047b868
test eax, eax
jne 0x4043e1
test bl, bl
mov byte [ebp - 4], 4
je 0x4043c2
test esi, esi
je 0x4043c2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.0047abe8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x1c]
push 5
call fcn.0046a386
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [edi + 0x1c]
push 1
call fcn.0046991f
test bl, bl
mov byte [ebp - 4], 4
je 0x404417
test esi, esi
je 0x404417
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.0047abe8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret