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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xc0
cmp ecx, 0x20
jge 0x4a5793
mov eax, dword [esp + 0xc8]
cmp eax, 0x20
jge 0x4a5793
cmp ecx, eax
jne 0x4a5474
fld dword [0x8466a0]
add esp, 0xc0
ret
mov eax, 0x24
push ebx
push esi
push edi
or edi, 0xffffffff
lea esi, [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x20], 0x1e
mov dword [esp + 0x24], 0x1d
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x1c
mov dword [esp + 0x34], 0x1b
mov dword [esp + 0x38], 0x1a
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0xe
mov dword [esp + 0x54], 0x19
mov dword [esp + 0x58], 0x18
mov dword [esp + 0x5c], 0x17
mov dword [esp + 0x60], 0x16
mov dword [esp + 0x64], 0x15
mov dword [esp + 0x68], 0x13
mov dword [esp + 0x6c], 0x12
mov dword [esp + 0x70], 0x11
mov dword [esp + 0x74], 0x10
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x7c], 0xd
mov dword [esp + 0x80], 0xc
mov dword [esp + 0x84], 0xb
mov dword [esp + 0x88], 0xa
mov dword [esp + 0x8c], 9
mov dword [esp + 0x90], 8
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 6
mov dword [esp + 0xa8], 7
mov dword [esp + 0xac], 5
mov dword [esp + 0xb0], 3
mov dword [esp + 0xb4], 4
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov ebx, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
xor ecx, ecx
mov dword [esp + 0x10], esi
push ebp
lea ecx, [ecx]
mov eax, 2
jmp 0x4a5610
mov edx, dword [esi - 0x14]
cmp edx, dword [esp + 0xd4]
jne 0x4a5625
lea ebp, [eax - 2]
mov ebx, ecx
mov dword [esp + 0x10], ebp
cmp edx, dword [esp + 0xd8]
jne 0x4a5637
lea edx, [eax - 2]
mov edi, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esi]
cmp edx, dword [esp + 0xd4]
jne 0x4a564b
lea ebp, [eax - 1]
mov ebx, ecx
mov dword [esp + 0x10], ebp
cmp edx, dword [esp + 0xd8]
jne 0x4a565d
lea edx, [eax - 1]
mov edi, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x14]
cmp edx, dword [esp + 0xd4]
jne 0x4a566f
mov ebx, ecx
mov dword [esp + 0x10], eax
cmp edx, dword [esp + 0xd8]
jne 0x4a5682
mov edx, eax
mov edi, ecx
mov dword [esp + 0x18], edx
jmp 0x4a5686
mov edx, dword [esp + 0x18]
add eax, 3
lea ebp, [eax - 2]
add esi, 0x3c
cmp ebp, 9
jl 0x4a5610
mov esi, dword [esp + 0x14]
inc ecx
add esi, 4
cmp ecx, 5
mov dword [esp + 0x14], esi
jl 0x4a5600
test ebx, ebx
pop ebp
jl 0x4a5783
test edi, edi
jl 0x4a5783
cmp ebx, edi
jle 0x4a56ca
sub ebx, edi
mov dword [esp + 0x10], ebx
jmp 0x4a56d0
sub edi, ebx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xc]
cmp eax, edx
jle 0x4a56e0
sub eax, edx
mov dword [esp + 0xc], eax
jmp 0x4a56e6
sub edx, eax
mov dword [esp + 0xc], edx
test byte [0x92a060], 1
jne 0x4a5717
mov edx, dword [0x92a060]
or edx, 1
push 1
push str.CAREER_TEAMCHEM_KNOWLEDGELOSS_X
mov dword [0x92a060], edx
call fcn.00704c0b
mov ecx, eax
call fcn.00704dd8
fstp dword [0x92a05c]
test byte [0x92a060], 2
jne 0x4a5748
mov edx, dword [0x92a060]
or edx, 2
push 1
push str.CAREER_TEAMCHEM_KNOWLEDGELOSS_Y
mov dword [0x92a060], edx
call fcn.00704c0b
mov ecx, eax
call fcn.00704dd8
fstp dword [0x92a058]
fild dword [esp + 0x10]
fmul dword [0x92a05c]
fsubr dword [0x8466a0]
fild dword [esp + 0xc]
fmul dword [0x92a058]
fsubp st(1)
fcom dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x4a5779
fstp st(0)
fld dword [0x84669c]
pop edi
pop esi
pop ebx
add esp, 0xc0
ret
fld dword [0x84669c]
pop edi
pop esi
pop ebx
add esp, 0xc0
ret
fld dword [0x84669c]
add esp, 0xc0
ret