Function at 0x493150
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 0x4931b6
mov eax, dword [edi + 0x54]
cmp eax, esi
je 0x4931b1
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x4931b1
call fcn.004781a0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x4931b6
mov eax, 8
cmp eax, 8
jl 0x4931f6
push 8
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49328c
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [str.FWS_b]
lea edx, [eax + edi]
mov dword [edx], ecx
mov ecx, dword [0x54178c]
add eax, 8
mov dword [edx + 4], ecx
mov dword [esp + 0x1c], eax
jmp 0x493290
mov eax, dword [edi + 0x1ac]
cmp eax, esi
jne 0x493225
mov eax, dword [edi + 0x54]
cmp eax, esi
je 0x493220
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x493220
call fcn.004781a0
xor edx, edx
cmp eax, 5
setle dl
dec edx
and eax, edx
jmp 0x493225
mov eax, 8
cmp eax, 7
lea ecx, [esp + 0x10]
push 8
jl 0x49325e
call fcn.00484a90
test eax, eax
je 0x49328c
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 [0x541780]
add eax, 8
mov dword [ecx + 4], edx
mov dword [esp + 0x1c], eax
jmp 0x493290
call fcn.00484a90
test eax, eax
je 0x49328c
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [0x541770]
lea ecx, [eax + edi]
mov dword [ecx], edx
mov edx, dword [0x541774]
add eax, 8
mov dword [ecx + 4], edx
mov dword [esp + 0x1c], eax
jmp 0x493290
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xe34]
cmp eax, 1
je 0x4935a2
cmp eax, 2
je 0x4935a2
cmp eax, 3
je 0x4935a2
lea ecx, [esp + 0x4c]
call fcn.00522450
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 0x49333c
mov edi, edi
cmp byte [edi], 0xff
jne 0x493323
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.00522650
add esp, 8
test eax, eax
je 0x493323
mov eax, dword [esp + 0x6c]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, esi
je 0x49332c
lea ecx, [eax + 4]
cmp ecx, esi
jg 0x493323
lea edx, [esp + 0x50]
push edx
add eax, edi
push eax
call fcn.00522650
add esp, 8
test eax, eax
jne 0x49332c
inc edi
dec esi
cmp esi, 4
jge 0x4932e0
jmp 0x49333c
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 0x493398
lea ebx, [ebx]
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.00522650
add esp, 8
test eax, eax
je 0x493398
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 0x493360
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.00486be0
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x4933e2
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.00484a90
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x493407
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.00484a90
test eax, eax
je 0x493440
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.00484b60
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49346f
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.00484c70
mov ecx, ebx
dec ecx
mov eax, 3
je 0x4934a8
dec ecx
jne 0x4934bf
mov ecx, dword [esp + 0x3c]
sub ecx, esi
je 0x4934a1
dec ecx
jmp 0x4934ae
mov eax, 1
jmp 0x4934bf
mov ecx, dword [esp + 0x3c]
sub ecx, esi
je 0x4934ba
dec ecx
jne 0x4934bf
mov eax, 3
jmp 0x4934bf
mov eax, 2
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00484c70
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00484c70
mov edx, dword [esp + 0x48]
xor eax, eax
cmp edx, 1
setne al
push 1
lea ecx, [esp + 0x14]
push eax
call fcn.00484c70
cmp dword [esp + 0x10], edi
jge 0x493519
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493519
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.00484b60
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493548
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.00484a90
test eax, eax
je 0x49358b
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.00484bc0
lea ecx, [esp + 0x4c]
call fcn.00522490
jmp 0x493d3f
cmp eax, 1
mov ebx, dword [esp + 0xe30]
mov esi, dword [esp + 0xe2c]
mov byte [esp + 0x37], 1
jne 0x4938a6
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], htons
mov dword [esp + 0x80], ebx
call fcn.004c94c0
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x94]
call fcn.004c94f0
test al, al
lea ecx, [esp + 0x90]
jne 0x493624
call fcn.004c94e0
cmp edi, ebp
je 0x493db0
push edi
jmp 0x493da8
call fcn.004c9530
cmp eax, 0xb40
jl 0x493635
mov eax, 0xb40
lea ebp, [eax + eax*4]
lea ecx, [esp + 0x90]
shl ebp, 2
call fcn.004c9540
cmp eax, 0xb40
jl 0x493653
mov eax, 0xb40
lea eax, [eax + eax*4]
shl eax, 2
lea ecx, [esp + 0x90]
mov dword [esp + 0x38], eax
call fcn.004c94e0
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.00486be0
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x4936b2
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.00484a90
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x4936d7
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.00484a90
test eax, eax
je 0x493710
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.00484b60
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493740
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 0x493792
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49376d
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.00484a90
test eax, eax
je 0x493792
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.00484a90
test eax, eax
je 0x4937c5
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.00484bc0
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.00484a90
test eax, eax
je 0x49380b
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.00484b60
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x49383b
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.00486be0
push 1
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493869
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 0x493989
mov eax, dword [esi + 0x54]
test eax, eax
je 0x493984
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x493984
call fcn.004781a0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x493989
cmp eax, 2
jne 0x493912
push 0
push ebx
push esi
lea ecx, [esp + 0x4f4]
mov byte [esp + 0x43], 0
call fcn.0044dab0
lea ecx, [esp + 0x4e8]
call fcn.0044dce0
test al, al
lea ecx, [esp + 0x4e8]
je 0x4938ff
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.0044db90
jmp 0x49366d
call fcn.0044db90
test edi, edi
je 0x493db0
push edi
jmp 0x493da8
cmp eax, 3
jne 0x493669
push 0
push ebx
push esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x43], 0
call fcn.00439a80
lea ecx, [esp + 0x90]
call fcn.00439440
test al, al
lea ecx, [esp + 0x90]
je 0x493971
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.00439350
jmp 0x493669
call fcn.00439350
test edi, edi
je 0x493db0
push edi
jmp 0x493da8
mov eax, 8
mov ebx, 8
cmp eax, ebx
lea ecx, [esp + 0x10]
push 1
jl 0x4939af
call fcn.00484a90
test eax, eax
je 0x4939c9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 0x43
jmp 0x4939c4
call fcn.00484a90
test eax, eax
je 0x4939c9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0x41
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x4939ee
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.00484d90
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x493a23
mov eax, dword [esi + 0x54]
test eax, eax
je 0x493a21
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x493a21
call fcn.004781a0
xor edx, edx
cmp eax, 5
setle dl
dec edx
and eax, edx
jmp 0x493a23
mov eax, ebx
cmp eax, ebx
lea ecx, [esp + 0x10]
push 1
jl 0x493a44
call fcn.00484a90
test eax, eax
je 0x493a5e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0x43
jmp 0x493a59
call fcn.00484a90
test eax, eax
je 0x493a5e
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.00484a90
test eax, eax
je 0x493a83
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.00484d90
push 1
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493aac
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.00484a90
test eax, eax
je 0x493acc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 0x20
inc eax
mov dword [esp + 0x1c], eax
push 1
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
call fcn.00484c70
push 5
push 5
lea ecx, [esp + 0x18]
call fcn.00484c70
cmp ebp, edi
mov eax, ebp
jg 0x493afa
mov eax, edi
xor ecx, ecx
test eax, 0xfffffff0
je 0x493b10
shr eax, 4
add ecx, 4
test eax, 0xfffffff0
jne 0x493b03
test eax, eax
je 0x493b1b
shr eax, 1
inc ecx
test eax, eax
jne 0x493b14
lea esi, [ecx + 1]
push 5
push esi
lea ecx, [esp + 0x18]
call fcn.00484c70
push esi
push ebp
lea ecx, [esp + 0x18]
call fcn.00484c70
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00484c70
push 2
push 2
lea ecx, [esp + 0x18]
call fcn.00484c70
mov eax, ebp
push 0
neg eax
push eax
lea ecx, [esp + 0x18]
call fcn.00484d10
mov ecx, edi
neg ecx
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00484d10
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.00484d10
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00484d10
push 6
push 0
lea ecx, [esp + 0x18]
call fcn.00484c70
cmp dword [esp + 0x10], ebx
jge 0x493bbb
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493bbb
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.00484bc0
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.00484a90
test eax, eax
je 0x493bff
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.00484a90
test eax, eax
je 0x493c1f
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.00484a90
test eax, eax
je 0x493c44
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.00484a90
test eax, eax
je 0x493c69
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.00484c70
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.00484c70
push 5
push 0x10
lea ecx, [esp + 0x18]
call fcn.00484c70
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
push 0x10
neg eax
push eax
lea ecx, [esp + 0x18]
call fcn.00484c70
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
push 0x10
neg eax
push eax
lea ecx, [esp + 0x18]
call fcn.00484c70
cmp dword [esp + 0x10], esi
jge 0x493cf0
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.00484a90
test eax, eax
je 0x493cf0
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.00484bc0
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.00484a90
test eax, eax
je 0x493d36
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.00484bc0
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 4
call fcn.00484b60
mov edi, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x1c]
push esi
mov ecx, edi
call fcn.00491e50
mov ecx, dword [edi + 0x46c]
test ecx, ecx
je 0x493da3
push 0
call fcn.00486fb0
test eax, eax
je 0x493da3
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.00486fb0
push eax
call fcn.00415540
add esp, 0x10
test esi, esi
je 0x493db0
push esi
call fcn.00439d00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe18
ret 0xc