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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1f4]
push 0
mov dword [esp + 0x1c], ecx
call fcn.0041f620
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x10], eax
jmp 0x427610
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 0x168]
jge 0x4279d7
mov ecx, dword [esi + 0x164]
mov ebp, dword [ecx + eax*4]
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
jle 0x4278b7
test byte [esi + 0x120], 0x40
je 0x4278b7
mov edx, dword [ebp + 4]
movzx eax, word [edx + 4]
mov ecx, dword [esi + 0x1c8]
imul eax, eax, 0x3c
mov eax, dword [eax + ecx + 0x1c]
push 0
push eax
mov ecx, esi
call fcn.00424900
mov ecx, dword [esi + 0x12c]
sub ecx, eax
mov eax, dword [esi + 0x128]
cmp eax, ecx
mov edi, eax
jg 0x42767d
mov edi, ecx
mov edx, dword [esp + 0x38]
push 0
push 1
push 0
mov dword [esp + 0x34], edi
fild dword [esp + 0x34]
push ebx
push edx
mov ecx, esi
fstp qword [esp + 0x40]
call fcn.00426890
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
jne 0x4278b7
mov eax, dword [esp + 0x38]
push 1
push edi
push eax
mov ecx, esi
call fcn.00427350
dec ebx
cmp ebx, eax
mov ebp, ebx
jl 0x4276c3
mov ebp, eax
test ebp, ebp
jle 0x4276ea
mov ecx, dword [esp + 0x38]
push 0
push 1
push 0
push ebp
push ecx
mov ecx, esi
call fcn.00426890
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
jne 0x4276ea
dec ebp
test ebp, ebp
jg 0x4276c7
xor edi, edi
test ebx, ebx
jle 0x427715
xor ecx, ecx
cmp edi, ebp
jg 0x427715
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ax, word [ecx + eax]
cmp ax, 0xa
je 0x427739
cmp ax, 0xd
je 0x427739
inc edi
add ecx, 6
cmp edi, ebx
jl 0x4276f2
dec ebp
test ebp, ebp
mov dword [esp + 0x28], 0xffffffff
jle 0x42784c
lea eax, [ebp + ebp*2]
shl eax, 1
lea ecx, [ebp + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x427760
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00422eb0
test eax, eax
je 0x4279c4
mov ebp, dword [esp + 0x1c]
inc edi
sub ebp, edi
jmp 0x427978
mov eax, dword [esp + 0x24]
lea ecx, [ecx]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov dx, word [eax + ecx]
add eax, ecx
mov ecx, dword [esp + 0x20]
mov word [esp + 0x2c], dx
cmp ecx, dword [esp + 0x1c]
jge 0x427782
mov bx, word [eax + 6]
jmp 0x427784
xor ebx, ebx
movzx edi, word [eax + 2]
mov ecx, dword [esi + 0x1c4]
imul edi, edi, 0x74
mov eax, dword [esp + 0x28]
add edi, ecx
cmp eax, 0xffffffff
jne 0x4277a0
mov dword [esp + 0x28], ebp
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4277f4
mov eax, dword [esi + 0x24]
test eax, eax
mov dword [esi + 0x20], 8
je 0x4277e2
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4277c3
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
jne 0x4277d1
test eax, eax
je 0x4277e2
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4277e2
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x1ac]
test eax, eax
jne 0x4277ee
call fcn.00486cc0
jmp 0x4277ee
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4277f1
call fcn.00497d20
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
cmp eax, 5
jle 0x427813
push 0
mov ecx, esi
call fcn.00424c60
mov edx, dword [esp + 0x30]
push eax
push ebx
push edx
call fcn.004237f0
add esp, 0x10
jmp 0x42782b
mov eax, dword [edi + 0x54]
shr eax, 6
and eax, 1
push eax
mov eax, dword [esp + 0x30]
push ebx
push eax
call fcn.004227f0
add esp, 0xc
test eax, eax
jne 0x427850
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
dec ebp
dec edx
sub ecx, 6
test ebp, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jg 0x427759
mov ebp, dword [esp + 0x28]
test ebp, ebp
jle 0x4278af
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00422eb0
test eax, eax
je 0x4279d7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x164]
mov ebx, dword [esp + 0x38]
inc ebp
push 0
sub edi, ebp
push edi
lea edx, [ebp + ebp*2]
lea edx, [ecx + edx*2]
mov ecx, dword [eax + ebx*4 + 4]
push edx
push 0
call fcn.00422a10
mov ecx, dword [esp + 0x14]
push edi
push ebp
call fcn.004228e0
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x38], ebx
jmp 0x4275fe
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea edx, [ebx - 1]
xor edi, edi
test edx, edx
jle 0x4278e2
mov ecx, dword [ebp + 4]
mov ax, word [ecx]
cmp ax, 0xa
je 0x427963
cmp ax, 0xd
je 0x427963
inc edi
add ecx, 6
cmp edi, edx
jl 0x4278c3
test ebx, ebx
je 0x427921
mov edx, dword [ebp + 4]
lea ecx, [ebx + ebx*2]
mov ax, word [edx + ecx*2 - 6]
cmp ax, 0xa
je 0x4278fd
cmp ax, 0xd
jne 0x42790d
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x168]
jge 0x4279b7
cmp ax, 0xa
je 0x4279d7
cmp ax, 0xd
je 0x4279d7
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x168]
jge 0x4279d7
mov eax, dword [esi + 0x164]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + ecx*4 + 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 4]
push 0
push edx
push eax
push ebx
mov ecx, ebp
call fcn.00422a10
mov eax, dword [esp + 0x10]
push eax
push eax
mov ecx, esi
call fcn.00421a00
jmp 0x427610
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00422eb0
test eax, eax
je 0x4279c4
inc edi
sub ebx, edi
mov ebp, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x164]
mov ebx, dword [esp + 0x38]
push 0
push ebp
lea edx, [edi + edi*2]
lea edx, [ecx + edx*2]
mov ecx, dword [eax + ebx*4 + 4]
push edx
push 0
call fcn.00422a10
mov ecx, dword [esp + 0x14]
push ebp
push edi
call fcn.004228e0
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x38], ebx
jmp 0x4275fe
mov eax, dword [esp + 0x38]
inc eax
push eax
mov ecx, esi
call fcn.00422eb0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4