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

Disassembly:
sub esp, 0x130
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp]
call fcn.0047b070
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x30], esi
je 0x461e48
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xb4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x810]
push eax
mov dword [esp + 0x28], eax
call dword [0x53d2c8]
mov ecx, dword [esp + 0x148]
fld dword [ecx + 0x1c]
movsx eax, word [ecx + 0x24]
fst dword [esp + 0x38]
mov dword [esp + 0x2c], eax
fld dword [ecx + 0x20]
mov eax, dword [ebp + 0x3c]
fst dword [esp + 0x3c]
mov dword [esp + 0x9c], eax
fild dword [esp + 0x2c]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0xac], eax
movzx eax, byte [ebp + 0x55]
fmul dword [0x541060]
mov dword [esp + 0xb4], eax
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x44]
fld st(1)
mov dword [esp + 0x94], edx
fstp dword [esp + 0x8c]
mov edx, dword [ebp + 0x40]
mov dword [esp + 0xa0], edx
fst dword [esp + 0x90]
movzx edx, byte [ebp + 0x54]
fxch st(1)
fstp dword [esp + 0xa4]
mov dword [esp + 0xb0], edx
fstp dword [esp + 0xa8]
movzx edx, word [ecx + 0x26]
fld dword [str..ssl]
fld dword [ebp + 0x38]
fucompp
imul edx, edx, 0x1c
add eax, edx
mov dword [esp + 0x98], 0x48
mov edx, dword [eax + 0x14]
mov dword [esp + 0xb8], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xbc], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc0], eax
mov byte [esp + 0x13], 1
fnstsw ax
test ah, 0x44
jnp 0x4617f9
mov dword [esp + 0xb4], ebx
mov byte [esp + 0x13], bl
mov eax, dword [ecx + 0x18]
movzx ecx, word [ecx + 0x14]
xor edx, edx
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
je 0x461943
mov eax, dword [edi + 0x24]
cmp eax, ebx
lea esi, [edi + 0x1c]
jle 0x461836
mov dword [esi + 0x14], ebx
mov byte [esi + 0xc], dl
mov edx, dword [esp + 0x38]
push edx
mov ecx, esi
call fcn.0045f070
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0045f070
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0045f0b0
mov edx, dword [ebp + 0x3c]
push edx
mov ecx, esi
call fcn.0045f0b0
mov eax, dword [ebp + 0x40]
push eax
mov ecx, esi
call fcn.0045f0b0
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 8]
xor ecx, ecx
cmp eax, edx
mov ch, byte [ebp + 0x54]
mov cl, byte [ebp + 0x55]
jge 0x46188f
mov edx, dword [esi + 4]
mov byte [esi + 0xc], 0
mov dword [edx + eax*4], ecx
inc dword [esi + 0x14]
mov ebx, dword [esp + 0x148]
movzx eax, word [ebx + 0x26]
mov ecx, dword [ebp + 0x44]
imul eax, eax, 0x1c
mov edx, dword [eax + ecx + 0x14]
push edx
mov ecx, esi
call fcn.0045f0b0
movzx eax, word [ebx + 0x26]
mov ecx, dword [ebp + 0x44]
imul eax, eax, 0x1c
mov edx, dword [eax + ecx + 0x18]
push edx
mov ecx, esi
call fcn.0045f0b0
movzx eax, word [ebx + 0x26]
mov ecx, dword [ebp + 0x44]
imul eax, eax, 0x1c
mov edx, dword [eax + ecx + 0x10]
push edx
mov ecx, esi
call fcn.0045f0b0
mov al, byte [esi + 0xc]
test al, al
je 0x4618e4
mov esi, dword [esi + 0x10]
jmp 0x4618ff
mov ecx, dword [esi + 0x14]
test ecx, ecx
jle 0x4618fd
mov edx, dword [esi + 4]
lea eax, [esi + 0x10]
shl ecx, 2
call fcn.0045e870
mov esi, dword [eax]
jmp 0x4618ff
xor esi, esi
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x20], esi
jne 0x461911
mov ecx, edi
call fcn.0045ecd0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x40]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call fcn.00505b70
mov esi, eax
mov eax, dword [esp + 0x54]
add esp, 0x14
test eax, eax
mov dword [esp + 0x34], esi
jne 0x461db4
mov esi, dword [esp + 0x30]
fld dword [esp + 0x14]
mov ecx, dword [esi + 0x2c]
fmul dword [ebp + 0x40]
mov ebx, dword [ecx + 0x1b8]
mov dword [esp + 0x38], ebx
fcomp dword [0x540fc0]
fnstsw ax
test ah, 1
jne 0x46196d
mov ebx, 7
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
lea esi, [edi + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x80], ebx
jle 0x46199d
mov dword [esi + 0x14], 0
mov byte [esi + 0xc], 0
mov ecx, dword [edi + 0x50]
push ecx
mov ecx, esi
call fcn.0045f0b0
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 8]
jge 0x4619bd
mov edx, dword [esi + 4]
mov byte [esi + 0xc], 0
mov dword [edx + eax*4], ebx
inc dword [esi + 0x14]
mov eax, dword [edi + 0x4c]
push eax
mov ecx, esi
call fcn.0045f0b0
mov al, byte [esi + 0xc]
test al, al
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
je 0x4619dc
mov eax, dword [esi + 0x10]
jmp 0x4619fb
mov ecx, dword [esi + 0x14]
test ecx, ecx
jle 0x4619f9
mov edx, dword [esi + 4]
lea eax, [esi + 0x10]
shl ecx, 2
call fcn.0045e870
mov eax, dword [eax]
mov ebx, dword [esp + 0x38]
jmp 0x4619fb
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x461a0d
mov ecx, edi
call fcn.0045ec70
mov eax, dword [edi + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [edi + 4]
push 1
lea ecx, [esp + 0x20]
push ecx
push eax
push edx
call fcn.00505b70
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
xor eax, eax
add esp, 0x14
cmp ecx, eax
jne 0x461cb7
mov ecx, dword [esi + 8]
cmp ebx, 7
mov ebx, dword [esp + 0x20]
jne 0x461aee
cmp ecx, eax
jle 0x461a55
mov dword [esi + 0x14], eax
mov byte [esi + 0xc], al
mov eax, dword [edi + 0x50]
push eax
mov ecx, esi
call fcn.0045f0b0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x1b8]
push eax
mov ecx, esi
call fcn.0045f050
mov ecx, dword [edi + 0x4c]
push ecx
mov ecx, esi
call fcn.0045f0b0
mov ecx, esi
call fcn.0045f0f0
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x461a99
mov ecx, edi
call fcn.0045ec70
mov ecx, dword [edi + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [edi + 4]
push 1
lea eax, [esp + 0x20]
push eax
push ecx
push edx
call fcn.00505b70
mov ecx, dword [esp + 0x3c]
add esp, 0x14
cmp ecx, 1
jne 0x461b6a
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0045ed30
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.00505e20
mov eax, dword [0x563c0c]
xor ecx, ecx
add esp, 0xc
dec eax
mov dword [esp + 0x28], ecx
mov dword [0x563c0c], eax
jmp 0x461b6a
cmp ecx, eax
jle 0x461af9
mov dword [esi + 0x14], eax
mov byte [esi + 0xc], 0
mov edx, dword [edi + 0x50]
push edx
mov ecx, esi
call fcn.0045f0b0
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 8]
jge 0x461b1d
mov ecx, dword [esi + 4]
mov byte [esi + 0xc], 0
mov dword [ecx + eax*4], 7
inc dword [esi + 0x14]
mov edx, dword [edi + 0x4c]
push edx
mov ecx, esi
call fcn.0045f0b0
mov ecx, esi
call fcn.0045f0f0
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x461b41
mov ecx, edi
call fcn.0045ec70
mov eax, dword [edi + 8]
lea ecx, [esp + 0x28]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call fcn.00505b70
mov ecx, dword [esp + 0x3c]
add esp, 0x14
cmp ecx, 1
jne 0x461b6a
mov dword [esp + 0x14], eax
test ecx, ecx
mov dword [esp + 0x20], ebx
jne 0x461ca7
mov ebx, dword [esp + 0x148]
mov ecx, dword [ebx + 0x10]
mov dx, word [ebx + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x2c]
mov word [esp + 0x50], dx
mov edx, dword [ecx + 0xb4]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0x540fd4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
call fcn.0045f910
mov esi, dword [esp + 0x54]
cmp dword [esi + 0x1c], 1
ja 0x461bf0
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0x540fd4
call fcn.0045eff0
mov eax, dword [esp + 0x24]
push eax
call dword [0x53d2c4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 8
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xb4]
mov ecx, dword [ebx + 0x10]
push eax
push esi
push ecx
mov ecx, edi
call fcn.00460940
mov eax, dword [edi + 4]
lea edx, [esp + 0x80]
push edx
push esi
push eax
call fcn.00504630
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x461c4e
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0x540fd4
call fcn.0045eff0
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x53d2c4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 8
mov ecx, dword [0x563c04]
mov eax, dword [esp + 0x14]
push esi
inc ecx
lea edx, [esp + 0x1c]
push edx
mov dword [0x563c04], ecx
push eax
mov ecx, edi
call fcn.0045ed30
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.00505c90
add esp, 0x14
test eax, eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0x540fd4
je 0x461c94
call fcn.0045eff0
jmp 0x461e3d
mov dword [esp + 0x14], esi
call fcn.0045eff0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x461cca
inc dword [0x563c00]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x461cca
mov eax, dword [0x563c00]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [0x563c00], eax
mov dword [esp + 0x20], ecx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x114]
push edx
mov edx, dword [edi + 4]
lea eax, [esp + 0x9c]
push eax
push ecx
push edx
call fcn.00506560
mov bl, byte [ebp + 0x54]
mov eax, dword [esp + 0x96]
mov ecx, dword [esp + 0x94]
xor edx, edx
test bl, bl
push 0xb
setne dl
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call 0x5057b0
mov esi, eax
add esp, 0x30
test esi, esi
je 0x461c36
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
push esi
lea edx, [esp + 0x10c]
push edx
push eax
push ecx
call fcn.005072b0
mov al, byte [esp + 0x23]
add esp, 0x10
test al, al
je 0x461d8c
inc dword [esi + 0x10]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x461d63
mov ecx, edi
call fcn.0045ecd0
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
push esi
lea edx, [esp + 0x1c]
push edx
mov edx, dword [edi + 4]
push ecx
push eax
push edx
call fcn.00505c90
add esp, 0x14
test eax, eax
jne 0x461bd8
inc dword [0x563c0c]
mov dword [esp + 0x34], esi
xor eax, eax
mov edx, dword [esp + eax + 0xdc]
mov ecx, dword [esi + 8]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x2c
jl 0x461d92
mov ebx, dword [esp + 0x148]
mov esi, dword [esp + 0x34]
jmp 0x461dba
inc dword [0x563c08]
test esi, esi
je 0x461e3d
mov al, byte [esp + 0x13]
test al, al
je 0x461e0c
mov ecx, dword [esi + 8]
lea edx, [esp + 0x44]
xor eax, eax
sub ecx, edx
lea edx, [ecx + eax*4]
mov edx, dword [esp + edx + 0x44]
mov dword [esp + eax*4 + 0x44], edx
inc eax
cmp eax, 0xb
jl 0x461dd5
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.00506f90
add esp, 0x14
mov eax, dword [esp + 0x70]
mov word [ebx], ax
mov dx, word [esi + 2]
add dx, ax
xor eax, eax
mov word [ebx + 2], dx
mov ax, word [esi + 4]
add ax, word [esp + 0x74]
neg eax
mov word [ebx + 4], ax
mov cx, word [esi + 4]
add cx, ax
mov word [ebx + 6], cx
mov dword [ebx + 0xc], esi
mov edx, dword [esp + 0x24]
push edx
call dword [0x53d2c4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 8