Function at 0x40c5b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5632d0
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x5cd480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0xec]
call fcn.0040d760
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
call fcn.00530b60
mov byte [ebp - 4], 1
push 0x5c0d6c
lea ecx, [ebp - 0xa0]
call fcn.00401550
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 2
push 0x5c0dfc
lea ecx, [ebp - 0x88]
call fcn.00401550
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 3
push 0
push 0x5d717c
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
push reloc.WS2_32.dll_accept
call fcn.00404470
add esp, 0x14
test eax, eax
jge 0x40c686
mov dword [ebp - 0xfc], 1
jmp 0x40c690
mov dword [ebp - 0xfc], 0
mov cl, byte [ebp - 0xfc]
mov byte [ebp - 0xed], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00401530
movzx edx, byte [ebp - 0xed]
test edx, edx
je 0x40c6dd
push 0
push 0
push 0x5c0fb8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.00546027
push 0x5c0fd0
push 0x5d717c
lea eax, [ebp - 0x40]
push eax
call fcn.00407b50
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push ecx
call fcn.004077e0
add esp, 4
movzx edx, al
test edx, edx
je 0x40ca85
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00407910
add esp, 8
mov byte [ebp - 4], 5
mov dword [ebp - 0xf8], 0
jmp 0x40c740
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
lea ecx, [ebp - 0x110]
call fcn.004014c0
cmp dword [ebp - 0xf8], eax
jae 0x40c781
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x110]
call fcn.004014a0
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
movsx edx, byte [ecx]
xor edx, 0x32
mov eax, dword [ebp - 0x100]
mov byte [eax], dl
jmp 0x40c731
lea ecx, [ebp - 0x14c]
call fcn.00523b50
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x164]
call fcn.00530d00
mov byte [ebp - 4], 7
push str.collectComments
lea ecx, [ebp - 0x70]
call fcn.00401690
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x14c]
call fcn.005247c0
mov ecx, eax
call fcn.00530f60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00401620
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x164]
call fcn.00530ef0
lea ecx, [ebp - 0x58]
call fcn.00401720
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14c]
call fcn.0052b540
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
push ecx
push 0
lea ecx, [ebp - 0x110]
call fcn.004014a0
mov esi, eax
lea ecx, [ebp - 0x110]
call fcn.004014c0
add esi, eax
push esi
push 0
lea ecx, [ebp - 0x110]
call fcn.004014a0
push eax
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 4]
call edx
movzx eax, al
test eax, eax
jne 0x40c89a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00401620
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14c]
call fcn.00524450
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x110]
call fcn.004014e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401530
jmp 0x40caa9
push 0x5c0ffc
lea ecx, [ebp - 0x28]
call fcn.00401690
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0xec]
call fcn.0040ce60
movzx edx, al
test edx, edx
je 0x40ca4f
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
call fcn.00531130
mov ecx, eax
call fcn.005331d0
movzx ecx, al
test ecx, ecx
je 0x40ca4f
mov dword [ebp - 0xf4], 0
jmp 0x40c904
mov edx, dword [ebp - 0xf4]
add edx, 1
mov dword [ebp - 0xf4], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
call fcn.00531130
mov ecx, eax
call fcn.005338f0
cmp dword [ebp - 0xf4], eax
jae 0x40ca4f
lea ecx, [ebp - 0xe8]
call fcn.0040cad0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb8]
push ecx
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x124], esp
push 0x5c1008
mov edx, dword [ebp - 0xf4]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
call fcn.00531130
mov ecx, eax
call fcn.00531160
mov ecx, eax
call fcn.00531470
mov ecx, eax
call fcn.00532090
push eax
mov ecx, esi
call fcn.00401690
call fcn.0040a8a0
add esp, 0x1c
lea ecx, [ebp - 0xd0]
push ecx
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x128], esp
push edx
push 0x5c1010
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
call fcn.00531130
mov ecx, eax
call fcn.00531160
mov ecx, eax
call fcn.00531470
mov ecx, eax
call fcn.005325d0
call fcn.0040a8a0
add esp, 0x1c
lea edx, [ebp - 0xe8]
push edx
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x12c], esp
push eax
push 0x5c1018
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
call fcn.00531130
mov ecx, eax
call fcn.00531160
mov ecx, eax
call fcn.00531470
mov ecx, eax
call fcn.005325d0
call fcn.0040a8a0
add esp, 0x1c
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
call fcn.0040d640
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.0040cb00
jmp 0x40c8f5
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00401620
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00401620
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14c]
call fcn.00524450
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x110]
call fcn.004014e0
push 0
lea ecx, [ebp - 0x17c]
call fcn.00530b60
lea ecx, [ebp - 0x17c]
call fcn.00530ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401530
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00535cb4
mov esp, ebp
pop ebp
ret