Function at 0x4f7440
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 0x4f74c4
push 0
push 0
push 0
mov edx, 0x11
mov ecx, ebx
call fcn.004a2040
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4f74f7
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 0x4f7729
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 0x4f75c6
test byte [esi + 0xa], 2
jne 0x4f75c6
test byte [edi + 4], 1
jne 0x4f75c6
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x70]
mov edx, edi
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], fcn.004ba1f0
mov dword [esp + 0x78], 0x4ba0c0
mov dword [esp + 0x88], eax
call fcn.004b5340
cmp byte [esp + 0x84], 0
je 0x4f75be
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.004b8ed0
mov edx, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004b89c0
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 0x4f7712
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f770e
test byte [edx + 0x24], 8
je 0x4f75f5
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f75f5
test cl, cl
js 0x4f770e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f770e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f770e
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.004b7ea0
cmp al, 0x42
jl 0x4f764f
jne 0x4f763d
xor eax, eax
cmp byte [esp + 0x23], 0x42
sete al
jmp 0x4f7647
xor eax, eax
cmp byte [esp + 0x23], 0x43
setge al
test eax, eax
je 0x4f770a
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x4f7663
mov dword [esp + 0x3c], closesocket
jmp 0x4f767c
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 0x4f76a8
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.00482df0
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 0x4f770a
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.004f8470
add esp, 4
test eax, eax
jne 0x4f7f2b
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 0x4f7716
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x4c]
jb 0x4f7542
mov esi, dword [esp + 0x40]
jmp 0x4f7731
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 0x4f7786
mov dword [esp + 0x3c], edx
jmp 0x4f7791
movsx edx, di
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x4f77da
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 0x4f77c5
inc dword [esp + 0x14]
inc esi
cmp esi, ebx
jl 0x4f77a0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
test eax, eax
jg 0x4f77f4
jl 0x4f77e4
test ecx, ecx
jae 0x4f77f4
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.004ca360
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x4f7f2f
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 0x4f79c3
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 0x4f79ae
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f79ae
test byte [edx + 0x24], 8
je 0x4f789f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f789f
test cl, cl
js 0x4f79ae
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f79ae
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f79ae
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.004b7ea0
cmp al, 0x42
jl 0x4f78f9
jne 0x4f78e7
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4f78f1
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4f79aa
mov ecx, dword [esi + 0x1c]
xor esi, esi
cmp ecx, 0x40
jl 0x4f790a
mov eax, closesocket
jmp 0x4f791d
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 0x4f79a6
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 0x4f7989
test eax, eax
je 0x4f7978
test dword [eax + 4], 0x100
je 0x4f7978
mov edx, eax
jmp 0x4f7989
mov ecx, dword [esp + 0x18]
call fcn.004b7cd0
test eax, eax
jne 0x4f799b
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.004b7cd0
mov ecx, 0x6cd1b8
test eax, eax
je 0x4f799d
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], ecx
inc edi
jmp 0x4f79aa
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add esi, 0x30
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x4c]
jb 0x4f7870
mov ebx, dword [esp + 0x34]
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x4f7a10
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 0x4f7a05
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x6cd1b8
inc edi
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4f79d0
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x3c], 0
jg 0x4f7a54
jl 0x4f7a22
cmp dword [eax + 0x38], 0
jae 0x4f7a54
mov esi, dword [esp + 0x60]
mov eax, 0x3f
mov edx, dword [esp + 0x38]
cmp ax, word [esi + 0x2a]
jge 0x4f7a58
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], 0x6cd1b8
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4f7a37
jmp 0x4f7a58
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], 0x6cd1b8
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 0x4f7aa2
push 0
push edx
push esi
mov edx, 0x6f
mov ecx, ebx
call fcn.004a2040
add esp, 0xc
jmp 0x4f7ad1
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.004cc930
mov edx, eax
test edx, edx
je 0x4f7b13
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4f7b01
push edx
mov edx, 0xfffffff7
call fcn.004a2d50
add esp, 4
jmp 0x4f7b13
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 0x4f7c29
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 0x4f7b6e
push 0
push 0
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.004a2040
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x4f7ba1
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 0x4f7bc5
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.004a2040
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4f7bf4
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 0x4f7c14
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.004a2040
add esp, 0xc
mov esi, eax
jmp 0x4f7c7f
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 0x4f7c5f
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x4f7c4c
push 0
push 0
push edx
mov edx, 0x24
mov ecx, ebx
call fcn.004a2040
add esp, 0xc
mov esi, eax
jmp 0x4f7c7f
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 0x4f7cad
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.004bf1d0
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 0x4f7cc0
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4f7ccf
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.004ceab0
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 0x4f7d1f
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x84
call fcn.004a2040
add esp, 0xc
jmp 0x4f7d52
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 0x4f7d69
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 0x4f7d97
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f7d8e
push edx
mov edx, ebx
call fcn.004a2820
add esp, 4
jmp 0x4f7d97
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 0x4f7e4b
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x4f7db1
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f7dc0
mov ecx, 0x71d19c
jmp 0x4f7dc9
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.004f7330
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x4f7e16
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004a2040
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
jmp 0x4f7ea0
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 0x4f7ea0
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 0x4f7e72
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.004a2040
add esp, 0xc
jmp 0x4f7ea0
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 0x4f7eb7
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 0x4f7ec1
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f7ed0
mov eax, 0x71d19c
jmp 0x4f7ed9
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 0x4f7efc
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4f7efc
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 0x4f7f0a
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f7f1c
mov eax, 0x71d19c
mov dword [eax + 8], edx
jmp 0x4f7f2f
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4f7f2f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f7f40
mov ecx, dword [esi]
mov edx, eax
call fcn.004b8c80
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret