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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov edx, dword [ecx + 0x1a4]
push ebx
push ebp
push esi
push edi
mov dword [ecx + 0x1a8], edx
mov edx, dword [ecx + 0x18c]
xor edi, edi
xor eax, eax
cmp edx, edi
mov dword [ecx + 0x184], edi
mov dword [ecx + 0x188], edi
mov dword [esp + 0x28], edi
jle 0x40f835
mov esi, 1
jmp 0x40f506
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0x1a8]
inc eax
mov dword [esp + 0x14], eax
cmp dword [edx + 0x78], esi
jne 0x40f534
mov edx, dword [ecx + 0x190]
mov dword [esp + 0x14], edi
mov dword [ecx + edx*4 + 0x1ac], eax
mov eax, dword [ecx + 0x190]
inc eax
mov dword [ecx + 0x190], eax
mov eax, dword [ecx + 0x1a8]
mov dword [esp + 0x24], edi
mov edx, dword [eax + 0x34]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0x114]
mov dword [ecx + 0x118], edx
mov edx, dword [ecx + 0xac]
cmp edx, edi
jle 0x40f7ba
add eax, 0x15
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x118]
mov esi, dword [ecx + 0x1a8]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [esi]
jne 0x40f59c
test dl, dl
je 0x40f592
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x40f59c
add eax, 2
add esi, 2
test dl, dl
jne 0x40f572
mov dword [esp + 0x1c], 0
jmp 0x40f5a5
sbb eax, eax
sbb eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x18]
mov eax, dword [ecx + 0x118]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [esi]
jne 0x40f5d9
test dl, dl
je 0x40f5cf
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x40f5d9
add eax, 2
add esi, 2
test dl, dl
jne 0x40f5af
mov dword [esp + 0x20], 0
jmp 0x40f5e2
sbb eax, eax
sbb eax, 0xffffffff
mov dword [esp + 0x20], eax
mov edi, dword [ecx + 0x118]
mov esi, dword [ecx + 0x1a8]
add edi, 0x15
mov eax, edi
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [esi]
jne 0x40f617
test dl, dl
je 0x40f613
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x40f617
add eax, 2
add esi, 2
test dl, dl
jne 0x40f5f3
xor ebp, ebp
jmp 0x40f61c
sbb ebp, ebp
sbb ebp, 0xffffffff
mov esi, dword [esp + 0x18]
mov eax, edi
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [esi]
jne 0x40f646
test dl, dl
je 0x40f642
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x40f646
add eax, 2
add esi, 2
test dl, dl
jne 0x40f622
xor eax, eax
jmp 0x40f64b
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [esp + 0x1c]
xor edi, edi
cmp esi, edi
jne 0x40f659
cmp eax, edi
je 0x40f663
cmp dword [esp + 0x20], edi
jne 0x40f672
cmp ebp, edi
jne 0x40f672
mov edx, dword [ecx + 0x118]
mov ebx, dword [esp + 0x2c]
cmp ebx, dword [edx + 0x38]
je 0x40f6a0
mov edx, dword [ecx + 0x118]
mov eax, dword [esp + 0x24]
add edx, 0x80
inc eax
mov dword [ecx + 0x118], edx
mov edx, dword [ecx + 0xac]
cmp eax, edx
mov dword [esp + 0x24], eax
jl 0x40f566
jmp 0x40f7b5
cmp esi, edi
jne 0x40f6cb
cmp eax, edi
jne 0x40f6cb
mov eax, dword [ecx + 0x118]
mov edx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x1a8]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x118]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [eax + 0x30]
jmp 0x40f6ec
mov edx, dword [ecx + 0x118]
mov eax, dword [ecx + 0x1a8]
mov edx, dword [edx + 0x30]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x118]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x30], eax
mov edx, dword [ecx + 0x118]
mov eax, dword [ecx + 0x1a8]
mov edx, dword [edx + 0x34]
mov dword [eax + 0x7c], edx
mov eax, dword [ecx + 0x118]
mov edx, dword [ecx + 0x1a8]
mov esi, dword [eax + 0x40]
mov dword [edx + 0x80], esi
mov eax, dword [eax + 0x44]
mov dword [edx + 0x84], eax
mov edx, dword [ecx + 0x118]
mov eax, dword [ecx + 0x1a8]
mov esi, dword [edx + 0x48]
mov dword [eax + 0x88], esi
mov edx, dword [edx + 0x4c]
mov dword [eax + 0x8c], edx
mov eax, dword [ecx + 0x118]
mov edx, dword [ecx + 0x1a8]
mov esi, dword [eax + 0x50]
mov dword [edx + 0x90], esi
mov eax, dword [eax + 0x54]
mov dword [edx + 0x94], eax
mov edx, dword [ecx + 0x118]
mov eax, dword [ecx + 0x1a8]
mov esi, dword [edx + 0x58]
mov dword [eax + 0x98], esi
mov edx, dword [edx + 0x5c]
mov dword [eax + 0x9c], edx
mov eax, dword [ecx + 0x118]
mov edx, dword [ecx + 0x1a8]
mov esi, dword [eax + 0x60]
mov dword [edx + 0xa0], esi
mov eax, dword [eax + 0x64]
mov dword [edx + 0xa4], eax
mov edx, dword [ecx + 0x118]
mov eax, dword [ecx + 0x1a8]
mov esi, dword [edx + 0x68]
mov dword [eax + 0xa8], esi
mov edx, dword [edx + 0x6c]
mov dword [eax + 0xac], edx
mov esi, 1
cmp dword [ecx + 0x184], edi
jne 0x40f80c
cmp dword [ecx + 0x188], edi
jne 0x40f80c
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x44]
mov ebx, dword [edx + 0x40]
mov ebp, dword [edx + 0x3c]
add eax, ebx
add eax, ebp
cmp eax, esi
jne 0x40f7ef
mov dword [ecx + 0x184], esi
mov dword [ecx + 0x188], esi
jmp 0x40f80c
cmp eax, 2
jne 0x40f80c
mov dword [ecx + 0x188], esi
mov eax, dword [edx + 0x48]
cmp eax, esi
je 0x40f806
cmp dword [edx + 0x50], esi
jne 0x40f80c
mov dword [ecx + 0x184], esi
mov eax, dword [esp + 0x28]
mov ebx, dword [ecx + 0x1a8]
mov edx, dword [ecx + 0x18c]
inc eax
add ebx, 0xb0
cmp eax, edx
mov dword [esp + 0x28], eax
mov dword [ecx + 0x1a8], ebx
jl 0x40f502
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret