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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xcc
mov eax, dword [ebx]
push esi
mov esi, dword [ebx + 8]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
push edi
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x2c]
or dword [ebp - 0x14], 0xffffffff
push 0x28
mov dword [ebp + 0x30], eax
lea eax, [ebx + 0x38]
push 0
push eax
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x1c], eax
call fcn.0044d600
fld qword [0x46c638]
fstp qword [ebx + 0x50]
mov al, byte [esi + 0x20]
mov ecx, dword [esi + 0x44]
not al
movzx eax, al
and eax, 8
shl eax, 4
xor edi, edi
or eax, 3
xor edx, edx
add esp, 0xc
inc edi
cmp ecx, edx
mov dword [ebp - 8], eax
je 0x4299f8
mov dword [ebp + 0x70], ecx
mov dword [ebp + 8], 0xffffcfff
mov dword [ebp + 0x14], eax
jmp 0x429a52
push 0x30
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0044d600
lea eax, [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x28], 5
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x1c]
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
test byte [esi + 0x24], 1
jne 0x429a3b
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
and dword [ebp + 0x70], 0
lea ecx, [ebp - 0x54]
mov dword [ebp + 8], 0xfff0ffff
mov dword [ebp + 0x14], 3
xor edx, edx
mov eax, dword [ebx + 0x20]
cmp eax, edx
mov dword [ebp + 0x28], ecx
je 0x429a63
mov eax, dword [eax]
mov dword [ebp + 0x24], eax
jmp 0x429a66
mov dword [ebp + 0x24], edx
mov eax, dword [ebx + 0x2c]
cmp eax, edx
je 0x429a88
mov esi, dword [ebx + 0x34]
imul eax, eax, 0x58
movzx eax, word [eax + esi - 0x52]
cmp eax, dword [ebp + 0x24]
mov dword [ebp + 0x10], eax
setl byte [ebp + 0x77]
mov byte [ebp + 0x76], 0
jmp 0x429a99
cmp dword [ebp + 0x24], edx
mov dword [ebp + 0x10], edx
setg byte [ebp + 0x77]
cmp dword [ebx + 0x24], edx
setne byte [ebp + 0x76]
cmp ecx, edx
je 0x42a0ab
mov esi, dword [ebp + 0x28]
mov eax, dword [esi + 8]
fld1
mov cl, byte [ebp + 0x77]
fstp qword [ebp - 4]
mov dword [ebp + 0x34], eax
xor eax, eax
push 0x28
push eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x38], eax
mov byte [ebp + 0x6b], al
xor edi, edi
mov byte [ebp + 0x6a], cl
mov cl, byte [ebp + 0x76]
lea eax, [ebp + 0x40]
inc edi
push eax
mov dword [ebp + 0x3c], edi
mov byte [ebp + 0x69], cl
call fcn.0044d600
mov ax, word [ebp + 0x10]
and word [ebp + 0x44], 0
add esp, 0xc
cmp dword [esi + 0x24], 0
mov word [ebp + 0x46], ax
jle 0x429b88
push dword [ebp + 0x70]
movzx eax, word [ebp + 0x44]
push dword [ebp + 0x14]
mov ecx, dword [esi + 4]
push dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
push dword [ebx + 0x10]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
call fcn.00429309
add esp, 0x1c
test eax, eax
je 0x429b88
or dword [ebp + 0x40], 0x11000
movzx ecx, word [eax + 0x10]
test cl, 1
je 0x429b60
mov ecx, dword [eax]
or dword [ebp + 0x40], 0x40000
test word [ecx + 2], 0x800
je 0x429b4a
mov ecx, dword [ebp + 0x3c]
imul ecx, ecx, 0x19
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x6c], edi
jmp 0x429b6b
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x429b6b
mov ecx, dword [ecx]
test ecx, ecx
je 0x429b6b
imul ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x3c], ecx
jmp 0x429b6b
test cl, cl
jns 0x429b6b
or dword [ebp + 0x40], 0x80000
mov ecx, dword [eax + 0x18]
or dword [ebp + 0x60], ecx
mov eax, dword [eax + 0x1c]
or dword [ebp + 0x64], eax
inc word [ebp + 0x44]
movzx eax, word [ebp + 0x44]
cmp eax, dword [esi + 0x24]
jl 0x429af2
movzx eax, word [ebp + 0x44]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jne 0x429bd4
cmp byte [esi + 0x2c], 0
je 0x429bd4
test dword [ebp + 0x40], 0xc0000
jne 0x429ca2
mov eax, dword [ebx + 0x2c]
or dword [ebp + 0x40], 0x2000000
test eax, eax
je 0x429bc8
mov ecx, dword [ebx + 0x34]
imul eax, eax, 0x58
test dword [eax + ecx - 0x58], 0x4000000
je 0x429ca2
or dword [ebp + 0x40], 0x4000000
jmp 0x429ca2
cmp byte [esi + 0x2e], 0
jne 0x429ca2
cmp eax, ecx
jne 0x429be7
or edi, 0xffffffff
jmp 0x429bed
mov ecx, dword [esi + 4]
mov edi, dword [ecx + eax*4]
push dword [ebp + 0x70]
push 0x3c
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
call fcn.00429309
add esp, 0x1c
test eax, eax
je 0x429ca2
push dword [ebp + 0x70]
push 0x18
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
call fcn.00429309
push dword [ebp + 0x70]
mov esi, eax
push 0x24
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
call fcn.00429309
fld1
add esp, 0x38
fstp qword [ebp - 4]
test eax, eax
je 0x429c54
fld qword [0x46b168]
fstp qword [ebp - 4]
test esi, esi
je 0x429c7e
or dword [ebp + 0x40], 0x100000
fld qword [ebp - 4]
mov ecx, dword [esi + 0x18]
fmul qword [0x46b168]
or dword [ebp + 0x60], ecx
mov ecx, dword [esi + 0x1c]
or dword [ebp + 0x64], ecx
fstp qword [ebp - 4]
mov dword [ebp + 0x38], 1
test eax, eax
je 0x429c98
or dword [ebp + 0x40], 0x200000
mov ecx, dword [eax + 0x18]
or dword [ebp + 0x60], ecx
mov eax, dword [eax + 0x1c]
inc dword [ebp + 0x38]
or dword [ebp + 0x64], eax
or dword [ebp + 0x40], 0x22000
mov esi, dword [ebp + 0x28]
cmp byte [ebp + 0x77], 0
je 0x429d03
mov eax, dword [ebp + 0xc]
test byte [eax + 0x20], 8
jne 0x429d03
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x30]
mov eax, ebx
push esi
mov dword [ebp + 0x20], 2
call fcn.004296b2
mov word [ebp + 0x46], ax
movzx eax, ax
add esp, 0xc
cmp dword [ebp + 0x10], eax
jl 0x429cdf
test dword [ebp + 0x40], 0x2000000
je 0x429ce6
or dword [ebp + 0x40], 0x800000
cmp dword [ebp + 0x24], eax
jne 0x429cf6
or dword [ebp + 0x40], 0x22000
mov byte [ebp + 0x6a], 0
test byte [ebp + 0x20], 1
je 0x429d03
or dword [ebp + 0x40], 0x1000000
cmp byte [ebp + 0x76], 0
je 0x429d3b
movzx eax, word [ebp + 0x44]
push eax
push dword [ebx + 0x24]
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x2c]
push dword [ebp + 4]
call fcn.004294c5
add esp, 0x18
test eax, eax
je 0x429d3b
test dword [ebp + 0x40], 0x40000
jne 0x429d3b
or dword [ebp + 0x40], 0x40022000
mov byte [ebp + 0x69], 0
cmp dword [ebp + 0x70], 0
je 0x429da3
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp + 0x70]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x24]
test eax, eax
jle 0x429d88
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x18], eax
mov ecx, dword [ecx]
cmp ecx, 0x3f
jge 0x429d7a
xor eax, eax
inc eax
xor edx, edx
call fcn.00451770
not eax
not edx
and edi, eax
and dword [ebp - 0xc], edx
mov ecx, dword [ebp + 0x20]
add ecx, 4
dec dword [ebp + 0x18]
mov dword [ebp + 0x20], ecx
jne 0x429d60
or edi, dword [ebp - 0xc]
mov edx, dword [ebp + 0x34]
mov cx, word [ebp + 0x46]
jne 0x429d9d
or dword [ebp + 0x40], 0x400000
jmp 0x429daa
mov byte [ebp + 0x6b], 1
jmp 0x429daa
mov cx, word [ebp + 0x46]
mov edx, dword [ebp + 0x34]
movzx edi, word [ebp + 0x44]
lea eax, [edx + edi*4]
mov dword [ebp + 0x18], eax
mov eax, dword [eax]
imul eax, dword [ebp + 0x3c]
test eax, eax
mov dword [ebp + 0x20], eax
fild dword [ebp + 0x20]
jge 0x429dca
fadd qword [0x46b228]
cmp dword [ebp + 0x6c], 0
fstp qword [ebp + 0x48]
je 0x429e31
mov ecx, dword [edx]
fld qword [ebp + 0x48]
mov eax, ecx
fadd st(0), st(0)
test eax, eax
mov dword [ebp + 0x6c], eax
fild dword [ebp + 0x6c]
jge 0x429dec
fadd qword [0x46b228]
fcompp
fnstsw ax
test ah, 5
jp 0x429e2d
shr ecx, 1
test ecx, ecx
mov dword [ebp + 0x6c], ecx
fild dword [ebp + 0x6c]
jge 0x429e07
fadd qword [0x46b228]
mov eax, dword [ebp + 0x18]
fstp qword [ebp + 0x48]
mov eax, dword [eax]
test eax, eax
mov dword [ebp + 0x6c], eax
fild dword [ebp + 0x6c]
jge 0x429e1f
fadd qword [0x46b228]
fdivr qword [ebp + 0x48]
call fcn.00451430
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x3c], eax
mov cx, word [ebp + 0x46]
fld qword [ebp + 0x48]
fdiv qword [ebp - 4]
fstp qword [ebp + 0x48]
fld1
fcom qword [ebp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x429e4b
fstp qword [ebp + 0x48]
jmp 0x429e4d
fstp st(0)
mov eax, dword [ebp + 0x40]
and eax, 0xfe7fffff
cmp eax, 0x400000
jne 0x429e9a
mov eax, dword [ebp + 0x2c]
test byte [eax + 0x16], 4
jne 0x429e9a
cmp dword [0x473110], 0
je 0x429e9a
mov eax, dword [ebp + 4]
mov eax, dword [eax]
test byte [eax + 0x34], 0x40
jne 0x429e9a
mov eax, dword [edx]
imul eax, eax, 3
add eax, dword [esi + 0x24]
test eax, eax
mov dword [ebp + 0x6c], eax
fild dword [ebp + 0x6c]
jge 0x429e91
fadd qword [0x46b228]
or dword [ebp + 0x40], 0x80020000
jmp 0x429f0e
test dword [ebp + 0x40], 0x100f3000
mov eax, dword [edx]
jne 0x429ed9
shl eax, 2
test eax, eax
mov dword [ebp + 0x6c], eax
fild dword [ebp + 0x6c]
jge 0x429eb8
fadd qword [0x46b228]
and dword [ebp + 0x40], 0xffbfffff
fstp qword [ebp + 0x58]
cmp dword [ebp + 0x70], 0
je 0x429f11
mov cx, word [ebp + 0x10]
and dword [ebp + 0x40], 0xff7fffff
mov word [ebp + 0x46], cx
jmp 0x429f11
test eax, eax
fild dword [edx]
jge 0x429ee5
fadd qword [0x46b228]
push ecx
push ecx
fstp qword [esp]
call fcn.00411e80
add esp, 8
cmp dword [ebp + 0x70], 0
je 0x429f08
cmp byte [ebp + 0x6b], 0
je 0x429f08
fild dword [ebp + 0x3c]
fadd qword [ebp + 0x48]
fmulp st(1)
jmp 0x429f0b
fimul dword [ebp + 0x3c]
fadd qword [ebp + 0x48]
fstp qword [ebp + 0x58]
cmp byte [ebp + 0x6a], 0
je 0x429f51
mov edx, dword [ebp + 0x24]
movzx eax, cx
sub edx, eax
mov dword [ebp + 0x6c], edx
push ecx
push ecx
fild dword [ebp + 0x6c]
fmul qword [ebp + 0x48]
fidiv dword [ebp + 0x24]
fstp qword [esp]
call fcn.00411e80
add esp, 8
neg cx
sbb ecx, ecx
add ecx, 3
mov dword [ebp + 0x6c], ecx
fild dword [ebp + 0x6c]
fmulp st(1)
fmul qword [ebp + 0x48]
fadd qword [ebp + 0x58]
fstp qword [ebp + 0x58]
cmp byte [ebp + 0x69], 0
je 0x429f76
fld qword [ebp + 0x48]
push ecx
push ecx
fstp qword [esp]
call fcn.00411e80
fmul qword [ebp + 0x48]
add esp, 8
fmul qword [0x46c630]
fadd qword [ebp + 0x58]
fstp qword [ebp + 0x58]
fld qword [0x46c628]
fcomp qword [ebp + 0x48]
fnstsw ax
test ah, 5
jp 0x42a04f
fld qword [ebx + 0x50]
fcomp qword [ebp + 0x58]
fnstsw ax
test ah, 1
jne 0x42a04f
mov eax, dword [ebp + 0x38]
push dword [ebp + 0x30]
mov dword [ebp + 0x34], edi
mov edi, dword [ebp + 0x2c]
mov dword [ebp + 0x38], eax
mov eax, dword [edi + 4]
call fcn.00411d4f
fld qword [0x46c628]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x20]
mov edi, dword [edi + 0x18]
pop ecx
lea ecx, [eax + 0x10]
test edi, edi
je 0x42a03e
test byte [ecx + 2], 2
jne 0x42a02d
mov eax, dword [ebx + 0x18]
and eax, dword [ecx + 0x10]
mov esi, dword [ebx + 0x1c]
and esi, dword [ecx + 0x14]
cmp eax, dword [ebp - 0x24]
jne 0x42a02d
cmp esi, edx
jne 0x42a02d
movzx eax, word [ecx]
test al, 0x83
je 0x42a001
cmp dword [ebp + 0x34], 0
je 0x429ff6
dec dword [ebp + 0x34]
jmp 0x42a02d
fld qword [ebp + 0x48]
fdiv qword [0x46b020]
jmp 0x42a02a
test al, 0x3c
je 0x42a01b
cmp dword [ebp + 0x38], 0
je 0x42a010
dec dword [ebp + 0x38]
jmp 0x42a02d
fld qword [ebp + 0x48]
fdiv qword [0x46c630]
jmp 0x42a02a
cmp ax, 0x800
je 0x42a02d
fld qword [ebp + 0x48]
fmul qword [0x46b210]
fstp qword [ebp + 0x48]
fcom qword [ebp + 0x48]
mov esi, dword [ebp + 0x28]
dec edi
add ecx, 0x28
fnstsw ax
test ah, 5
jnp 0x429fc5
fcom qword [ebp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x42a04d
fstp qword [ebp + 0x48]
jmp 0x42a04f
fstp st(0)
cmp dword [ebp + 0x70], 0
je 0x42a05b
cmp dword [ebp + 0x40], 0
je 0x42a084
mov ecx, dword [ebp + 0x1c]
lea edx, [ebp + 0x40]
call fcn.00411ce9
test eax, eax
je 0x42a084
mov eax, dword [ebp + 0x1c]
push 0xa
mov edi, eax
pop ecx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
and dword [eax], ecx
mov eax, dword [ebp + 0x70]
mov esi, dword [ebp + 0x28]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x44], 0
jne 0x42a0ab
mov esi, dword [esi + 0x14]
test esi, esi
mov eax, dword [ebp - 8]
mov dword [ebp + 8], 0xffffcfff
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x70], esi
jne 0x429aa4
cmp dword [ebx + 0x20], 0
jne 0x42a0ca
mov eax, dword [ebp + 4]
mov eax, dword [eax]
test dword [eax + 0x18], 0x10000
je 0x42a0ca
mov edi, dword [ebp + 0x1c]
or dword [edi], 0x1000000
jmp 0x42a0cd
mov edi, dword [ebp + 0x1c]
push ebx
call fcn.0042cf49
pop ecx
mov esi, ebx
call fcn.00417ee6
mov eax, dword [ebp + 0x14]
or dword [edi], eax
pop edi
pop esi
add ebp, 0x78
leave
ret