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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41173b
push eax
mov eax, dword [0x4146f8]
mov dword fs:[0], esp
sub esp, 0x2f8
mov edx, dword [0x4146f4]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [edx + 0x78]
mov ebx, dword [esp + 0x318]
lea ecx, [esp + 0x204]
mov edx, ebx
mov edi, 0x104
lea eax, [esp + 0x204]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x401520
mov byte [eax], cl
inc eax
dec edi
jne 0x401511
jmp 0x401524
test edi, edi
jne 0x401525
dec eax
mov edx, dword [0x4146f4]
push ebx
mov byte [eax], 0
call dword [edx + 0x18]
push eax
mov ecx, esi
call fcn.004011f0
test eax, eax
je 0x40182a
xor eax, eax
mov cl, byte [eax + 0x414700]
mov dl, byte [eax + 0x413060]
cmp cl, dl
jne 0x401825
inc eax
cmp eax, 0xcf8
jb 0x401544
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x10c]
lea ebp, [esi + 4]
stosw word es:[edi], ax
push ebp
lea edx, [esp + 0x3c]
push 0xc8
push edx
mov edx, dword [esi]
mov bl, 0x70
stosb byte es:[edi], al
lea eax, [esp + 0x24]
push 0x413e00
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], 0
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x4146f4]
push eax
call dword [ecx + 0x138]
test eax, eax
je 0x40182a
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x101]
mov byte [esp + 0x100], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x10c]
push ebp
stosw word es:[edi], ax
lea edx, [esp + 0x104]
push 0x104
stosb byte es:[edi], al
push edx
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push 0x413e00
mov byte [esp + 0x20], 0x66
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x4146f4]
push eax
call dword [ecx + 0x138]
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi]
push ebp
lea edx, [esp + 0x18]
push 0
mov byte [esp + 0x1c], 0x64
mov byte [esp + 0x1d], 0x6b
mov byte [esp + 0x1e], 0
push edx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x4146f4]
push edx
call dword [eax + 0x134]
mov edx, dword [esi + 0x10c]
mov ebx, eax
mov eax, dword [esi]
push ebp
lea ecx, [esp + 0x20]
push 0
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x25], 0x6d
mov byte [esp + 0x26], 0
push ecx
mov ecx, dword [eax + edx*4]
mov edx, dword [0x4146f4]
push ecx
call dword [edx + 0x134]
mov ebp, dword [esp + 0x31c]
mov edi, eax
cmp edi, 0x28
je 0x4016b9
cmp ebp, 1
jne 0x4016ae
cmp ebx, ebp
je 0x4016b5
lea eax, [esp + 0x100]
push ebx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [0x4146f8]
call fcn.004113f0
test eax, eax
jne 0x4016da
jmp 0x40182a
cmp ebp, 2
je 0x4016b9
jmp 0x4016eb
push 1
jmp 0x4016ba
push ebx
lea eax, [esp + 0x104]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [0x4146f8]
call fcn.00411470
test eax, eax
je 0x40182a
mov edx, dword [0x4146f4]
push 0x61a8
call dword [edx + 0x130]
add edi, 0xfffffffd
mov eax, 1
xor ebx, ebx
cmp edi, 0x25
mov dword [esp + 0x20], eax
mov dword [esi + 0x118], ebx
mov dword [esi + 0x114], ebx
ja case.0x401716.5
xor ecx, ecx
mov cl, byte [edi + 0x40185c]
jmp dword [ecx*4 + 0x401848]
lea ecx, [esp + 0x24]
mov dword [esi + 0x114], 7
call fcn.004108a0
lea edx, [esp + 0x20]
lea eax, [esi + 0x110]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.004108d0
test eax, eax
je 0x401752
lea ecx, [esp + 0x24]
call fcn.00410d10
cmp ebp, 1
jne 0x401800
lea ecx, [esp + 0x24]
call fcn.00410d60
jmp 0x401800
mov dword [esi + 0x118], eax
jmp 0x401800
lea ecx, [esp + 0x2c]
mov dword [esi + 0x114], 9
call fcn.00403150
mov dword [esp + 0x310], ebx
mov edi, 2
lea ecx, [esp + 0x2c]
call fcn.004038c0
mov ecx, dword [0x4146f4]
push 0x1d4c0
call dword [ecx + 0x130]
dec edi
jne 0x401793
lea edx, [esp + 0x20]
lea eax, [esi + 0x110]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.004032c0
test eax, eax
je 0x4017d2
lea ecx, [esp + 0x2c]
call fcn.00403400
cmp ebp, 1
jne 0x4017e0
lea ecx, [esp + 0x2c]
call fcn.00403840
lea ecx, [esp + 0x2c]
mov dword [esp + 0x310], 0xffffffff
call fcn.00403180
jmp 0x401800
mov dword [esi + 0x114], 7
mov ecx, esi
call fcn.00401400
cmp dword [esi + 0x114], ebx
je 0x401816
mov ecx, esi
call fcn.004012b0
cmp dword [esi + 0x118], ebx
je 0x401825
mov ecx, esi
call fcn.004018f0
mov eax, 1
mov ecx, dword [esp + 0x308]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x304
ret 8