Function at 0x40b430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 0x600
mov dword [ebp - 0xd0], eax
mov eax, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x40b518
push eax
mov dword [esp], str.FOR__IS_DEBUGGER_PRESENT
call fcn.00439910
mov dword [ebp - 0xc8], eax
add esp, 4
mov eax, dword [ebp - 0xc8]
test eax, eax
jne 0x40b518
push eax
mov dword [esp], str.FOR_DEBUGGER_IS_PRESENT
call fcn.00439910
mov dword [ebp - 0xc0], eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x40b522
mov dword [ebp - 0xe0], 1
push eax
mov dword [esp], str.FOR_DISABLE_STACK_TRACE
call fcn.00439910
mov dword [ebp - 0xc4], eax
add esp, 4
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x40b54c
mov dword [ebp - 0xe8], 1
push eax
mov dword [esp], str.FOR_FORCE_STACK_TRACE
call fcn.00439910
mov dword [ebp - 0xbc], eax
add esp, 4
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x40b576
mov dword [ebp - 0xe4], 1
add esp, 0xfffffff4
mov dword [esp], 0x4000
mov dword [esp + 4], 0
lea eax, [ebp - 0x100]
mov dword [esp + 8], eax
call fcn.00431e20
mov dword [ebp - 0xb8], eax
add esp, 0xc
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x40b5c0
mov dword [ebp - 0xec], 1
mov eax, dword [ebp + 8]
and eax, 0xffff
mov dword [ebp - 0x10c], eax
add esp, 0xfffffff4
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x104]
call fcn.0040ce20
mov dword [ebp - 0xb4], eax
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x40b660
add esp, 0xffffffe4
mov eax, dword [ebp - 0xd4]
mov dword [esp], eax
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x189
mov dword [esp + 0x18], 0
mov eax, dword [sym.imp.KERNEL32.dll_FormatMessageA]
call eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x40b6c4
add esp, 0xfffffff4
mov eax, 0x1f4
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x104]
call fcn.0040bed0
mov dword [ebp - 0xac], eax
add esp, 0xc
add esp, 0xfffffff4
lea eax, [ebp - 0x424]
mov dword [esp], eax
mov dword [esp + 4], 0x4e9a28
mov eax, dword [ebp - 0x104]
mov dword [esp + 8], eax
call fcn.0047c0e0
mov dword [ebp - 0xa8], eax
add esp, 0xc
lea eax, [ebp - 0x424]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x40b71b
lea eax, [ebp + 0xc]
add eax, 4
mov dword [ebp - 0x110], eax
add esp, 0xfffffff4
lea eax, [ebp - 0x29b]
mov dword [esp], eax
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [esp + 8], eax
call fcn.0047c600
mov dword [ebp - 0xa4], eax
add esp, 0xc
mov dword [ebp - 0x110], 0
lea eax, [ebp - 0x29b]
mov dword [ebp - 0x104], eax
mov eax, dword [0x50dc00]
test eax, eax
je 0x40b80e
mov eax, dword [ebp - 0x104]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x40b747
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x40b732
dec eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [0x50dc00]
cmp eax, edx
jae 0x40b7e1
mov eax, dword [0x50dbfc]
mov edx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x9c]
mov edi, eax
mov esi, edx
mov edx, edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [0x50dbfc]
mov edx, 0x20
mov ecx, dword [ebp - 0x9c]
neg ecx
add ecx, dword [0x50dc00]
mov edi, eax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
shr ecx, 2
mov edx, edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
mov dword [ebp - 0x8c], eax
jmp 0x40b80e
mov eax, dword [0x50dbfc]
mov edx, dword [ebp - 0x104]
mov ecx, dword [0x50dc00]
mov edi, eax
mov esi, edx
mov edx, edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, edx
mov dword [ebp - 0x98], eax
call fcn.0040e400
mov eax, dword [ebp - 0x108]
imul eax, eax, 4
mov edx, 0x50abf0
add edx, eax
mov eax, dword [edx]
mov dword [ebp - 0xfc], eax
call fcn.0040c0e0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x40b860
mov eax, 0x50abf0
mov edx, 0x14
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x40b926
mov dword [ebp - 0x88], eax
add esp, 0xfffffff4
mov dword [esp], 0x50d9e0
mov eax, dword [ebp - 0xfc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10c]
mov dword [esp + 8], eax
call fcn.0047c0e0
mov dword [ebp - 0x84], eax
add esp, 0xc
add esp, 0xfffffff0
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
mov dword [esp + 4], str._s_s_n
mov dword [esp + 8], 0x50d9e0
mov eax, dword [ebp - 0x104]
mov dword [esp + 0xc], eax
call fcn.0047c0e0
mov dword [ebp - 0x78], eax
add esp, 0x10
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x40bafb
add esp, 0xfffffff4
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x100]
mov dword [esp], eax
mov eax, 0x50abf0
mov edx, 0x14
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp + 8], eax
call fcn.0047c0e0
mov dword [ebp - 0x6c], eax
add esp, 0xc
jmp 0x40bafb
mov eax, dword [ebp - 0xfc]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x40b945
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x40b930
dec eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x104]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x40b967
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x40b952
dec eax
mov dword [ebp - 0x7c], eax
mov eax, 0x14
add eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x40b9b7
mov eax, dword [ebp - 0xf8]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x40b9a5
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x40b990
dec eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf0], eax
add esp, 0xfffffff4
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
mov dword [esp + 4], 0
lea eax, [ebp - 0x100]
mov dword [esp + 8], eax
call fcn.00431e20
mov dword [ebp - 0x70], eax
add esp, 0xc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x40ba22
jmp 0x40ba56
add esp, 0xfffffff4
mov eax, 0x40
add eax, dword [ebp - 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0x4e9a28
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], eax
call fcn.0047d450
mov dword [ebp - 0x4c], eax
add esp, 0xc
jmp 0x40bafb
call fcn.0047cee0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
add esp, 0xfffffff4
mov dword [esp], 0x1f6
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
call fcn.0040c140
mov dword [ebp - 0x60], eax
add esp, 0xc
jmp 0x40b9f5
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0xec], 2
add esp, 0xfffffff4
mov dword [esp], 0x50d9e0
mov eax, dword [ebp - 0xfc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10c]
mov dword [esp + 8], eax
call fcn.0047c0e0
mov dword [ebp - 0x58], eax
add esp, 0xc
add esp, 0xfffffff0
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
mov dword [esp + 4], str._s_s_n
mov dword [esp + 8], 0x50d9e0
mov eax, dword [ebp - 0x104]
mov dword [esp + 0xc], eax
call fcn.0047c0e0
mov dword [ebp - 0x48], eax
add esp, 0x10
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x40bafb
add esp, 0xfffffff4
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x100]
mov dword [esp], eax
mov eax, dword [ebp - 0xf8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp + 8], eax
call fcn.0047c0e0
mov dword [ebp - 0x40], eax
add esp, 0xc
mov eax, dword [0x50dbf0]
test eax, eax
je 0x40bbf6
mov dword [ebp - 0x54], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, 0xffffffbf
add eax, dword [ebp - 0x50]
cmp eax, 0x6d
ja 0x40bb53
mov eax, 0xffffffbf
add eax, dword [ebp - 0x50]
imul eax, eax, 4
mov edx, 0x4e4700
add edx, eax
mov eax, dword [edx]
jmp eax
mov eax, dword [ebp - 0x108]
cmp eax, 4
je 0x40bb79
jmp 0x40bb6e
mov eax, dword [0x518660]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40bb79
jmp 0x40bb91
mov eax, dword [0x518660]
test eax, eax
jne 0x40bb60
jmp 0x40bb91
mov dword [ebp - 0x54], 0
jmp 0x40bb91
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40bbee
jmp 0x40bbf6
mov eax, dword [ebp - 0x100]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x40bbb0
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x40bb9b
dec eax
mov dword [ebp - 0x3c], eax
mov eax, dword [0x50dbf0]
add esp, 0xffffffec
lea edx, [ebp - 0x10c]
mov dword [esp], edx
lea edx, [ebp - 0x54]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x100]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x50dbf4
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x10], edx
call eax
mov dword [ebp - 0x38], eax
add esp, 0x14
jmp 0x40bb82
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret
mov eax, dword [ebp - 0xe4]
test eax, eax
jne 0x40bc39
mov eax, dword [ebp - 0x108]
cmp eax, 4
jne 0x40bc2e
jmp 0x40bcb8
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x40bcb8
mov eax, dword [ebp - 0xec]
cmp eax, 1
je 0x40bc39
jmp 0x40bcb8
mov eax, dword [0x518660]
test eax, eax
jne 0x40bc10
jmp 0x40bcb8
mov eax, dword [ebp - 0xe4]
test eax, eax
jne 0x40bc8e
mov eax, dword [0x518660]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40bc8e
mov eax, dword [ebp - 0x108]
cmp eax, 3
je 0x40bc8e
mov eax, dword [ebp - 0x10c]
cmp eax, 0x194
je 0x40bc8e
mov eax, dword [ebp - 0x10c]
cmp eax, 0x195
je 0x40bc8e
mov eax, dword [ebp - 0x10c]
cmp eax, 0x196
je 0x40bc8e
mov eax, dword [ebp - 0x10c]
cmp eax, 0x197
jne 0x40bcb8
add esp, 0xfffffff4
mov eax, dword [0x518660]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00439d80
mov dword [ebp - 0x44], eax
add esp, 0xc
mov eax, dword [ebp - 0x108]
cmp eax, 4
je 0x40bd3f
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x40bd0c
add esp, 0xfffffff8
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0x10c]
call fcn.0040e1a0
mov dword [ebp - 0x30], eax
add esp, 8
mov dword [ebp - 0x30], 0
push eax
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.00431ee0
mov dword [ebp - 0x28], eax
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x40bec0
mov eax, dword [ebp - 0x108]
cmp eax, 3
jne 0x40bec0
mov eax, dword [0x518660]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40bec0
int3
mov eax, dword [ebp - 0xe4]
test eax, eax
jne 0x40bd6d
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x40bd62
jmp 0x40bd97
mov eax, dword [ebp - 0xec]
cmp eax, 1
je 0x40bd6d
jmp 0x40bd97
mov eax, dword [0x518660]
test eax, eax
jne 0x40bd55
jmp 0x40bd97
add esp, 0xfffffff4
mov eax, dword [0x518660]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00439d80
mov dword [ebp - 0x2c], eax
add esp, 0xc
push eax
mov eax, dword [ebp - 0x100]
call fcn.0040e470
add esp, 4
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x40bdef
add esp, 0xfffffff8
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0x10c]
call fcn.0040e1a0
mov dword [ebp - 0x24], eax
add esp, 8
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.00431ee0
mov dword [ebp - 0x20], eax
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xd8], eax
mov eax, dword [0x518660]
test eax, eax
je 0x40be0c
mov eax, dword [0x518660]
mov eax, dword [eax + 4]
test eax, eax
je 0x40be0c
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret
push eax
mov dword [esp], 0
call fcn.00439fe0
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [0x518660]
test eax, eax
je 0x40be46
push eax
mov eax, dword [0x518660]
mov dword [esp], eax
call fcn.00431ee0
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [0x518660], 0
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x40be51
int3
push eax
mov dword [esp], str.f77_dump_flag
call fcn.00439910
mov dword [ebp - 0x14], eax
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40be8e
push eax
mov dword [esp], str.decfort_dump_flag
call fcn.00439910
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40be8e
mov eax, dword [0x50dbf8]
test eax, eax
je 0x40be93
call fcn.0047d790
mov eax, dword [0x518340]
test eax, eax
je 0x40beb1
push eax
mov dword [esp], 1
call fcn.004d2950
mov dword [ebp - 0xc], eax
add esp, 4
jmp 0x40bec0
push eax
mov eax, dword [ebp - 0x10c]
mov dword [esp], eax
call fcn.0047e260
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret