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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
push ebx
mov ebx, dword [0x1004b8c]
test ebx, ebx
push esi
mov esi, eax
jge 0x428a16
mov al, byte [0x1018f94]
test al, al
je 0x428a16
lea edx, [edi + 0x40]
lea eax, [esp + 0x80]
call fcn.00428eb0
lea ecx, [esp + 0x20]
call fcn.0041fb70
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x120]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], edx
call fcn.00407fe0
mov ecx, dword [edi + 0x134]
mov edx, dword [edi + 0x130]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x30]
push eax
push ecx
push esi
call fcn.00427900
mov edx, dword [edi + 0x134]
mov eax, dword [edi + 0x130]
mov ecx, dword [edi + 0x34]
push edx
mov edx, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x38]
push ecx
push edx
push esi
call fcn.00428260
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x18c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x78], edx
lea ecx, [eax + 0x60]
mov edx, dword [ecx]
mov eax, dword [eax + 0x18c]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x30], 0x3f800000
call dword [edx + 0x18]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul dword [esp + 0x10]
fcomp dword [0x5bef98]
fnstsw ax
test ah, 0x41
jne 0x428ad5
mov dword [esp + 0x10], 0
fld dword [esp + 0x14]
fcomp dword [0x6690c0]
fnstsw ax
test ah, 5
jp 0x428aef
mov eax, dword [0x6690c0]
mov dword [esp + 0x14], eax
fld dword [esp + 0x18]
fcomp dword [0x6690bc]
fnstsw ax
test ah, 0x41
jne 0x428b0c
mov ecx, dword [0x6690bc]
mov dword [esp + 0x18], ecx
jmp 0x428b29
fld dword [0x6690bc]
fchs
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x428b27
fstp dword [esp + 0x18]
jmp 0x428b29
fstp st(0)
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov edx, dword [edi + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 0x18c]
push 0
mov dword [esp + 0x68], eax
mov eax, dword [ecx]
push 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [eax + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push ecx
lea esi, [esp + 0x2c]
fstp dword [esp]
call fcn.00421680
mov ecx, dword [0x66854c]
push ecx
mov ecx, dword [edi + 0x30]
push 0x668554
or eax, 0xffffffff
call fcn.00421c40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
lea eax, [esi + 0x50]
lea ecx, [esp + 0x30]
mov dword [esi + 0x4c], edx
call fcn.00407fe0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, 0x1010101
mov word [esi + 0x30], ax
mov byte [esi + 0x32], al
mov eax, dword [esp + 0x28]
mov dword [esi + 0x90], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
lea eax, [esi + 0xa0]
lea ecx, [esp + 0x30]
mov dword [esi + 0x94], edx
call fcn.00407fe0
mov edx, 1
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov byte [esi + 0x3e], dl
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x14]
mov eax, dword [0x66854c]
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x2c]
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x54]
mov edx, dword [edi + 0x30]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x20]
add eax, 0x20
mov dword [edx + 0x20], ecx
fld dword [eax + 4]
fstp dword [edx + 0x24]
fld dword [eax + 8]
lea ecx, [eax + 0x10]
fstp dword [edx + 0x28]
fld dword [eax + 0xc]
lea eax, [edx + 0x30]
fstp dword [edx + 0x2c]
call fcn.00407fe0
mov edx, dword [edi + 0x34]
mov ecx, dword [edx + 0x18c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [0x66854c]
push eax
mov dword [esp + 0x68], ecx
fadd dword [esp + 0x14]
mov ecx, dword [edi + 0x34]
push 0x668554
or eax, 0xffffffff
fstp dword [esp + 0x68]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0x3f800000
call fcn.00421c40
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
lea eax, [esi + 0x50]
lea ecx, [esp + 0x30]
mov dword [esi + 0x44], edx
call fcn.00407fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 0x1010101
mov word [esi + 0x30], dx
mov byte [esi + 0x32], dl
mov edx, dword [esp + 0x28]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x94], ecx
mov dword [esi + 0x9c], eax
lea eax, [esi + 0xa0]
lea ecx, [esp + 0x30]
mov dword [esi + 0x98], edx
call fcn.00407fe0
mov ecx, 1
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x3e], cl
mov edx, dword [edi + 0x34]
mov ecx, dword [edx + 0x14]
mov edx, dword [0x66854c]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x2c]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x54]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x20]
add eax, 0x20
mov dword [edx + 0x20], ecx
fld dword [eax + 4]
fstp dword [edx + 0x24]
fld dword [eax + 8]
lea ecx, [eax + 0x10]
fstp dword [edx + 0x28]
fld dword [eax + 0xc]
lea eax, [edx + 0x30]
fstp dword [edx + 0x2c]
call fcn.00407fe0
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + 0x18c]
call fcn.00435140
test ebx, ebx
mov esi, eax
mov dword [esp + 0x7c], esi
jge 0x428dce
call fcn.0057f696
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fimul dword [esp + 0x7c]
fmul dword [0x5befe0]
call fcn.00581d24
jmp 0x428dd0
mov eax, ebx
dec esi
cmp eax, esi
jle 0x428dd7
mov eax, esi
sub eax, 0
je 0x428df0
dec eax
je 0x428de9
dec eax
jne 0x428df0
mov esi, str.tasum
jmp 0x428df5
mov esi, str.takick
jmp 0x428df5
mov esi, str.tacar
mov ecx, dword [0x1043b08]
test ecx, ecx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], esi
je 0x428e1c
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax]
mov al, byte [0xf917df]
test al, al
mov byte [esp + 8], 0
je 0x428e2f
mov byte [esp + 8], 1
mov edx, 0x1004970
call fcn.00488590
test al, al
jne 0x428e90
push 0
push ebx
push 0xffffffffffffffff
mov byte [0x101666a], al
mov eax, dword [0x5fd390]
push esi
push eax
push 0x1004970
call fcn.00488720
test eax, eax
jl 0x428e90
mov eax, dword [eax*4 + 0x1004b94]
movzx ecx, byte [esp + 8]
mov edx, dword [eax + 0x24b8]
shl ecx, 0x1c
xor ecx, edx
and ecx, 0x10000000
mov esi, edx
xor ecx, esi
or ecx, 0xc
mov dword [eax + 0x2418], 6
mov dword [eax + 0x24b8], ecx
mov edx, dword [edi + 0x30]
mov eax, dword [edx + 0x18c]
mov ecx, dword [eax + 0xad0]
inc ecx
pop esi
mov dword [eax + 0xad0], ecx
pop ebx
mov esp, ebp
pop ebp
ret