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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x20], eax
push edi
mov edi, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 2], al
mov eax, dword [ecx]
setne byte [ebp - 1]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x48effa
push ecx
call fcn.0045e360
mov ecx, dword [ebp + 8]
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
push ebx
push esi
mov esi, dword [ebp + 0xc]
test byte [esi + 0x2a], 0x20
movsx eax, word [esi + 0x22]
mov dword [ebp - 0x3c], eax
jne 0x48f01c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 1
jmp 0x48f043
mov edx, dword [esi + 8]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x48f03c
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x48f036
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x48f026
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], edx
movzx edx, word [edx + 0x32]
mov dword [ebp - 0x20], edx
xor ebx, ebx
test eax, eax
jle 0x48f1b1
xor edx, edx
mov dword [ebp - 0x28], edx
jmp 0x48f05a
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movsx eax, word [esi + 0x20]
cmp ebx, eax
je 0x48f138
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x48f077
cmp dword [eax + ebx*4], 0
jl 0x48f138
mov eax, dword [esi + 4]
movzx esi, byte [edx + eax + 0xc]
test esi, esi
je 0x48f138
mov cl, byte [ebp + 0x28]
cmp cl, 0xa
je 0x48f0ba
movzx esi, cl
cmp esi, 5
jne 0x48f0a4
cmp dword [edx + eax + 4], 0
mov eax, 2
cmove esi, eax
mov ecx, dword [ebp + 8]
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x48f0b3
jmp dword [eax*4 + 0x490420]
cmp esi, 0xa
jne 0x48f092
mov esi, 2
jmp 0x48f0a4
mov eax, dword [ecx + 0x1a0]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push dword [edx + eax]
push dword [ecx]
push str._s._s
push dword [ebp - 0x2c]
call fcn.00494c80
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 0x1c]
inc eax
add eax, ebx
push eax
push esi
push 0x513
push 0x48
push edi
call fcn.004a4e90
mov eax, dword [edi]
mov esi, dword [ebp + 8]
add esp, 0x2c
cmp byte [eax + 0x45], 0
jne 0x48f13b
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 1
jmp 0x48f13b
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x2c]
inc eax
add eax, ebx
push eax
push 0x22
push edi
call fcn.004a4dc0
add esp, 0x10
mov esi, dword [ebp + 8]
add dword [ebp - 0x28], 0x10
mov edx, dword [ebp - 0x28]
inc ebx
cmp ebx, dword [ebp - 0x3c]
jl 0x48f054
jmp 0x48f1b4
mov esi, dword [ebp + 0x1c]
inc esi
add esi, ebx
push esi
push 0x23
push edi
call fcn.004a4d50
mov ecx, dword [ebp - 0x28]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp + 8]
push dword [ecx + eax + 4]
push esi
call fcn.0048a2a0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [edi + 0x20]
add esp, 0x18
test ecx, ecx
jns 0x48f191
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x48f1a3
mov eax, 0x53464c
mov dword [eax + 8], edx
jmp 0x48f13b
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
jmp 0x48f13b
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x48f4ee
mov eax, dword [ebp - 0x2c]
test dword [eax + 0x18], 0x2000
jne 0x48f4ee
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [esi + 0x64], eax
mov al, byte [ebp + 0x28]
cmp al, 0xa
je 0x48f1eb
movzx eax, al
mov dword [ebp - 0x1c], eax
jmp 0x48f1f2
mov dword [ebp - 0x1c], 2
xor ebx, ebx
mov dword [ebp - 0x38], ebx
cmp dword [edx], ebx
jle 0x48f4ee
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0x34], 0
mov eax, dword [edx + 4]
mov esi, dword [ecx + eax]
mov dword [ebp - 8], esi
je 0x48f26b
mov edi, dword [ebp + 0x34]
xorps xmm0, xmm0
xor al, al
mov dword [ebp - 0x58], 0
movq qword [ebp - 0x70], xmm0
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x24]
movq qword [ebp - 0x68], xmm0
mov byte [ebp - 0x5c], al
mov dword [ebp - 0x6c], 0x4638b0
test esi, esi
je 0x48f25b
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.004bd400
mov al, byte [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add esp, 8
cmp byte [ebp + 0x24], 0
jne 0x48f263
and al, 0xfd
test al, al
je 0x48f4dc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x48], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x48f351
mov ebx, dword [ecx + 0x78]
mov esi, dword [ecx]
lea eax, [edx*8 + 4]
xor edx, edx
mov dword [ebp - 0x3c], eax
test ebx, ebx
jne 0x48f2aa
push edx
push eax
push esi
call fcn.004878a0
add esp, 0xc
jmp 0x48f2ed
cmp ebx, dword [esi + 0x120]
jb 0x48f2e1
cmp ebx, dword [esi + 0x124]
jae 0x48f2e1
movzx eax, word [esi + 0x104]
cdq
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp eax, edx
ja 0x48f2dc
jb 0x48f2d5
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x4c]
ja 0x48f2df
mov eax, ebx
mov dword [ebp - 0x18], eax
jmp 0x48f2f3
mov eax, dword [ebp - 0x3c]
xor edx, edx
push edx
push eax
push ebx
push esi
call fcn.004680d0
add esp, 0x10
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x48f345
test ebx, ebx
je 0x48f345
test esi, esi
je 0x48f339
cmp dword [esi + 0x1c8], eax
je 0x48f313
push ebx
push esi
call fcn.004726a0
add esp, 8
jmp 0x48f342
cmp ebx, dword [esi + 0x120]
jb 0x48f339
cmp ebx, dword [esi + 0x124]
jae 0x48f339
mov eax, dword [esi + 0x11c]
mov dword [ebx], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], ebx
jmp 0x48f345
push ebx
call fcn.004584c0
add esp, 4
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x78], ebx
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x48f35f
mov dword [eax + edx*4], 0xffffffff
or ebx, 0xffffffff
sub ebx, edx
push 0x10
push ebx
push esi
push dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
call fcn.0048c460
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
cmp ecx, 4
jne 0x48f3db
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48f3a0
push 0
push dword [ebp + 0x2c]
push 0
push 0xd
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48f4b4
mov edx, dword [ebp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x48f4b4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov ebx, dword [ebx + eax + 4]
test ebx, ebx
jne 0x48f3f1
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov edx, dword [ebp + 8]
cmp ecx, 5
mov esi, dword [edx + 8]
mov eax, 2
cmove ecx, eax
mov dword [ebp - 0x1c], ecx
test esi, esi
jne 0x48f41a
push edx
call fcn.0045e360
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add esp, 4
mov esi, eax
cmp ecx, 2
jne 0x48f433
mov eax, dword [edx + 0x1a0]
mov ecx, edx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x48f455
push 0
push ecx
push 0x113
push 0x49
push esi
call fcn.00470460
add esp, 0x14
mov edx, eax
jmp 0x48f48e
mov edi, dword [ebp - 0x1c]
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0x24]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ebx
push edx
push esi
call fcn.004a5220
mov eax, dword [esi]
mov ebx, dword [ebp - 0x3c]
add esp, 0x10
cmp byte [eax + 0x45], 0
jne 0x48f4b4
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 3
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x48f4cc
lea eax, [ebx*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0xc]
inc ebx
add ecx, 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ecx
cmp ebx, dword [edx]
jl 0x48f204
cmp byte [ebp + 0x24], 0
je 0x48f864
cmp dword [ebp - 0x10], 0
jne 0x48f864
mov ebx, dword [edi + 0x18]
mov esi, dword [ebx + 0x74]
lea eax, [esi + 1]
mov dword [ebx + 0x74], eax
lea eax, [esi - 1]
test esi, eax
jne 0x48f52f
push 0
lea eax, [esi*8 + 4]
push eax
push dword [ebx + 0x78]
push dword [ebx]
call fcn.00487ad0
add esp, 0x10
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x48f53d
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp + 0x28]
or ebx, 0xffffffff
sub ebx, esi
movzx esi, byte [eax + 0x2b]
cmp cl, 0xa
je 0x48f556
movzx esi, cl
jmp 0x48f561
cmp esi, 0xa
mov edx, 2
cmove esi, edx
cmp byte [ebp - 1], 0
je 0x48f5d3
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48f586
push dword [ebp + 0x20]
push ebx
push dword [ebp + 0x1c]
push 0x25
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48f5b7
mov edx, dword [ebp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x20]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x48f5cd
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov cl, byte [ebp + 0x28]
mov eax, dword [ebp + 0xc]
cmp esi, 5
jne 0x48f655
cmp cl, 5
je 0x48f655
mov eax, dword [eax + 8]
test eax, eax
je 0x48f655
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x48f5fa
cmp cl, 3
je 0x48f5fa
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x48f5e4
jmp 0x48f655
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x30], edx
cmp dword [eax + 0x58], edx
jg 0x48f61e
push 0
push 0
push 0
push 0xd
push edi
call fcn.00470460
add esp, 0x14
mov dword [ebp - 0x30], eax
jmp 0x48f655
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp + 0x14]
cmp dword [eax + 0x58], ecx
jg 0x48f675
push dword [ebp + 0x1c]
push ebx
push edx
push 0x20
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48f6a3
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [esi - 1]
cmp eax, 4
ja case.default.0x48f6af
jmp dword [eax*4 + 0x490430]
mov eax, dword [ebp - 0x2c]
xor esi, esi
test dword [eax + 0x18], 0x40000
je 0x48f6dc
push esi
push esi
push 0x6d
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a19c0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x48f715
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
test dword [ecx + 0x18], 0x80000
je 0x48f755
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x54]
mov eax, dword [ecx + 0x40]
push edx
push dword [ecx]
add eax, 0x38
push eax
call fcn.0046bf40
add esp, 0xc
test eax, eax
je 0x48f70c
cmp dword [eax + 8], 0
jne 0x48f715
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x48f752
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
mov eax, dword [edx + 0x1a0]
push 1
push 5
push 0
push 1
push dword [ebp + 0x1c]
mov ecx, edx
push dword [ebp + 0x18]
test eax, eax
push dword [ebp + 0x14]
cmovne ecx, eax
push esi
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
push edx
call fcn.00490660
add esp, 0x2c
mov dword [ebp - 0x34], 1
jmp 0x48f7ae
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 8], 0
je 0x48f783
mov eax, dword [edx + 0x1a0]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov ecx, edx
push dword [ebp + 0x14]
test eax, eax
cmovne ecx, eax
push esi
push edx
mov byte [ecx + 0x14], 1
call fcn.00490a10
add esp, 0x18
mov dword [ebp - 0x34], 1
jmp 0x48f7ae
push dword [ebp + 0x2c]
push edi
call fcn.004ac3a0
add esp, 8
jmp 0x48f7ae
mov esi, 2
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0049c5f0
add esp, 0xc
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x48f7c6
lea eax, [ebx*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov esi, dword [ebp - 0x30]
dec eax
mov dword [edx + 0x60], eax
test esi, esi
je 0x48f864
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x40], ebx
cmp dword [eax + 0x58], ebx
jg 0x48f7fc
push 0
push 0
push 0
push 0xd
push edi
call fcn.00470460
add esp, 0x14
mov dword [ebp - 0x40], eax
jmp 0x48f833
lea ecx, [ebx + ebx*4]
lea eax, [ebx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [edi + 0x20]
mov ecx, esi
test esi, esi
jns 0x48f849
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x48f858
mov eax, 0x53464c
jmp 0x48f861
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0
mov esi, dword [ecx + 8]
mov dword [ebp - 8], esi
test esi, esi
je 0x490371
mov ebx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ebx + eax*4], 0
je 0x49035f
cmp byte [ebp - 2], 0
jne 0x48f8a4
mov eax, dword [ebp + 0x1c]
inc eax
push eax
push ecx
push edi
call fcn.004a10c0
add esp, 0xc
mov byte [ebp - 2], 1
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x48], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x48f9e1
mov ebx, dword [ecx + 0x78]
mov esi, dword [ecx]
lea eax, [edx*8 + 4]
xor edx, edx
mov dword [ebp - 0x3c], eax
test ebx, ebx
jne 0x48f8e3
push edx
push eax
push esi
call fcn.004878a0
add esp, 0xc
jmp 0x48f926
cmp ebx, dword [esi + 0x120]
jb 0x48f91a
cmp ebx, dword [esi + 0x124]
jae 0x48f91a
movzx eax, word [esi + 0x104]
cdq
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp eax, edx
ja 0x48f915
jb 0x48f90e
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x4c]
ja 0x48f918
mov eax, ebx
mov dword [ebp - 0x18], eax
jmp 0x48f92c
mov eax, dword [ebp - 0x3c]
xor edx, edx
push edx
push eax
push ebx
push esi
call fcn.004680d0
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x48f9d2
test ebx, ebx
je 0x48f9d2
test esi, esi
je 0x48f97a
cmp dword [esi + 0x1c8], eax
je 0x48f954
push ebx
push esi
call fcn.004726a0
add esp, 8
jmp 0x48f9cf
cmp ebx, dword [esi + 0x120]
jb 0x48f97a
cmp ebx, dword [esi + 0x124]
jae 0x48f97a
mov eax, dword [esi + 0x11c]
mov dword [ebx], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], ebx
jmp 0x48f9d2
cmp dword [0x531b70], 0
je 0x48f9c5
mov eax, dword [0x534328]
test eax, eax
je 0x48f996
push eax
call dword [0x531bc8]
add esp, 4
push ebx
call dword [0x531ba4]
sub dword [0x534170], eax
dec dword [0x534194]
push ebx
call dword [0x531b9c]
mov eax, dword [0x534328]
add esp, 8
test eax, eax
je 0x48f9cf
push eax
call dword [0x531bd0]
jmp 0x48f9cc
push ebx
call dword [0x531b9c]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x78], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x48f9ef
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x18], eax
je 0x48fab3
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebx + eax*4]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x48fa24
push 0
push edx
push 0
push 0x4d
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48fa57
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
inc eax
mov ebx, dword [ecx]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x48fa7f
push 0
push 0
push eax
push ebx
call fcn.0046ace0
mov ecx, dword [ebp + 8]
add esp, 0x10
mov esi, eax
jmp 0x48fa81
xor esi, esi
cmp byte [ebx + 0x45], 0
jne 0x48fa96
push 0x10
push dword [ebp - 0x18]
push esi
push ecx
call fcn.0048c190
add esp, 0x10
test esi, esi
je 0x48faa4
push esi
push ebx
call fcn.0048c060
add esp, 8
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ebx + 0x64], 0
jmp 0x48fab6
mov ebx, dword [ebp + 8]
movzx ecx, word [esi + 0x34]
mov edx, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x14], esi
cmp ecx, edx
jg 0x48fad4
lea eax, [esi + ecx]
sub edx, ecx
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], edx
jmp 0x48fae2
mov eax, dword [ebx + 0x4c]
lea esi, [eax + 1]
add eax, ecx
mov dword [ebp - 0x14], esi
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x48], ecx
cmp dx, word [eax + 0x34]
jae 0x48fce5
mov ebx, esi
mov dword [ebp - 0x28], edx
jmp 0x48fb00
mov eax, dword [eax + 4]
movsx ecx, word [eax + ecx*2]
cmp ecx, 0xfffffffe
jne 0x48fc37
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
inc eax
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
mov eax, dword [edx + eax]
mov edx, esi
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x48fb49
push 0
push 0
push eax
push ecx
call fcn.0046ace0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add esp, 0x10
mov esi, eax
jmp 0x48fb4b
xor esi, esi
cmp byte [ecx + 0x45], 0
jne 0x48fc1a
test esi, esi
je 0x48fb9f
cmp byte [esi], 0x9d
jne 0x48fb9f
mov eax, dword [esi + 0x1c]
mov edx, dword [edx + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48fb88
push 0
push ebx
push dword [ebp - 0x3c]
push 0x52
push edx
call fcn.00470460
add esp, 0x14
jmp 0x48fc17
lea eax, [ecx + 1]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0x52
jmp 0x48fbfa
push ebx
push esi
push edx
call fcn.0048aec0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x38], ecx
cmp ecx, ebx
je 0x48fc17
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x48fc17
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x3c]
cmp dword [eax + 0x58], ecx
mov ecx, dword [ebp - 0x38]
jg 0x48fbe2
push 0
push ebx
push ecx
push 0x53
push edx
call fcn.00470460
add esp, 0x14
jmp 0x48fc17
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x38]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
mov ecx, dword [ebp - 0x1c]
test esi, esi
je 0x48fc28
push esi
push ecx
call fcn.0048c060
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 0
jmp 0x48fcc1
cmp ecx, 0xffffffff
je 0x48fc4f
mov eax, dword [ebp + 0xc]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x48fc4f
mov esi, dword [ebp + 0x1c]
inc esi
add esi, ecx
jmp 0x48fc6b
cmp dword [ebp - 0x44], ebx
je 0x48fcc1
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 0x1c]
cmp dword [eax + 0x24], 0
mov edx, ebx
mov eax, 0xffffffff
cmovne edx, eax
mov dword [ebp - 0x44], edx
mov eax, dword [edi + 0x18]
xor edx, edx
test ecx, ecx
mov ecx, dword [edi + 0x20]
sets dl
add edx, 0x53
cmp dword [eax + 0x58], ecx
jg 0x48fc90
push 0
push ebx
push esi
push edx
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48fcc1
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4], dl
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x48]
movzx eax, word [eax + 0x34]
add dword [ebp - 0x28], 0x18
mov edx, dword [ebp - 0x28]
inc ecx
inc ebx
cmp ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], ecx
jl 0x48fb00
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
movzx esi, word [eax + 0x34]
mov edx, dword [edx + ecx*4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48fd0f
push edx
push esi
push dword [ebp - 0x14]
push 0x60
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48fd40
mov ebx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 8]
mov word [eax + ecx*4], 0x60
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebp - 8]
movzx eax, word [esi + 0x34]
push eax
push dword [ebp - 0x14]
push ebx
call fcn.0048a020
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x48fd8c
cmp dword [ebp - 0x10], esi
jne 0x48fd8c
cmp byte [ebp + 0x24], 0
jne 0x48fd8c
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x48fd80
mov eax, dword [ebp - 0x18]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
jmp 0x490356
movzx esi, byte [esi + 0x36]
test esi, esi
jne 0x48fddd
mov eax, dword [ebp - 8]
movzx esi, word [eax + 0x34]
push esi
push dword [ebp - 0x14]
push ebx
call fcn.0048a020
add esp, 0xc
cmp esi, dword [ebx + 0x3c]
jle 0x48fdb6
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], eax
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x48fdd1
mov eax, dword [ebp - 0x18]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
jmp 0x490353
mov al, byte [ebp + 0x28]
cmp al, 0xa
je 0x48fde9
movzx esi, al
jmp 0x48fdf4
cmp esi, 0xa
mov eax, 2
cmove esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], esi
movzx eax, word [eax + 0x32]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x18]
add eax, dword [ebp + 0x18]
push eax
push 0x1d
push edi
call fcn.004a4f10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add esp, 0x18
cmp eax, ecx
jne 0x48fe29
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
jmp 0x48fe5b
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x1c], edx
cmp eax, ecx
jg 0x48fe46
add eax, edx
sub ecx, dword [ebp - 0x20]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], ecx
jmp 0x48fe55
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp byte [ebp - 1], 0
jne 0x48fe6a
cmp esi, 5
jne 0x4901c7
mov esi, dword [ebp + 0xc]
test byte [esi + 0x2a], 0x20
jne 0x48ff50
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48fe9c
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x18]
push 0
push edx
push eax
push 0x7f
push edi
call fcn.00470460
mov edx, dword [ebp - 0x1c]
add esp, 0x14
jmp 0x48fed4
mov ebx, dword [ebp - 0xc]
add ebx, dword [ebp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x24]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0x7f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp - 1], 0
je 0x4901c7
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48fefd
push dword [ebp + 0x20]
push dword [ebp - 0x18]
push edx
push 0x25
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48ff2e
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x20]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov esi, dword [ebp - 8]
cmp byte [eax + 0x45], 0
jne 0x4901ca
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
jmp 0x4901ca
cmp eax, ecx
je 0x49001a
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x48], esi
cmp bx, word [ecx + 0x32]
jae 0x49001a
mov ebx, edx
jmp 0x48ff73
mov eax, dword [ebp - 8]
movzx edx, word [eax + 0x34]
xor ecx, ecx
test edx, edx
jle 0x48ff9d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
lea ecx, [ecx]
cmp si, word [eax]
je 0x48ffc7
inc ecx
add eax, 2
cmp ecx, edx
jl 0x48ff90
or eax, 0xffffffff
mov ecx, dword [edi + 0x20]
movsx edx, ax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x3c], edx
cmp dword [eax + 0x58], ecx
jg 0x48ffcc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x18]
push ebx
push edx
push eax
push 0x5e
push edi
call fcn.00470460
add esp, 0x14
jmp 0x490003
movzx eax, cx
jmp 0x48ffa0
mov esi, dword [ebp - 0xc]
add esi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x24]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0x5e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x48]
movzx eax, word [ecx + 0x32]
inc esi
inc ebx
mov dword [ebp - 0x48], esi
cmp esi, eax
jl 0x48ff70
cmp byte [ebp - 1], 0
mov esi, dword [ebp - 8]
je 0x4901ca
movzx ecx, word [ecx + 0x32]
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
cmove edx, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x38], 0x24
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x28], ebx
test ecx, ecx
jle 0x4901ca
jmp 0x490060
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov esi, dword [edx]
mov ecx, dword [eax + ebx*4]
mov bh, byte [esi + 0x42]
mov bl, byte [esi + 0x95]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x54], bh
test ecx, ecx
je 0x490099
movzx eax, bl
push eax
push ecx
push esi
call fcn.0046be50
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
add esp, 0xc
mov esi, eax
jmp 0x49009c
mov esi, dword [esi + 8]
test esi, esi
je 0x4900ac
movzx eax, bh
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
add esi, 0xffffffec
test bl, bl
jne 0x4900ca
test esi, esi
je 0x4900ba
cmp dword [esi + 0xc], 0
jne 0x4900ca
push ecx
push esi
push dword [ebp - 0x54]
push edx
call fcn.00490b90
add esp, 0x10
mov esi, eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebx + 4]
movsx eax, word [ecx + edx*2]
movzx ecx, word [ebx + 0x32]
dec ecx
cmp edx, ecx
jne 0x4900ef
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x25
jmp 0x4900f2
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ebp + 0x20]
mov edx, dword [edi + 0x20]
inc ebx
add ebx, eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], edx
jg 0x49011f
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x48]
push eax
push ecx
push ebx
push dword [ebp - 0x38]
push edi
call fcn.00470460
mov ebx, dword [ebp - 0x28]
add esp, 0x14
mov edx, eax
jmp 0x490156
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x38]
mov byte [ecx], al
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 4], ebx
mov ebx, dword [ebp - 0x28]
add eax, ebx
mov byte [ecx + 3], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov byte [ecx + 1], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x49016c
push esi
push 0xfffffffffffffffc
push eax
call fcn.0046e1f0
add esp, 0xc
jmp 0x49019e
test edx, edx
jns 0x490174
mov edx, dword [edi + 0x20]
dec edx
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x490193
push 0xfffffffffffffffc
push esi
push eax
push edi
call fcn.004b7760
add esp, 0x10
jmp 0x49019e
test esi, esi
je 0x49019e
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfc
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x4901b4
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov eax, dword [ebp - 0x10]
inc ebx
movzx eax, word [eax + 0x32]
mov dword [ebp - 0x28], ebx
cmp ebx, eax
jl 0x490060
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x490255
cmp eax, 3
jle 0x490242
cmp eax, 4
jne 0x490255
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x490204
push 0
push dword [ebp + 0x2c]
push 0
push 0xd
push edi
call fcn.00470460
mov ebx, dword [ebp + 8]
add esp, 0x14
jmp 0x4902f0
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4902f0
mov ebx, dword [ebp + 8]
push esi
push eax
push ebx
call fcn.004a1ab0
add esp, 0xc
jmp 0x4902f0
mov ebx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebx + 0x1a0]
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov eax, dword [ebp - 0x2c]
mov byte [ecx + 0x14], 1
test dword [eax + 0x18], 0x40000
je 0x4902c0
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ecx]
xor ebx, ebx
test dword [eax + 0x18], 0x1000000
je 0x490297
push dword [ebp + 0xc]
push ecx
call fcn.004a17d0
add esp, 8
mov ebx, eax
mov ecx, ebx
test ebx, ebx
je 0x4902b3
lea ecx, [ecx]
cmp byte [ecx + 8], 0x6d
jne 0x4902ac
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4902a0
xor edx, edx
test esi, esi
mov esi, dword [ebp - 8]
cmovne edx, ebx
mov ebx, dword [ebp + 8]
cmp esi, dword [ebp - 0x10]
push 0xffffffffffffffff
sete al
movzx eax, al
push eax
push 5
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push ebx
call fcn.00490660
add esp, 0x2c
mov dword [ebp - 0x34], 1
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x49030b
mov eax, dword [ebp - 0x18]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
movzx esi, word [esi + 0x34]
push esi
push dword [ebp - 0x14]
push ebx
call fcn.0048a020
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp esi, dword [ebx + 0x3c]
jle 0x490331
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], eax
mov esi, dword [ebp - 0x1c]
cmp esi, eax
je 0x490353
push dword [ebp - 0x20]
push esi
push ebx
call fcn.0048a020
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp eax, dword [ebx + 0x3c]
jle 0x490353
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], esi
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x48f881
mov eax, dword [ebp - 0x30]
pop esi
pop ebx
test eax, eax
je 0x490411
mov ecx, dword [edi + 0x20]
lea edx, [eax + 1]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x49039e
push 0
push edx
push 0
push 0xd
push edi
call fcn.00470460
add esp, 0x14
jmp 0x4903d1
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x4903e8
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x490405
mov ecx, dword [ebp - 0x34]
mov eax, 0x53464c
pop edi
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
pop edi
mov esp, ebp
pop ebp
ret