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

Disassembly:
push 0xffffffffffffffff
push 0x481a74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x20], 0
jne 0x40c554
mov eax, dword [ebp + 0x18]
push 0x574
lea ecx, [ebp + 0x14]
push eax
push ecx
call fcn.004758df
mov ecx, dword [ebp + 0x18]
lea edx, [ecx*8]
sub edx, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
shl edx, 1
sub edx, ecx
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x570]
jl 0x40c554
inc ecx
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp + 0x10], eax
sub eax, 0x574
dec ecx
jne 0x40c544
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x10], esi
mov ecx, 0x15b
mov eax, dword [esi]
add esi, 8
mov dword [ebp + 0x10], eax
mov dword [esi - 4], edi
mov dword [esi - 8], 0
mov eax, dword [ebp + 0xc]
inc eax
mov ebx, esi
mov dword [ebp + 0xc], eax
xor eax, eax
mov edi, ebx
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x18], ebx
test ebx, ebx
mov byte [esp + 0x24], 1
je 0x40c59c
mov ecx, ebx
call fcn.0040c780
add ebx, 0x56c
mov ecx, edi
dec edi
mov byte [esp + 0x24], 0
test ecx, ecx
mov dword [esp + 0x14], ebx
jne 0x40c588
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
call fcn.00475f95
lea eax, [esp + 0x30]
lea ecx, [esi + 4]
push eax
call fcn.00475f95
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 8]
call fcn.00475f95
lea edx, [esp + 0x38]
lea ecx, [esi + 0xc]
push edx
call fcn.00475f95
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x10]
push eax
call fcn.00475f95
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esi + 0x14]
call fcn.00475f95
lea edx, [esp + 0x44]
lea ecx, [esi + 0x18]
push edx
call fcn.00475f95
lea ebx, [esp + 0x30]
lea eax, [esp + 0x2c]
sub ebx, esi
sub eax, esi
lea edi, [esi + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 5
jmp 0x40c62d
mov eax, dword [esp + 0x18]
add eax, edi
mov ecx, edi
push eax
call fcn.00475f95
lea eax, [ebx + edi]
lea ecx, [edi + 4]
push eax
call fcn.00475f95
mov eax, dword [esp + 0x14]
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x40c629
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esi + 0x44]
call fcn.00475f95
lea edx, [esp + 0x74]
lea ecx, [esi + 0x48]
push edx
call fcn.00475f95
lea eax, [esp + 0x78]
lea ecx, [esi + 0x4c]
push eax
call fcn.00475f95
mov ecx, dword [esp + 0x7c]
lea edi, [esi + 0x54]
mov dword [esi + 0x50], ecx
mov ecx, 0x146
lea esi, [esp + 0x80]
pop ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c6a0
mov esi, dword [esp + 0xc]
mov dword [eax], esi
jmp 0x40c6a9
mov edx, dword [esp + 0xc]
mov dword [ebp + 4], edx
mov esi, edx
mov dword [ebp + 8], esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], 0xb
call fcn.00475ea8
lea ecx, [esp + 0x70]
mov byte [esp + 0x20], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x6c]
mov byte [esp + 0x20], 9
call fcn.00475ea8
push 0x403560
push 5
lea eax, [esp + 0x4c]
push 8
push eax
mov byte [esp + 0x30], 8
call fcn.00465d50
lea ecx, [esp + 0x40]
mov byte [esp + 0x20], 7
call fcn.00475ea8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x20], 6
call fcn.00475ea8
lea ecx, [esp + 0x38]
mov byte [esp + 0x20], 5
call fcn.00475ea8
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], 4
call fcn.00475ea8
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 3
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 2
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 0x56c