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

Disassembly:
sub esp, 0xe18
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1ac]
cmp eax, esi
mov ebp, 0x14
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebp
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
jne 0x491219
mov eax, dword [edi + 0x54]
cmp eax, esi
je 0x49121e
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x49121e
call fcn.00476730
cmp eax, 5
jle 0x491259
cmp eax, 8
jl 0x491259
push 8
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4912e8
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [str.FWS_b]
lea ecx, [eax + edi]
mov dword [ecx], edx
mov edx, dword [0x53e4d4]
add eax, 8
mov dword [ecx + 4], edx
mov dword [esp + 0x1c], eax
jmp 0x4912ec
mov eax, dword [edi + 0x1ac]
cmp eax, esi
jne 0x49127b
mov eax, dword [edi + 0x54]
cmp eax, esi
je 0x491280
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x491280
call fcn.00476730
cmp eax, 5
jle 0x4912b4
cmp eax, 7
jl 0x4912b4
push 8
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4912e8
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [str.FWS_a]
lea ecx, [eax + edi]
mov dword [ecx], edx
mov edx, dword [0x53e4c8]
add eax, 8
mov dword [ecx + 4], edx
mov dword [esp + 0x1c], eax
jmp 0x4912ec
push 8
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4912e8
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [0x53e4b8]
lea ecx, [eax + edi]
mov dword [ecx], edx
mov edx, dword [0x53e4bc]
add eax, 8
mov dword [ecx + 4], edx
mov dword [esp + 0x1c], eax
jmp 0x4912ec
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xe34]
cmp eax, 1
je 0x491602
cmp eax, 2
je 0x491602
cmp eax, 3
je 0x491602
lea ecx, [esp + 0x4c]
call fcn.0051ec20
mov ebp, dword [esp + 0xe30]
cmp ebp, 4
mov ebx, dword [esp + 0xe2c]
mov esi, ebp
mov edi, ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], ebp
jl 0x49139c
lea ebx, [ebx]
cmp byte [edi], 0xff
jne 0x491383
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.0051ee10
add esp, 8
test eax, eax
je 0x491383
mov eax, dword [esp + 0x6c]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, esi
je 0x49138c
lea ecx, [eax + 4]
cmp ecx, esi
jg 0x491383
lea edx, [esp + 0x50]
push edx
add eax, edi
push eax
call fcn.0051ee10
add esp, 8
test eax, eax
jne 0x49138c
inc edi
dec esi
cmp esi, 4
jge 0x491340
jmp 0x49139c
mov eax, edi
sub eax, ebx
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
xor ebp, ebp
cmp esi, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
jl 0x4913f8
lea ebx, [ebx]
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.0051ee10
add esp, 8
test eax, eax
je 0x4913f8
mov eax, dword [esp + 0x6c]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub eax, 4
mov ecx, 0xfffffffc
sub ecx, eax
add esi, ecx
add ebp, dword [esp + 0x70]
cmp esi, 4
lea edi, [edi + eax + 4]
jge 0x4913c0
mov eax, 0x14
lea edx, [esp + 0x50]
xor esi, esi
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
call fcn.00484d30
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491442
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 eax, dword [esp + 0x1c]
je 0x491467
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xe
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00482c50
test eax, eax
je 0x4914a0
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 esi
lea ecx, [esp + 0x14]
call fcn.00482d20
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4914cf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
mov edi, 8
push 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.00482e30
mov ecx, ebx
dec ecx
mov eax, 3
je 0x491508
dec ecx
jne 0x49151f
mov ecx, dword [esp + 0x3c]
sub ecx, esi
je 0x491501
dec ecx
jmp 0x49150e
mov eax, 1
jmp 0x49151f
mov ecx, dword [esp + 0x3c]
sub ecx, esi
je 0x49151a
dec ecx
jne 0x49151f
mov eax, 3
jmp 0x49151f
mov eax, 2
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00482e30
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00482e30
mov edx, dword [esp + 0x48]
xor eax, eax
cmp edx, 1
setne al
push 1
lea ecx, [esp + 0x14]
push eax
call fcn.00482e30
cmp dword [esp + 0x10], edi
jge 0x491579
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491579
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov dword [esp + 0x1c], eax
push ebp
lea ecx, [esp + 0x14]
call fcn.00482d20
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4915a8
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
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4915eb
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0xe2c]
mov edi, dword [esp + 0x18]
add esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, edx
mov ebx, ecx
shr ecx, 2
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
lea ecx, [esp + 0x4c]
call fcn.0051ec60
jmp 0x491d9c
cmp eax, 1
mov ebx, dword [esp + 0xe30]
mov esi, dword [esp + 0xe2c]
mov byte [esp + 0x37], 1
jne 0x491920
xor ebp, ebp
lea ecx, [esp + 0x90]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x88], 6
mov dword [esp + 0x8c], 0x7fffffff
mov dword [esp + 0x80], ebx
call fcn.004c6490
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x94]
call fcn.004c64c0
test al, al
lea ecx, [esp + 0x90]
jne 0x491684
call fcn.004c64b0
cmp edi, ebp
je 0x491e0d
push edi
jmp 0x491e05
call fcn.004c6500
cmp eax, 0xb40
jl 0x491695
mov eax, 0xb40
lea ebp, [eax + eax*4]
lea ecx, [esp + 0x90]
shl ebp, 2
call fcn.004c6510
cmp eax, 0xb40
jl 0x4916b3
mov eax, 0xb40
lea eax, [eax + eax*4]
shl eax, 2
lea ecx, [esp + 0x90]
mov dword [esp + 0x38], eax
call fcn.004c64b0
mov edi, dword [esp + 0x38]
xor eax, eax
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], edi
call fcn.00484d30
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491712
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 eax, dword [esp + 0x1c]
je 0x491737
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x15
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00482c50
test eax, eax
je 0x491770
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 0
lea ecx, [esp + 0x14]
call fcn.00482d20
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4917a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x37]
test al, al
je 0x4917f2
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4917cd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0xff
inc eax
mov byte [eax + ecx], 0xd9
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4917f2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0xff
inc eax
mov byte [eax + ecx], 0xd8
inc eax
mov dword [esp + 0x1c], eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491825
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea edi, [eax + edx]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, ebx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.00482c50
test eax, eax
je 0x49186b
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 0
lea ecx, [esp + 0x14]
call fcn.00482d20
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x49189b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 2
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x14]
call fcn.00484d30
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x4918c9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 2
inc eax
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x4918f3
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4918fc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4918fc
call fcn.00476730
cmp eax, 5
jle 0x4919fe
cmp eax, 8
jl 0x4919fe
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491a1e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0x43
jmp 0x491a19
cmp eax, 2
jne 0x49198c
push 0
push ebx
push esi
lea ecx, [esp + 0x4f4]
mov byte [esp + 0x43], 0
call fcn.0044cc20
lea ecx, [esp + 0x4e8]
call fcn.0044ce50
test al, al
lea ecx, [esp + 0x4e8]
je 0x491979
mov eax, dword [esp + 0x508]
lea ebp, [eax + eax*4]
mov eax, dword [esp + 0x50c]
lea edi, [eax + eax*4]
shl edi, 2
shl ebp, 2
mov dword [esp + 0x38], edi
call fcn.0044cd00
jmp 0x4916cd
call fcn.0044cd00
test edi, edi
je 0x491e0d
push edi
jmp 0x491e05
cmp eax, 3
jne 0x4916c9
push 0
push ebx
push esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x43], 0
call fcn.004390b0
lea ecx, [esp + 0x90]
call fcn.00438a70
test al, al
lea ecx, [esp + 0x90]
je 0x4919eb
movzx eax, word [esp + 0xa8]
lea ebp, [eax + eax*4]
movzx eax, word [esp + 0xaa]
lea eax, [eax + eax*4]
shl eax, 2
shl ebp, 2
mov dword [esp + 0x38], eax
call fcn.004389d0
jmp 0x4916c9
call fcn.004389d0
test edi, edi
je 0x491e0d
push edi
jmp 0x491e05
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491a1e
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 0x41
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491a43
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0xff
inc eax
mov byte [eax + ecx], 0xff
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482f50
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x491a6e
mov eax, dword [esi + 0x54]
test eax, eax
je 0x491a73
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x491a73
call fcn.00476730
cmp eax, 5
jle 0x491a90
cmp eax, 8
jl 0x491a90
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491ab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0x43
jmp 0x491aab
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491ab0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 0x41
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491ad5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482f50
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491afe
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491b1e
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 0x20
inc eax
mov dword [esp + 0x1c], eax
push 1
mov ebx, 8
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
call fcn.00482e30
push 5
push 5
lea ecx, [esp + 0x18]
call fcn.00482e30
cmp ebp, edi
mov eax, ebp
jg 0x491b51
mov eax, edi
xor ecx, ecx
test eax, 0xfffffff0
je 0x491b6d
lea ebx, [ebx]
shr eax, 4
add ecx, 4
test eax, 0xfffffff0
jne 0x491b60
test eax, eax
je 0x491b78
shr eax, 1
inc ecx
test eax, eax
jne 0x491b71
lea esi, [ecx + 1]
push 5
push esi
lea ecx, [esp + 0x18]
call fcn.00482e30
push esi
push ebp
lea ecx, [esp + 0x18]
call fcn.00482e30
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00482e30
push 2
push 2
lea ecx, [esp + 0x18]
call fcn.00482e30
mov eax, ebp
push 0
neg eax
push eax
lea ecx, [esp + 0x18]
call fcn.00482ed0
mov ecx, edi
neg ecx
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00482ed0
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.00482ed0
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00482ed0
push 6
push 0
lea ecx, [esp + 0x18]
call fcn.00482e30
cmp dword [esp + 0x10], ebx
jge 0x491c18
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491c18
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], bl
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
mov eax, dword [esp + 0x1c]
xor edi, edi
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x1a
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
call fcn.00482c50
test eax, eax
je 0x491c5c
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 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491c7c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 2
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491ca1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491cc6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 2
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 1
mov esi, 8
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.00482e30
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00482e30
push 5
push 0x10
lea ecx, [esp + 0x18]
call fcn.00482e30
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
push 0x10
neg eax
push eax
lea ecx, [esp + 0x18]
call fcn.00482e30
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
push 0x10
neg eax
push eax
lea ecx, [esp + 0x18]
call fcn.00482e30
cmp dword [esp + 0x10], esi
jge 0x491d4d
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00482c50
test eax, eax
je 0x491d4d
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], bl
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.00482d80
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], 0
call fcn.00482c50
test eax, eax
je 0x491d93
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
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 4
call fcn.00482d20
mov edi, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x1c]
push esi
mov ecx, edi
call fcn.0048fec0
mov ecx, dword [edi + 0x46c]
test ecx, ecx
je 0x491e00
push 0
call fcn.00485630
test eax, eax
je 0x491e00
mov ecx, dword [esp + 0xe30]
mov edx, dword [esp + 0xe2c]
push 3
push ecx
mov ecx, dword [edi + 0x46c]
push edx
push 0
call fcn.00485630
push eax
call fcn.00415500
add esp, 0x10
test esi, esi
je 0x491e0d
push esi
call fcn.00527b30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe18
ret 0xc