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

Disassembly:
sub esp, 0x6b0
push ebx
mov ebx, dword [esp + 0x6c8]
push edi
mov edi, dword [esp + 0x6d4]
push 0x1e0
lea eax, [esp + 0x20c]
push 0
push eax
call fcn.0046efc0
push pe_nt_image_headers32
lea ecx, [esp + 0x3f8]
push 0
push ecx
call fcn.0046efc0
push 0x1e0
lea edx, [esp + 0x4f4]
push 0
push edx
call fcn.0046efc0
push pe_nt_image_headers32
lea eax, [esp + 0x50]
push 0
push eax
call fcn.0046efc0
push pe_nt_image_headers32
lea ecx, [esp + 0x14c]
push 0
push ecx
call fcn.0046efc0
fldz
add esp, 0x3c
xor eax, eax
fst dword [edi + eax*4]
mov word [ebx + eax*2], 0
add eax, 1
cmp eax, 0x400
jl 0x436e6e
mov edx, dword [esp + 0x6d8]
fstp st(0)
mov eax, dword [esi + 0xd48]
push ebp
push 0x400
push edx
push eax
call dword [0x4cb124]
xor ebp, ebp
add esp, 0xc
cmp dword [esi], ebp
jle 0x437263
fld dword [0x48e924]
mov eax, 0xffffffe8
fld dword [0x4bae9c]
sub eax, esi
fldz
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c8]
lea ecx, [esp + 0x20c]
sub eax, ecx
lea ebx, [esi + 0x18]
mov dword [esp + 0x28], eax
jmp 0x436eeb
fld dword [0x4bae9c]
fld dword [0x48e924]
fxch st(2)
mov eax, 1
cmp dword [ebx + 0x3c4], eax
jne 0x436f4d
mov eax, dword [ebx]
fstp st(0)
mov edx, dword [ebx + 4]
fstp st(1)
mov ecx, dword [esi + 0xd48]
fstp st(0)
sub edx, eax
push edx
lea edx, [ecx + eax*4]
push 0
push edx
call fcn.0046efc0
fldz
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xd44]
add esp, 0xc
add eax, ebx
fst dword [eax + ecx]
mov edx, dword [esi + 0xd3c]
fst dword [eax + edx]
mov eax, dword [esp + 0x6c0]
mov word [eax + ebp*2], 0x8000
mov word [esp + ebp*2 + 0x2c], 0x8000
jmp 0x437253
cmp dword [ebx + 0x784], eax
jne 0x436f8b
mov ecx, dword [esp + 0x10]
fstp st(2)
mov edx, dword [esi + 0xd44]
fstp st(0)
lea eax, [ecx + ebx]
fst dword [eax + edx]
mov ecx, dword [esi + 0xd3c]
mov edx, dword [esp + 0x6c0]
fst dword [eax + ecx]
mov word [edx + ebp*2], 0x8000
mov word [esp + ebp*2 + 0x2c], 0x8000
jmp 0x437253
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xd44]
mov edx, dword [esi + 0xd3c]
add eax, ebx
fld dword [eax + ecx]
mov ecx, dword [ebx]
fst dword [esp + 0x24]
lea edi, [esp + ebp*4 + 0x20c]
fld dword [eax + edx]
mov edx, dword [ebx + 4]
cmp ecx, edx
fxch st(2)
fst dword [edi]
jge 0x437008
mov eax, dword [esi + 0xd48]
fld st(0)
lea eax, [eax + ecx*4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
fxch st(1)
fcom dword [eax]
fnstsw ax
test ah, 5
mov eax, dword [esp + 0xc]
fld dword [eax]
jnp 0x436fe1
fchs
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x436ff6
fstp st(2)
mov word [esp + ebp*2 + 0x3ec], cx
jmp 0x436ff8
fstp st(0)
add dword [esp + 0xc], 4
fxch st(1)
add ecx, 1
cmp ecx, edx
jl 0x436fca
fstp dword [edi]
fcom dword [edi]
mov ecx, dword [esp + 0x6c0]
mov word [ecx + ebp*2], 0x8000
mov word [esp + ebp*2 + 0x2c], 0x8000
fnstsw ax
test ah, 5
jp 0x437247
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x43724d
cmp dword [ebx + 0x3c4], 0
jne 0x43724d
mov edx, dword [esp + 0x28]
fstp st(1)
fld dword [edi + edx]
sub esp, 8
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fmul dword [0x48edbc]
mov ecx, eax
and eax, 0x807fffff
add eax, 0x3f800000
fadd dword [0x48ed30]
mov dword [esp + 0x24], eax
sar ecx, 0x17
and ecx, 0xff
fstp dword [esp + 0x28]
sub ecx, 0x80
mov eax, dword [esp + 0x28]
mov edx, eax
and eax, 0x807fffff
add eax, 0x3f800000
mov dword [esp + 0x28], eax
fld dword [esp + 0x28]
sar edx, 0x17
fld st(0)
and edx, 0xff
fmul st(3)
sub edx, 0x80
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
fsubr st(2)
fmulp st(1)
fld dword [0x48e920]
fsub st(1), st(0)
fild dword [esp + 0x14]
faddp st(2)
fld dword [0x48e928]
fmul st(2), st(0)
fld dword [esp + 0x24]
fld st(0)
fmulp st(6)
fxch st(4)
fsubrp st(5)
fxch st(4)
fmulp st(3)
fsubp st(2)
fild dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fmulp st(2)
fsubrp st(1)
fmul dword [0x48edc4]
fstp qword [esp]
call fcn.0046d440
call fcn.0046d390
fld dword [edi]
fstp dword [esp + 0x20]
movzx eax, ax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and eax, 0x807fffff
add eax, 0x3f800000
mov dword [esp + 0x20], eax
sar ecx, 0x17
and ecx, 0xff
fld dword [esp + 0x20]
sub ecx, 0x80
fld dword [0x48e924]
mov dword [esp + 0x1c], ecx
fmul st(1)
fsubr dword [0x4bae9c]
fmulp st(1)
fsub dword [0x48e920]
fiadd dword [esp + 0x1c]
fmul dword [0x4bae98]
fsub dword [0x48edc0]
fstp qword [esp]
call fcn.00470fe0
add esp, 8
call fcn.0046d390
mov di, ax
cmp word [esp + 0xc], di
mov word [esp + ebp*2 + 0x2c], di
jg 0x43718a
movzx edx, di
mov dword [esp + 0xc], edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x6dc]
sub ecx, eax
push ecx
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x6dc]
push ecx
lea eax, [edx + eax*4]
push eax
call fcn.00431af0
fld dword [esp + 0x6ec]
mov eax, dword [ebx]
mov edx, dword [esp + 0x6fc]
add esp, 0xc
push edx
lea ecx, [eax*4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6ec]
push ecx
push ecx
fstp dword [esp]
lea edx, [esp + ebp*2 + 0x128]
fld dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x6e4]
lea ecx, [esp + ebp*4 + 0x4ec]
push ecx
push edi
mov edi, dword [ebx + 4]
push ecx
lea ecx, [edx + eax*2]
fstp dword [esp]
mov edx, dword [esp + 0x6ec]
sub edi, eax
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x6f4]
push eax
mov eax, dword [esp + 0x34]
add edx, eax
push edx
mov edx, dword [esp + 0x700]
add edx, eax
push edx
mov edx, dword [esi + 0xd48]
add edx, eax
mov eax, dword [esp + 0x34]
push edx
call fcn.00435870
fldz
mov ecx, dword [esp + 0x6ec]
add esp, 0x2c
mov word [ecx + ebp*2], ax
jmp 0x437253
fstp st(1)
fstp st(1)
jmp 0x43724f
fstp st(0)
fstp st(2)
fstp st(0)
add ebp, 1
add ebx, 4
cmp ebp, dword [esi]
jl 0x436edd
fstp st(0)
mov ecx, dword [esi]
test ecx, ecx
jle 0x437277
mov eax, 0x800000
lea edi, [esp + 0x20c]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x6e8]
mov ebx, dword [esp + 0x6cc]
mov ebp, dword [esp + 0x6c8]
mov edi, dword [esp + 0x6d4]
push edx
push 1
lea eax, [esp + 0x124]
push eax
push ebx
push ebp
lea ecx, [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x6d8]
lea edx, [esp + 0x4f4]
push edx
mov edx, dword [esp + 0x6ec]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x6f8]
push ecx
mov ecx, dword [esp + 0x700]
push edi
push edx
push eax
push ecx
push esi
call fcn.004362e0
mov edx, dword [esp + 0x720]
push edx
push ebx
push ebp
lea eax, [esp + 0x250]
push eax
mov eax, dword [esp + 0x708]
lea ecx, [esp + 0x524]
push ecx
mov ecx, dword [esp + 0x71c]
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x728]
push eax
mov eax, dword [esp + 0x730]
push edi
push ecx
push edx
push eax
push esi
call fcn.00436960
add esp, 0x68
cmp dword [esi + 0xc], 2
je 0x437451
xor ebx, ebx
cmp dword [esi], ebx
mov dword [esp + 0x10], ebx
jle 0x437451
lea ecx, [ecx]
xor edi, edi
cmp dword [esi + 8], edi
jle 0x437442
lea ecx, [ebx*4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x6c0]
lea eax, [esp + 0x3ec]
lea ebp, [ecx + ebx*2]
sub eax, ecx
lea edx, [esi + 0x18]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
lea ecx, [edi + 4]
jmp 0x437380
cmp dword [esi + ebx*4 + 0x3dc], 0
jne 0x437427
movzx eax, word [ebp]
cmp ax, 0x8000
mov dword [esp + 0x24], eax
je 0x437427
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
cmp edx, dword [esp + 0x6e4]
jle 0x437427
mov ebp, dword [esp + 0x6ec]
lea eax, [edi + ebx]
push ebp
movsx ebp, word [esp + 0x28]
lea ecx, [esi + eax*4 + 0x18]
mov eax, dword [ecx]
add ebx, edi
mov ebx, dword [esi + ebx*4 + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
sub ebx, eax
push ebx
mov ebx, dword [esi + 0xd3c]
push ecx
mov ecx, dword [esp + 0x6e0]
fld dword [ebx + ebp]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
fstp dword [esp]
movzx ebx, word [ebx + ebp]
sub bx, ax
lea edx, [eax*4]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x6e8]
push ebx
push eax
lea eax, [edx + ecx]
mov ecx, dword [esi + 0xd48]
push eax
add ecx, edx
push ecx
call fcn.00431e10
mov ebx, dword [esp + 0x30]
add esp, 0x20
mov ecx, 4
add dword [esp + 0x18], ecx
add dword [esp + 0x1c], ecx
add edi, 1
add ebp, 2
cmp edi, dword [esi + 8]
mov dword [esp + 0x20], ebp
jl 0x437380
add ebx, dword [esi + 4]
cmp ebx, dword [esi]
mov dword [esp + 0x10], ebx
jl 0x437340
mov edx, dword [esi]
mov edi, 0xffff8000
xor ecx, ecx
test edx, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x7fff
jle 0x4374ab
mov ebp, dword [esp + 0x6c0]
lea ebx, [esi + 0x3dc]
cmp dword [ebx], 0
jne 0x43749d
movzx eax, word [ebp + ecx*2]
cmp di, ax
jge 0x437489
movzx edi, ax
cmp ax, 0x8000
je 0x43749d
cmp word [esp + 0xc], ax
jle 0x43749d
movzx eax, ax
mov dword [esp + 0xc], eax
add ecx, 1
add ebx, 4
cmp ecx, edx
jl 0x437477
mov dword [esp + 0x10], edi
fldz
xor ebx, ebx
test edx, edx
jle 0x437588
mov ebp, dword [esp + 0x6d0]
lea edi, [esi + 0x18]
cmp dword [edi + 0x3c4], 0
jne 0x437576
mov ecx, dword [esp + 0x6c0]
movzx eax, word [ecx + ebx*2]
cmp ax, 0x8000
je 0x437576
movsx edx, word [esp + 0xc]
movsx eax, ax
add edx, 0x3c
cmp edx, eax
jge 0x437576
mov ecx, dword [esp + 0xc]
fstp st(0)
mov edx, dword [esp + 0x6c0]
add ecx, 0x3c
mov word [edx + ebx*2], cx
mov eax, dword [edi]
mov edx, dword [esp + 0x6e8]
push edx
mov edx, dword [edi + 4]
movsx ecx, cx
push ecx
sub edx, eax
push edx
mov edx, dword [esp + 0x6e4]
lea ecx, [ebp + eax*2]
push ecx
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x6ec]
push ecx
lea eax, [edx + eax*4]
push eax
call fcn.00431c60
mov ecx, dword [edi]
add esp, 0x18
fstp dword [esp + ebx*4 + 0x4dc]
cmp ecx, dword [edi + 4]
fldz
jge 0x437576
mov edx, dword [esi + 0xd48]
fcom dword [edx + ecx*4]
fnstsw ax
test ah, 0x41
jne 0x43756e
mov ax, word [ebp + ecx*2]
neg ax
mov word [ebp + ecx*2], ax
add ecx, 1
cmp ecx, dword [edi + 4]
jl 0x437551
add ebx, 1
add edi, 4
cmp ebx, dword [esi]
jl 0x4374c1
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
movsx ecx, ax
movsx edx, di
add ecx, 0x3c
cmp ecx, edx
jge 0x4375a3
add eax, 0x3c
movzx edi, ax
mov dword [esp + 0x10], edi
xor edx, edx
cmp di, 0x8000
jle 0x437615
movsx eax, word [esp + 0x10]
mov ebx, dword [esp + 0x6c4]
mov dword [ebx], eax
cmp dword [esi], edx
jle 0x437658
mov edi, dword [esp + 0x6c0]
lea ecx, [esi + 0x1c]
movzx eax, word [edi + edx*2]
cmp ax, 0x8000
jne 0x4375ff
cmp dword [ecx + 0x3c0], 0
jne 0x4375ff
mov word [edi + edx*2], 0
mov eax, dword [ecx - 4]
cmp eax, dword [ecx]
jge 0x437609
mov ebp, dword [esi + 0xd48]
fst dword [ebp + eax*4]
add eax, 1
cmp eax, dword [ecx]
jl 0x4375ec
jmp 0x437609
mov bp, word [ebx]
sub bp, ax
mov word [edi + edx*2], bp
add edx, 1
add ecx, 4
cmp edx, dword [esi]
jl 0x4375cc
jmp 0x437658
mov ecx, dword [esp + 0x6c4]
mov dword [ecx], 0
cmp dword [esi], 0
jle 0x437658
mov edi, dword [esp + 0x6c0]
lea ecx, [esi + 0x1c]
mov word [edi + edx*2], 0
mov eax, dword [ecx - 4]
cmp eax, dword [ecx]
jge 0x43764e
mov ebx, dword [esi + 0xd48]
fst dword [ebx + eax*4]
add eax, 1
cmp eax, dword [ecx]
jl 0x43763e
add edx, 1
add ecx, 4
cmp edx, dword [esi]
jl 0x437631
mov edx, dword [esp + 0x6c0]
fstp st(0)
xor eax, eax
cmp dword [esi], eax
pop ebp
lea edi, [eax + 1]
jle 0x43768d
lea ecx, [esi + 0x5bc]
cmp dword [ecx - 0x1e0], edi
jne 0x437684
mov bx, word [ecx]
add bx, 0x5a
mov word [edx + eax*2], bx
add eax, edi
add ecx, 4
cmp eax, dword [esi]
jl 0x437671
xor eax, eax
cmp dword [esi], eax
jle 0x4376b8
lea ecx, [esi + 0x97c]
lea esp, [esp]
cmp dword [ecx - 0x1e0], edi
jne 0x4376af
mov bx, word [ecx]
mov word [edx + eax*2], bx
add eax, edi
add ecx, 4
cmp eax, dword [esi]
jl 0x4376a0
pop edi
pop ebx
add esp, 0x6b0
ret