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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x534
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
cmp eax, esi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x492a55
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x492a55
cmp dword [edi + 0x484], esi
jne 0x491e79
push 0x10
call fcn.00439320
add esp, 4
cmp eax, esi
je 0x491e71
push 0x2710
mov ecx, eax
call fcn.00482120
jmp 0x491e73
xor eax, eax
mov dword [edi + 0x484], eax
mov ecx, dword [edi + 0x46c]
cmp ecx, esi
je 0x491ea9
push esi
call fcn.00485630
test eax, eax
je 0x491ea9
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x46c]
push 2
push ebx
push eax
push esi
call fcn.00485630
push eax
call fcn.00415500
add esp, 0x10
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0051ec20
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], esi
mov edi, dword [ebp + 0xc]
cmp edi, 0x1388
mov esi, 0x1388
jg 0x491ef4
mov esi, edi
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xc]
add edx, ecx
mov ecx, dword [ebx + 0x484]
push esi
push edx
call fcn.00482150
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 0x484]
mov edx, dword [eax + 8]
add ecx, esi
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 4]
sub edi, esi
sub ecx, edx
mov dword [ebp + 0xc], edi
jns 0x491f30
add ecx, dword [eax + 0xc]
cmp ecx, 0x80
jl 0x492031
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x491f47
add ecx, dword [eax + 0xc]
lea edi, [ecx - 0x80]
test edi, edi
jl 0x491ff7
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x491f61
add ecx, dword [eax + 0xc]
cmp edi, ecx
jge 0x491ff7
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edx, edi
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x491f7e
sub edx, ecx
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
sub esi, edx
mov edi, 0x80
mov dword [esp + 0x3c], edi
jns 0x491f90
add esi, ecx
cmp esi, 0x80
jge 0x491f9e
mov edi, esi
mov dword [esp + 0x3c], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x491fb4
mov ecx, edi
add esi, edx
lea edi, [esp + 0xa0]
jmp 0x491fe2
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov esi, dword [eax]
sub ecx, ebx
lea edi, [esp + ebx + 0xa0]
mov ebx, dword [esp + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x46c]
test ecx, ecx
je 0x492031
push 0
call fcn.00485630
test eax, eax
je 0x492031
mov ecx, dword [ebx + 0x46c]
push 4
push 0x80
lea edx, [esp + 0xa8]
push edx
push 0
call fcn.00485630
push eax
call fcn.00415500
add esp, 0x10
mov ecx, dword [ebx + 0x484]
push 4
lea eax, [esp + 0x124]
push eax
call fcn.00483520
cmp eax, 4
jl 0x492998
nop
cmp byte [esp + 0x120], 0xff
jne 0x492212
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.0051ee10
add esp, 8
test eax, eax
je 0x492212
mov eax, dword [esp + 0x58]
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x484]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sar ebx, 3
sub ecx, edx
mov dword [esp + 0x3c], ebx
jns 0x4920a5
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jg 0x492998
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4920b8
add ecx, dword [eax + 0xc]
lea edx, [ebx + 4]
cmp edx, ecx
jle 0x4920ca
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x492998
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x4920d5
add ecx, dword [eax + 0xc]
cmp edx, ecx
jg 0x4921fd
test ebx, ebx
jl 0x49217e
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x4920f4
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x49217e
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], edx
add edx, ebx
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x492111
sub edx, ecx
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
sub esi, edx
mov edi, 4
mov dword [esp + 0x34], edi
jns 0x492123
add esi, ecx
cmp esi, 4
jge 0x49212e
mov edi, esi
mov dword [esp + 0x34], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x492141
mov ecx, edi
add esi, edx
lea edi, [esp + 0x4c]
jmp 0x492169
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov esi, dword [eax]
sub ecx, ebx
lea edi, [esp + ebx + 0x4c]
mov ebx, dword [esp + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0051ee10
add esp, 8
test eax, eax
je 0x492212
cmp ebx, 0x41a
jg 0x49290a
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x484]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
jns 0x4921c2
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jle 0x4921cc
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x4922a5
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x4922db
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x492208
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jl 0x492998
jmp 0x492197
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x484]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, 1
mov dword [esp + 0x34], ebx
jns 0x492232
add ecx, dword [eax + 0xc]
cmp ecx, 1
jge 0x49223d
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x49226a
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x4928e3
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
jmp 0x4928e3
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x480]
xor esi, esi
cmp eax, esi
jne 0x492620
mov eax, dword [ebx + 0x1ac]
cmp eax, esi
mov dword [ebx + 0x44], esi
mov dword [esp + 0x50], 1
jne 0x49231c
mov eax, dword [ebx + 0x54]
cmp eax, esi
je 0x492321
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x492321
call fcn.00476730
cmp eax, 5
jle 0x492352
cmp eax, 8
jne 0x492352
push 8
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4923d8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [str.FWS_b]
mov dword [edx], ecx
mov ecx, dword [0x53e4d4]
jmp 0x4923ce
mov eax, dword [ebx + 0x1ac]
cmp eax, esi
jne 0x492374
mov eax, dword [ebx + 0x54]
cmp eax, esi
je 0x4923a6
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x4923a6
call fcn.00476730
cmp eax, 5
jle 0x4923a6
cmp eax, 7
jne 0x4923a6
push 8
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4923d8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [str.FWS_a]
mov dword [ecx], edx
mov edx, dword [0x53e4c8]
mov dword [ecx + 4], edx
jmp 0x4923d1
push 8
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4923d8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [0x53e4b8]
mov dword [edx], ecx
mov ecx, dword [0x53e4bc]
mov dword [edx + 4], ecx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, 0xc8
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
call fcn.00484d30
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x492426
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0xc
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x49244b
mov eax, dword [esp + 0x18]
mov byte [esi + eax], 0xe8
inc esi
mov byte [esi + eax], 3
inc esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
and eax, 0x7fffffff
mov dword [ecx + 0x488], eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 1
call fcn.00482c50
test eax, eax
je 0x4924a9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4924d8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0
call fcn.00482e30
mov eax, edi
dec eax
mov esi, 3
je 0x492516
dec eax
jne 0x49252a
mov eax, ebx
sub eax, 0
je 0x49250f
dec eax
je 0x492525
dec eax
jmp 0x49251c
mov esi, 1
jmp 0x49252a
sub ebx, 0
je 0x492525
dec ebx
jne 0x49252a
mov esi, 3
jmp 0x49252a
mov esi, 2
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.00482e30
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00482e30
mov edx, dword [esp + 0x38]
xor eax, eax
cmp edx, 1
setne al
push 1
lea ecx, [esp + 0x14]
mov edi, eax
push edi
call fcn.00482e30
push 4
push 2
lea ecx, [esp + 0x18]
call fcn.00482e30
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.00482e30
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00482e30
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00482e30
cmp dword [esp + 0x10], 8
jge 0x4925b9
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4925b9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4925e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x492605
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
fld dword [esp + 0x70]
mov edx, dword [esp + 0xc]
fstp qword [edx + 0x478]
mov ebx, edx
xor esi, esi
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], esi
call fcn.00482c50
test eax, eax
je 0x492659
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
cmp dword [ebx + 0x480], esi
jne 0x4927ae
mov esi, dword [esp + 0x3c]
push esi
call fcn.00439320
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4927aa
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00482c50
test eax, eax
je 0x4926d6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x492705
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x492734
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov byte [eax + edi], cl
inc eax
mov byte [eax + edi], ch
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edx
call fcn.00482c50
test eax, eax
je 0x492763
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov byte [eax + edi], cl
inc eax
mov byte [eax + edi], ch
inc eax
mov dword [esp + 0x1c], eax
push esi
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x492798
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
push ebx
call fcn.00527b30
add esp, 4
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00482c50
test eax, eax
je 0x4927eb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x49281a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x492849
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov byte [eax + esi], cl
inc eax
mov byte [eax + esi], ch
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edx
call fcn.00482c50
test eax, eax
je 0x492878
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov byte [eax + esi], cl
inc eax
mov byte [eax + esi], ch
inc eax
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x3c]
push esi
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4928b4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, esi
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
fld dword [esp + 0x70]
mov ecx, dword [ebx + 0x44]
fadd dword [esp + 0x40]
mov eax, dword [esp + 0x44]
inc ecx
inc eax
fstp dword [esp + 0x40]
mov dword [ebx + 0x480], 1
mov dword [ebx + 0x44], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x484]
push 4
lea eax, [esp + 0x124]
push eax
call fcn.00483520
cmp eax, 4
jge 0x492050
jmp 0x492998
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x484]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, 0x41a
mov dword [esp + 0x34], ebx
jns 0x49292a
add ecx, dword [eax + 0xc]
cmp ecx, 0x41a
jge 0x492938
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x492962
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x492998
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x491ee2
mov esi, dword [esp + 0xc]
fld dword [esp + 0x40]
fadd qword [esi + 0x470]
mov ebx, dword [esp + 0x44]
test ebx, ebx
fstp qword [esi + 0x470]
je 0x4929d2
fild dword [esp + 0x44]
fdivr dword [esp + 0x40]
call fcn.004ab830
mov dword [esi + 0x1a8], eax
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4929fd
lea ecx, [esp + 0x54]
call fcn.0051ec60
mov eax, dword [esp + 0x18]
test eax, eax
je 0x492a55
push eax
call fcn.00527b30
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x492a32
imul ebx, ebx, 0x3e8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], 0x11
fild dword [esp + 0x38]
fdiv dword [esp + 0x40]
call fcn.004ab830
xor ecx, ecx
mov ch, al
push ecx
lea ecx, [esp + 0x14]
call fcn.00482cf0
mov ebx, dword [esp + 0x18]
push edi
push ebx
mov ecx, esi
call fcn.0048fec0
lea ecx, [esp + 0x54]
call fcn.0051ec60
test ebx, ebx
je 0x492a55
push ebx
call fcn.00527b30
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8