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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x706034]
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 0x4f0834
push 0
push 0
push 0
mov edx, 0x11
mov ecx, ebx
call fcn.0049b3e0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4f0867
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 0x4f0a99
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 0x4f0936
test byte [esi + 0xa], 2
jne 0x4f0936
test byte [edi + 4], 1
jne 0x4f0936
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x70]
mov edx, edi
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], fcn.004b3560
mov dword [esp + 0x78], 0x4b3430
mov dword [esp + 0x88], eax
call fcn.004ae6e0
cmp byte [esp + 0x84], 0
je 0x4f092e
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.004b2270
mov edx, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004b1d60
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 0x4f0a82
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f0a7e
test byte [edx + 0x24], 8
je 0x4f0965
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f0965
test cl, cl
js 0x4f0a7e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f0a7e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f0a7e
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.004b1240
cmp al, 0x42
jl 0x4f09bf
jne 0x4f09ad
xor eax, eax
cmp byte [esp + 0x23], 0x42
sete al
jmp 0x4f09b7
xor eax, eax
cmp byte [esp + 0x23], 0x43
setge al
test eax, eax
je 0x4f0a7a
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x4f09d3
mov dword [esp + 0x3c], closesocket
jmp 0x4f09ec
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 0x4f0a18
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.0047c1a0
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 0x4f0a7a
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.004f17e0
add esp, 4
test eax, eax
jne 0x4f129b
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 0x4f0a86
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x4c]
jb 0x4f08b2
mov esi, dword [esp + 0x40]
jmp 0x4f0aa1
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 0x4f0af6
mov dword [esp + 0x3c], edx
jmp 0x4f0b01
movsx edx, di
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x4f0b4a
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 0x4f0b35
inc dword [esp + 0x14]
inc esi
cmp esi, ebx
jl 0x4f0b10
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
test eax, eax
jg 0x4f0b64
jl 0x4f0b54
test ecx, ecx
jae 0x4f0b64
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.004c36e0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x4f129f
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 0x4f0d33
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 0x4f0d1e
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f0d1e
test byte [edx + 0x24], 8
je 0x4f0c0f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f0c0f
test cl, cl
js 0x4f0d1e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f0d1e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f0d1e
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.004b1240
cmp al, 0x42
jl 0x4f0c69
jne 0x4f0c57
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4f0c61
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4f0d1a
mov ecx, dword [esi + 0x1c]
xor esi, esi
cmp ecx, 0x40
jl 0x4f0c7a
mov eax, closesocket
jmp 0x4f0c8d
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 0x4f0d16
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 0x4f0cf9
test eax, eax
je 0x4f0ce8
test dword [eax + 4], 0x100
je 0x4f0ce8
mov edx, eax
jmp 0x4f0cf9
mov ecx, dword [esp + 0x18]
call fcn.004b1070
test eax, eax
jne 0x4f0d0b
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.004b1070
mov ecx, 0x6c8a8c
test eax, eax
je 0x4f0d0d
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], ecx
inc edi
jmp 0x4f0d1a
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add esi, 0x30
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x4c]
jb 0x4f0be0
mov ebx, dword [esp + 0x34]
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x4f0d80
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 0x4f0d75
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x6c8a8c
inc edi
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4f0d40
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x3c], 0
jg 0x4f0dc4
jl 0x4f0d92
cmp dword [eax + 0x38], 0
jae 0x4f0dc4
mov esi, dword [esp + 0x60]
mov eax, 0x3f
mov edx, dword [esp + 0x38]
cmp ax, word [esi + 0x2a]
jge 0x4f0dc8
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], 0x6c8a8c
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4f0da7
jmp 0x4f0dc8
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], 0x6c8a8c
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 0x4f0e12
push 0
push edx
push esi
mov edx, 0x6f
mov ecx, ebx
call fcn.0049b3e0
add esp, 0xc
jmp 0x4f0e41
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.004c5cb0
mov edx, eax
test edx, edx
je 0x4f0e83
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4f0e71
push edx
mov edx, 0xfffffff7
call fcn.0049c0f0
add esp, 4
jmp 0x4f0e83
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 0x4f0f99
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 0x4f0ede
push 0
push 0
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.0049b3e0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x4f0f11
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 0x4f0f35
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.0049b3e0
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4f0f64
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 0x4f0f84
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.0049b3e0
add esp, 0xc
mov esi, eax
jmp 0x4f0fef
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 0x4f0fcf
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x4f0fbc
push 0
push 0
push edx
mov edx, 0x24
mov ecx, ebx
call fcn.0049b3e0
add esp, 0xc
mov esi, eax
jmp 0x4f0fef
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 0x4f101d
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.004b8540
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 0x4f1030
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4f103f
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.004c7e30
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 0x4f108f
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x84
call fcn.0049b3e0
add esp, 0xc
jmp 0x4f10c2
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 0x4f10d9
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 0x4f1107
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f10fe
push edx
mov edx, ebx
call fcn.0049bbc0
add esp, 4
jmp 0x4f1107
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 0x4f11bb
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x4f1121
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f1130
mov ecx, 0x718f0c
jmp 0x4f1139
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.004f06a0
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x4f1186
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0049b3e0
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
jmp 0x4f1210
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 0x4f1210
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 0x4f11e2
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.0049b3e0
add esp, 0xc
jmp 0x4f1210
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 0x4f1227
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 0x4f1231
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f1240
mov eax, 0x718f0c
jmp 0x4f1249
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 0x4f126c
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4f126c
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 0x4f127a
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f128c
mov eax, 0x718f0c
mov dword [eax + 8], edx
jmp 0x4f129f
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4f129f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f12b0
mov ecx, dword [esi]
mov edx, eax
call fcn.004b2020
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret