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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [0x76036c], 0x300f43
mov dword [0x76036c], 0x300f44
test esi, esi
je 0x493700
test byte [esi + 0x368], 0x20
jne 0x493700
test ebx, ebx
je 0x493700
mov eax, dword [ebx + 0x38]
test edi, edi
je 0x493700
test eax, eax
je 0x493700
cmp word [edi], 0
je 0x493700
mov dword [0x76036c], 0x300f44
mov dword [0x76036c], 0x300f45
cmp byte [eax + 0x2e], 0
je 0x493738
mov dword [0x76036c], 0x300f45
jmp 0x49370a
mov dword [0x76036c], 0x300f44
xor eax, eax
xor ebx, ebx
mov dword [esp], eax
call fcn.00572ba0
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00572ba0
sub esp, 4
mov eax, ebx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov dword [0x76036c], 0x300f45
mov dword [0x76036c], 0x300f4c
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
mov dword [0x76036c], 0x300f4d
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x2c], eax
mov dword [0x76036c], 0x300f4f
mov dword [0x76036c], 0x300f53
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1c
lea eax, [ebx + 0x1c]
mov dword [esp + 4], eax
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.005722d0
sub esp, 0x10
mov dword [0x76036c], 0x300f55
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00568166
sub esp, 8
mov dword [0x76036c], 0x300f57
call fcn.00572920
call fcn.00572920
mov eax, dword [ebx + 0x38]
mov ebp, dword [eax + 0xc]
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x20], edx
call fcn.00572950
mov dword [esp + 8], eax
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp], ebp
call fcn.0056f440
sub esp, 0xc
call fcn.00572950
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.00572aa0
sub esp, 8
mov dword [0x76036c], 0x300f58
call fcn.00572920
call fcn.00572920
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 0x44]
lea ebp, [eax - 1]
call fcn.00572950
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x20]
mov dword [esp], edx
call fcn.0056f620
sub esp, 0xc
call fcn.00572950
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov dword [esp], eax
call fcn.00572aa0
sub esp, 8
xor edx, edx
mov dword [esp + 0x24], 0
mov ebp, esi
mov esi, edx
jmp 0x493a0b
mov dword [0x76036c], 0x300f5e
mov dword [0x76036c], 0x300f6b
mov dword [0x76036c], 0x300f6c
test esi, esi
je 0x493d20
mov dword [esp + 0x20], 0xffffffff
mov dword [0x76036c], 0x300f6d
call fcn.00572920
call fcn.00572920
call fcn.00572950
mov dword [esp + 8], eax
mov ecx, edi
sub ecx, esi
mov eax, ecx
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00571fd0
sub esp, 0xc
call fcn.00572950
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00572aa0
sub esp, 8
mov dword [0x76036c], 0x300f6e
call fcn.00572920
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.00572a40
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00572a40
sub esp, 4
call fcn.00572950
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov dword [esp], eax
call fcn.00572aa0
sub esp, 8
mov dword [0x76036c], 0x300f6f
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0056f5f0
sub esp, 4
add dword [ebx + 0x44], eax
mov dword [0x76036c], 0x300f70
mov esi, dword [ebx + 0x38]
movzx eax, byte [esp + 0x24]
mov byte [esi + 0x20], al
mov dword [0x76036c], 0x300f71
mov dword [0x76036c], 0x300f72
mov dword [0x76036c], 0x300f74
cmp dword [esp + 0x20], 1
je 0x493b7d
movzx eax, word [edi]
mov dword [esp + 0x24], 1
mov dword [0x76036c], 0x300f83
mov dword [0x76036c], 0x300f85
mov dword [0x76036c], 0x300f86
mov dword [0x76036c], 0x300f87
mov dword [0x76036c], 0x300f89
test ax, ax
je 0x493f40
xor esi, esi
mov dword [0x76036c], 0x300f8b
mov dword [0x76036c], 0x300f8d
add edi, 2
mov dword [0x76036c], 0x300f8e
mov dword [0x76036c], 0x300f5a
mov dword [0x76036c], 0x300f5c
movzx ecx, word [edi]
mov dword [0x76036c], 0x300f5d
mov dword [0x76036c], 0x300f5d
test ecx, ecx
je 0x493880
mov dword [0x76036c], 0x300f5f
mov dword [0x76036c], 0x300f5f
cmp cx, word [ebp + 0x31e]
je 0x493b30
mov dword [0x76036c], 0x300f61
mov dword [0x76036c], 0x300f61
cmp cx, word [ebp + 0x320]
je 0x493c98
mov dword [0x76036c], 0x300f63
mov dword [0x76036c], 0x300f63
lea eax, [ecx - 0x20]
cmp eax, 0xe0
jbe 0x493cc0
cmp ecx, 9
je 0x493cc0
mov dword [0x76036c], 0x300f67
mov dword [0x76036c], 0x300f68
mov dword [0x76036c], 0x300f6b
mov dword [0x76036c], 0x300f6c
mov dword [esp + 0x20], 0xfffffffe
test esi, esi
jne 0x4938ae
mov dword [0x76036c], 0x300f72
mov dword [0x76036c], 0x300f74
mov dword [0x76036c], 0x300f83
mov dword [0x76036c], 0x300f85
mov dword [0x76036c], 0x300f86
mov dword [0x76036c], 0x300f87
mov dword [0x76036c], 0x300f89
jmp 0x4939ea
mov dword [0x76036c], 0x300f60
mov dword [0x76036c], 0x300f6b
mov dword [0x76036c], 0x300f6c
mov dword [esp + 0x20], 1
test esi, esi
jne 0x4938ae
mov dword [0x76036c], 0x300f72
mov dword [0x76036c], 0x300f74
mov esi, dword [ebx + 0x38]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [0x76036c], 0x300f75
mov dword [0x76036c], 0x300f77
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.00488400
sub esp, 8
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp qword [ecx + 0x10]
mov dword [0x76036c], 0x300f79
mov dword [esp], ebp
call fcn.004484e0
sub esp, 4
mov dword [ebx + 0x38], eax
mov dword [0x76036c], 0x300f7a
add dword [ebx + 0x3c], 1
mov dword [0x76036c], 0x300f7b
add dword [ebx + 0x40], 1
mov dword [0x76036c], 0x300f7c
mov dword [ebx + 0x44], 1
mov dword [0x76036c], 0x300f7d
mov dword [ebx + 0x48], 0
mov dword [0x76036c], 0x300f80
mov ecx, dword [ebp + 0xfe]
fld qword [esi + 0x10]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fistp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov dword [0x76036c], 0x30066d
mov dword [0x76036c], 0x30066e
cmp ecx, eax
jg 0x493f28
mov dword [0x76036c], 0x300670
mov dword [0x76036c], 0x300671
mov dword [ebp + 0xfe], eax
mov dword [0x76036c], 0x300f82
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.0048c320
sub esp, 0xc
movzx eax, word [edi]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
jmp 0x4939ad
mov dword [0x76036c], 0x300f62
mov dword [0x76036c], 0x300f6b
mov dword [esp + 0x24], 2
jmp 0x493cec
mov dword [0x76036c], 0x300f64
test esi, esi
je 0x493d08
mov dword [0x76036c], 0x300f66
mov dword [0x76036c], 0x300f67
mov dword [0x76036c], 0x300f6b
mov dword [0x76036c], 0x300f87
mov dword [0x76036c], 0x300f89
jmp 0x4939ea
mov dword [0x76036c], 0x300f65
mov esi, edi
jmp 0x493cce
mov esi, ebp
mov dword [0x76036c], 0x300f72
mov dword [0x76036c], 0x300f74
mov dword [0x76036c], 0x300f83
mov dword [0x76036c], 0x300f85
mov dword [0x76036c], 0x300f86
mov dword [0x76036c], 0x300f87
mov dword [0x76036c], 0x300f89
mov dword [0x76036c], 0x300f8a
mov dword [0x76036c], 0x300f90
call fcn.00572920
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.00572a40
sub esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00572a40
sub esp, 4
call fcn.00572950
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov dword [esp], eax
call fcn.00572aa0
sub esp, 8
mov dword [0x76036c], 0x300f91
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00488400
sub esp, 8
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [ebx + 0x38]
fst qword [eax + 0x10]
mov dword [0x76036c], 0x300f93
mov edx, dword [esi + 0xfe]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fistp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov dword [0x76036c], 0x30066d
mov dword [0x76036c], 0x30066e
cmp edx, eax
jg 0x493f50
mov dword [0x76036c], 0x300670
mov dword [0x76036c], 0x300671
mov dword [esi + 0xfe], eax
mov dword [0x76036c], 0x300f94
mov dword [esp], esi
call fcn.00489f80
sub esp, 4
mov dword [esi + 0x106], eax
mov dword [0x76036c], 0x300f96
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0048c320
sub esp, 0xc
mov dword [0x76036c], 0x300f98
mov dword [esp + 0x18], 0x7603dc
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.0041b700
sub esp, 0x1c
mov dword [0x76036c], 0x300f9a
mov edi, dword [ebx + 0x3c]
mov ebp, dword [ebx + 0x44]
mov dword [0x76036c], 0x30163d
mov dword [0x76036c], 0x30163e
mov eax, dword [esi + 0x21a]
mov dword [esp], eax
call fcn.00568180
sub esp, 4
cmp eax, 1
jg 0x493f68
mov dword [0x76036c], 0x30163e
mov dword [0x76036c], 0x300f9c
mov eax, dword [esp + 0x38]
mov ebx, 1
jmp 0x49370e
mov dword [0x76036c], 0x30066f
mov eax, ecx
jmp 0x493c57
mov esi, ebp
jmp 0x493d68
mov dword [0x76036c], 0x30066f
mov eax, edx
jmp 0x493e35
mov edx, dword [esp + 0x2c]
sub ebp, edx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x28]
sub edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004887c0
sub esp, 0x14
jmp 0x493f0b