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

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4154f3
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00414900
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 0xf]
mov edx, dword [esp + 8]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 4]
mov dword [esp + 0x60], esi
test cl, 0x40
jne 0x414ef7
mov ecx, dword [eax + 4]
mov edi, dword [eax]
shr ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x94]
cmp ecx, edi
je 0x414e92
mov dword [esp + 0x5c], edi
shr edi, 2
cmp edi, 0x20
ja 0x414e8b
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4154ed
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.00414d90
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x5c]
xor edx, edx
div ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
jmp 0x4153db
xor edi, edi
jmp 0x41526a
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x20
jbe 0x414ea3
mov eax, dword [eax + 0x14]
jmp 0x415131
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.00414d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.00414940
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x4150f0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], ecx
mov ebx, dword [eax + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00413560
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004155b0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x60]
xor esi, esi
jmp 0x414f90
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x34]
shl eax, 2
sub ecx, eax
mov dword [esp + 0x10], ecx
call fcn.00414ac0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
lea esi, [edx + ecx]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], esi
mov edi, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, edi
jmp 0x415094
mov esi, dword [esp + 0x80]
movzx esi, byte [esi]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.00414940
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x94]
cmp eax, ebx
jne 0x414f4b
jmp 0x4150a2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
movzx esi, byte [eax]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 8
call fcn.00414940
mov eax, dword [esp + 0x40]
add eax, 0xfffffff8
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x80]
mov dword [esp], esi
call fcn.00413580
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x60]
cmp eax, 8
ja 0x415005
jmp 0x414fab
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
call fcn.00414bb0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
add eax, 7
shr eax, 3
mov dword [esp + 4], eax
call fcn.0046a2d0
add esp, 0x88
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
call fcn.00414bb0
add esp, 0x88
ret
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], esi
mov dword [esp], eax
call fcn.00414d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x20
call fcn.00414940
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
mov dword [esp + 4], 4
call fcn.00413560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add ecx, 0xffffffe0
cmp ecx, 0x20
ja 0x415121
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
call fcn.00414d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
call fcn.00414940
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x4150f0
mov ecx, dword [eax + 4]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x6c]
sub edx, ecx
mov dword [esp + 0x10], edx
call fcn.00414ac0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
lea edi, [edx + ecx]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x44], edi
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
jmp 0x415398
mov dword [esp], ecx
call fcn.00414d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00414940
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x44]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
cmp ecx, ebx
jne 0x415222
jmp 0x4153ba
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00414d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x20
call fcn.00414940
mov eax, dword [esp + 0x3c]
add eax, 0xffffffe0
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov dword [esp + 4], 4
call fcn.00413560
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebp
mov edi, dword [esp + 0x3c]
cmp edi, 0x20
ja 0x4152fa
jmp 0x415286
mov ebx, edx
mov edx, edi
mov ecx, esi
mov eax, ebp
jmp 0x4150f0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x58]
mov edx, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
cmp edx, 0x10
ja 0x41546c
mov dword [esp + 0x38], ecx
test eax, 1
je 0x415433
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00414940
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
shr eax, 1
mov ecx, edx
mov ebx, dword [esp + 0x38]
shl ebx, cl
mov ebp, dword [esp + 0x38]
or ebp, ebx
mov ebx, dword [esp + 0x2c]
add ebx, ecx
shl ecx, 1
cmp eax, 1
jne 0x4153c7
mov edx, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], edx
jmp 0x4154b3
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00414940
mov eax, dword [esp + 0x30]
dec eax
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp eax, 1
ja 0x415476
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.00414940
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x4153ba
call fcn.0043a980
nop
call fcn.004688b0
jmp fcn.00414dc0