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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, ecx
mov byte [esp + 7], 0
push ebx
xor ecx, ecx
mov dword [esp + 0x10], eax
push esi
mov ebx, dword [eax + 8]
mov esi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], ecx
push edi
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], ecx
cmp dword [ebx + 0x70], ecx
jg 0x4f7264
push 0
push 0
push 0
mov edx, 0x11
mov ecx, ebx
call fcn.004a1e00
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4f7297
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x11
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 [edx + 0x10]
xor ecx, ecx
mov esi, dword [esi + 0x14]
xorps xmm0, xmm0
mov edi, dword [edi + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], edi
movlpd qword [esp + 0x28], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x4c], eax
cmp esi, eax
jae 0x4f74c9
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x44]
mov edi, dword [esi]
mov eax, dword [eax]
or eax, dword [ebx + 4]
mov ebx, dword [esp + 0x34]
jne 0x4f7366
test byte [esi + 0xa], 2
jne 0x4f7366
test byte [edi + 4], 1
jne 0x4f7366
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x70]
mov edx, edi
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], fcn.004b9f80
mov dword [esp + 0x78], 0x4b9e50
mov dword [esp + 0x88], eax
call fcn.004b5100
cmp byte [esp + 0x84], 0
je 0x4f735e
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.004b8c90
mov edx, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004b8780
add esp, 0xc
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4f74b2
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f74ae
test byte [edx + 0x24], 8
je 0x4f7395
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f7395
test cl, cl
js 0x4f74ae
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f74ae
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f74ae
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0x23], al
call fcn.004b7c60
cmp al, 0x42
jl 0x4f73ef
jne 0x4f73dd
xor eax, eax
cmp byte [esp + 0x23], 0x42
sete al
jmp 0x4f73e7
xor eax, eax
cmp byte [esp + 0x23], 0x43
setge al
test eax, eax
je 0x4f74aa
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x4f7403
mov dword [esp + 0x3c], closesocket
jmp 0x4f741c
mov eax, edx
xor ecx, ecx
bts edi, eax
cmp eax, 0x20
cmovae ecx, edi
xor edi, ecx
cmp eax, 0x40
cmovae ecx, edi
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x13], 0
jne 0x4f7448
mov ecx, dword [esp + 0x60]
add edx, edx
mov eax, dword [ecx + 4]
push dword [eax + edx*8]
push dword [ecx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00482bd0
add esp, 0x10
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x3c]
mov ecx, edi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x4f74aa
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.004f8210
add esp, 4
test eax, eax
jne 0x4f7ccb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
or edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
jmp 0x4f74b6
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x4c]
jb 0x4f72e2
mov esi, dword [esp + 0x40]
jmp 0x4f74d1
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
not edi
or edi, 0x80000000
not esi
mov word [eax + 0x28], cx
mov word [eax + 0x18], cx
mov dword [eax + 0x24], 0x4241
mov ecx, dword [edx + 0x38]
and esi, ecx
mov eax, dword [edx + 0x3c]
and edi, eax
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], esi
xor esi, esi
mov dword [esp + 0x58], ecx
movzx edi, word [edx + 0x2a]
mov edx, 0x3f
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edi
cmp dx, di
jge 0x4f7526
mov dword [esp + 0x3c], edx
jmp 0x4f7531
movsx edx, di
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x4f757a
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x40]
and ecx, edi
or edx, ecx
je 0x4f7565
inc dword [esp + 0x14]
inc esi
cmp esi, ebx
jl 0x4f7540
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
test eax, eax
jg 0x4f7594
jl 0x4f7584
test ecx, ecx
jae 0x4f7594
mov ecx, dword [esp + 0x14]
movsx eax, di
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x18]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [esi]
call fcn.004ca0f0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x4f7ccf
mov ecx, dword [esp + 0x44]
xor edi, edi
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x60]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x4c]
jae 0x4f7763
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4f774e
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f774e
test byte [edx + 0x24], 8
je 0x4f763f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f763f
test cl, cl
js 0x4f774e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f774e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f774e
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0x13], al
call fcn.004b7c60
cmp al, 0x42
jl 0x4f7699
jne 0x4f7687
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4f7691
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4f774a
mov ecx, dword [esi + 0x1c]
xor esi, esi
cmp ecx, 0x40
jl 0x4f76aa
mov eax, closesocket
jmp 0x4f76bd
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
cmovae eax, esi
xor esi, eax
cmp ecx, 0x40
cmovae eax, esi
mov ecx, esi
mov dword [esp + 0x28], eax
and ecx, dword [esp + 0x58]
and eax, dword [esp + 0x48]
or ecx, eax
jne 0x4f7746
mov edx, dword [esp + 0x5c]
or dword [esp + 0x58], esi
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
mov edx, dword [edx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x48], eax
mov ax, word [esi + 0x1c]
mov word [ecx + edi*2], ax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x28], eax
test dword [edx + 4], 0x100
jne 0x4f7729
test eax, eax
je 0x4f7718
test dword [eax + 4], 0x100
je 0x4f7718
mov edx, eax
jmp 0x4f7729
mov ecx, dword [esp + 0x18]
call fcn.004b7a90
test eax, eax
jne 0x4f773b
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.004b7a90
mov ecx, 0x6cd1c0
test eax, eax
je 0x4f773d
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], ecx
inc edi
jmp 0x4f774a
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add esi, 0x30
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x4c]
jb 0x4f7610
mov ebx, dword [esp + 0x34]
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x4f77b0
mov ebx, dword [esp + 0x38]
nop
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x40]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x4f77a5
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x6cd1c0
inc edi
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4f7770
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x3c], 0
jg 0x4f77f4
jl 0x4f77c2
cmp dword [eax + 0x38], 0
jae 0x4f77f4
mov esi, dword [esp + 0x60]
mov eax, 0x3f
mov edx, dword [esp + 0x38]
cmp ax, word [esi + 0x2a]
jge 0x4f77f8
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + edi*4], 0x6cd1c0
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4f77d7
jmp 0x4f77f8
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [esp + 0x50]
mov word [eax + edi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc edx
mov dword [eax + edi*4], 0x6cd1c0
mov eax, dword [ecx + 0x28]
mov dword [esi + 8], eax
inc dword [ecx + 0x28]
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esi + 8]
cmp dword [ebx + 0x70], ecx
jg 0x4f7842
push 0
push edx
push esi
mov edx, 0x6f
mov ecx, ebx
call fcn.004a1e00
add esp, 0xc
jmp 0x4f7871
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x6f
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x38]
mov esi, dword [eax + 8]
call fcn.004cc6c0
mov edx, eax
test edx, edx
je 0x4f78b3
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4f78a1
push edx
mov edx, 0xfffffff7
call fcn.004a2b10
add esp, 4
jmp 0x4f78b3
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esp + 0x50]
movzx eax, byte [edx + 0x34]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x30]
lea esi, [esi + 1]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + esi*8 + 0x28], 0x10
lea esi, [eax + esi*8]
mov dword [esp + 0x4c], esi
je 0x4f79c9
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x64], ecx
cmp dword [ebx + 0x70], ecx
jg 0x4f790e
push 0
push 0
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.004a1e00
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x4f7941
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x46
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 [ebx + 0x6c]
mov esi, dword [esi + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x4f7965
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.004a1e00
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4f7994
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x4f79b4
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.004a1e00
add esp, 0xc
mov esi, eax
jmp 0x4f7a1f
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x4f79ff
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x4f79ec
push 0
push 0
push edx
mov edx, 0x24
mov ecx, ebx
call fcn.004a1e00
add esp, 0xc
mov esi, eax
jmp 0x4f7a1f
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x24
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4f7a4d
mov eax, dword [esp + 0x18]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x78], edx
call fcn.004bef60
mov eax, dword [esp + 0x54]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4f7a60
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4f7a6f
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x64]
push dword [eax + 4]
call fcn.004ce840
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x70], ecx
jg 0x4f7abf
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x84
call fcn.004a1e00
add esp, 0xc
jmp 0x4f7af2
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4f7b09
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x54], 0
je 0x4f7b37
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f7b2e
push edx
mov edx, ebx
call fcn.004a25e0
add esp, 4
jmp 0x4f7b37
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x4c]
test byte [eax + 0x28], 0x10
je 0x4f7beb
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x4f7b51
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f7b60
mov ecx, 0x71d19c
jmp 0x4f7b69
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov edx, esi
add eax, edi
mov edi, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [edi + 0x20]
push dword [eax + 4]
call fcn.004f70d0
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x4f7bb6
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004a1e00
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
jmp 0x4f7c40
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [edi + 0x28], 0xffffffef
jmp 0x4f7c40
mov eax, dword [esp + 0x50]
lea edx, [esi + 1]
mov ecx, dword [ebx + 0x6c]
mov edi, dword [eax + 4]
cmp dword [ebx + 0x70], ecx
jg 0x4f7c12
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.004a1e00
add esp, 0xc
jmp 0x4f7c40
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4f7c57
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x4f7c61
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f7c70
mov eax, 0x71d19c
jmp 0x4f7c79
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
test ecx, ecx
je 0x4f7c9c
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4f7c9c
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x4f7caa
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f7cbc
mov eax, 0x71d19c
mov dword [eax + 8], edx
jmp 0x4f7ccf
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4f7ccf
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f7ce0
mov ecx, dword [esi]
mov edx, eax
call fcn.004b8a40
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret