Function at 0x40c240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440821
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x44e170]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x44e170]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x3c], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x1c], ebx
jne 0x40c2a9
mov eax, 0xb
jmp 0x40ca66
cmp dword [edi + 0x4c], ebx
je 0x40c29f
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 4]
mov dword [esp + 0x1c], ebx
call fcn.00403f10
mov eax, dword [edi + 4]
cmp dword [esp + 0x14], eax
je 0x40c29f
cmp byte [edi + 0x58], bl
jne 0x40c2d8
mov eax, 0xc
jmp 0x40ca66
push dword [esp + 0x34]
lea ecx, [edi + 4]
call fcn.004045e0
mov esi, eax
cmp esi, dword [edi + 4]
je 0x40c314
cmp dword [esi + 0x24], 8
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x10]
jb 0x40c2f9
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00404dd0
test eax, eax
js 0x40c314
mov dword [esp + 0x14], esi
jmp 0x40c31b
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0xffffffffffffffff
mov esi, dword [eax]
xor eax, eax
push eax
add esi, 0x28
push esi
lea ecx, [esp + 0xac]
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
call fcn.004016f0
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x124], 0
call fcn.00403900
mov al, byte [esi + 0x24]
mov byte [esp + 0xc4], al
mov dword [esp + 0x120], 1
push 8
xor eax, eax
push str._collect
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe0], 0
mov word [esp + 0xd0], ax
call fcn.00401960
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov byte [esp + 0x120], 3
push 6
push str.2.5.35
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], ax
call fcn.00401960
mov byte [esp + 0x120], 4
push 8
xor eax, eax
push str.Nahimic2
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
call fcn.00401960
push 7
push str.tevent
lea ecx, [esp + 0x60]
mov byte [esp + 0x128], 5
call fcn.0040cbb0
push 4
push str.v1
lea ecx, [esp + 0x60]
call fcn.0040cbb0
cmp dword [esp + 0x98], 0
je 0x40c4b0
lea eax, [esp + 0x88]
push eax
mov edx, str.av
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 6
call fcn.0040ca90
mov byte [esp + 0x120], 5
cmp dword [esp + 0x2c], 8
jb 0x40c4b0
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
cmp dword [esp + 0x80], 0
je 0x40c501
lea eax, [esp + 0x70]
push eax
mov edx, str.an
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 7
call fcn.0040ca90
mov byte [esp + 0x120], 5
cmp dword [esp + 0x2c], 8
jb 0x40c501
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
lea eax, [edi + 0x3c]
push eax
mov edx, str.tid
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 8
call fcn.0040ca90
mov byte [esp + 0x120], 5
cmp dword [esp + 0x2c], 8
jb 0x40c547
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
lea eax, [edi + 0xc]
push eax
mov edx, str.cid
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 9
call fcn.0040ca90
mov byte [esp + 0x120], 5
cmp dword [esp + 0x2c], 8
jb 0x40c58d
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
cmp dword [edi + 0x34], 0
je 0x40c5d9
lea eax, [edi + 0x24]
push eax
mov edx, str.ul
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 0xa
call fcn.0040ca90
mov byte [esp + 0x120], 5
cmp dword [esp + 0x2c], 8
jb 0x40c5d9
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
lea eax, [esp + 0xa0]
push eax
mov edx, str.ec
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 0xb
call fcn.0040ca90
mov byte [esp + 0x120], 5
cmp dword [esp + 0x2c], 8
jb 0x40c623
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
push dword [esp + 0x34]
mov edx, str.ea
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 0xc
call fcn.0040ca90
cmp dword [esp + 0x2c], 8
jb 0x40c661
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
xor eax, eax
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], ax
mov byte [esp + 0x120], 0xd
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
cmp esi, edi
je 0x40c835
nop
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x104]
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], 0
mov word [esp + 0x104], ax
call fcn.004016f0
mov byte [esp + 0x120], 0xe
cmp dword [esp + 0xf0], 0
jne 0x40c71e
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x48], ax
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
call fcn.004016f0
lea eax, [esp + 0x40]
mov byte [esp + 0x120], 0xf
or ebx, 1
jmp 0x40c740
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040cde0
add esp, 4
mov dword [esp + 0x120], 0x10
or ebx, 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xec]
mov dword [esp + 0x3c], ebx
call fcn.0040ca90
test bl, 2
je 0x40c78b
and ebx, 0xfffffffd
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x30], ebx
jb 0x40c774
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov dword [esp + 0x120], 0xe
test bl, 1
je 0x40c7b5
and ebx, 0xfffffffe
cmp dword [esp + 0x54], 8
mov dword [esp + 0x30], ebx
jb 0x40c7b5
push dword [esp + 0x40]
call fcn.0040ec3f
add esp, 4
mov byte [esp + 0x120], 0xd
cmp dword [esp + 0x10c], 8
jb 0x40c7d6
push dword [esp + 0xf8]
call fcn.0040ec3f
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x40c6a0
cmp dword [esp + 0xf0], 0
je 0x40c835
lea eax, [esp + 0xe0]
push eax
mov edx, str.el
lea ecx, [esp + 0x1c]
call fcn.0040cce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 0x11
call fcn.0040ca90
mov byte [esp + 0x120], 0xd
cmp dword [esp + 0x2c], 8
jb 0x40c835
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
js 0x40c8b8
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0040c080
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 0x12
call fcn.0040cea0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 0x13
call fcn.0040ca90
cmp dword [esp + 0x2c], 8
jb 0x40c886
push dword [esp + 0x18]
call fcn.0040ec3f
add esp, 4
xor eax, eax
mov byte [esp + 0x120], 0xd
cmp dword [esp + 0x54], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jb 0x40c8b8
push dword [esp + 0x40]
call fcn.0040ec3f
add esp, 4
cmp byte [esp + 0xc4], 0
je 0x40c8d2
push 9
push str.scstart
lea ecx, [esp + 0x60]
call fcn.0040cbb0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x58]
mov ecx, dword [ecx + 0x54]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0xcc]
push edx
call dword [eax + 4]
cmp dword [esp + 0xf4], 8
mov ebx, eax
jb 0x40c906
push dword [esp + 0xe0]
call fcn.0040ec3f
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x40c91c
push dword [esp + 0x70]
call fcn.0040ec3f
add esp, 4
xor eax, eax
cmp dword [esp + 0x9c], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x40c952
push dword [esp + 0x88]
call fcn.0040ec3f
add esp, 4
xor eax, eax
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
jb 0x40c985
push dword [esp + 0x58]
call fcn.0040ec3f
add esp, 4
xor eax, eax
cmp dword [esp + 0xdc], 8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
jb 0x40c9b5
push dword [esp + 0xc8]
call fcn.0040ec3f
add esp, 4
mov esi, dword [esp + 0xb8]
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
test esi, esi
je 0x40ca4b
mov edi, dword [esp + 0xbc]
cmp esi, edi
je 0x40ca21
jmp 0x40c9f0
cmp dword [esi + 0x14], 8
jb 0x40ca00
push dword [esi]
call fcn.0040ec3f
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x40c9f0
mov esi, dword [esp + 0xb8]
push esi
call fcn.0040ec3f
add esp, 4
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
cmp dword [esp + 0xb4], 8
jb 0x40ca64
push dword [esp + 0xa0]
call fcn.0040ec3f
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0040ec44
mov esp, ebp
pop ebp
ret 8