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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x705034]
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 0x4f04f4
push 0
push 0
push 0
mov edx, 0x11
mov ecx, ebx
call fcn.0049b0a0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4f0527
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 0x4f0759
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 0x4f05f6
test byte [esi + 0xa], 2
jne 0x4f05f6
test byte [edi + 4], 1
jne 0x4f05f6
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x70]
mov edx, edi
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], fcn.004b3220
mov dword [esp + 0x78], 0x4b30f0
mov dword [esp + 0x88], eax
call fcn.004ae3a0
cmp byte [esp + 0x84], 0
je 0x4f05ee
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.004b1f30
mov edx, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004b1a20
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 0x4f0742
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f073e
test byte [edx + 0x24], 8
je 0x4f0625
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f0625
test cl, cl
js 0x4f073e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f073e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f073e
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.004b0f00
cmp al, 0x42
jl 0x4f067f
jne 0x4f066d
xor eax, eax
cmp byte [esp + 0x23], 0x42
sete al
jmp 0x4f0677
xor eax, eax
cmp byte [esp + 0x23], 0x43
setge al
test eax, eax
je 0x4f073a
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x4f0693
mov dword [esp + 0x3c], closesocket
jmp 0x4f06ac
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 0x4f06d8
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.0047be80
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 0x4f073a
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.004f14a0
add esp, 4
test eax, eax
jne 0x4f0f5b
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 0x4f0746
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x4c]
jb 0x4f0572
mov esi, dword [esp + 0x40]
jmp 0x4f0761
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 0x4f07b6
mov dword [esp + 0x3c], edx
jmp 0x4f07c1
movsx edx, di
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x4f080a
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 0x4f07f5
inc dword [esp + 0x14]
inc esi
cmp esi, ebx
jl 0x4f07d0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
test eax, eax
jg 0x4f0824
jl 0x4f0814
test ecx, ecx
jae 0x4f0824
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.004c3390
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x4f0f5f
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 0x4f09f3
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 0x4f09de
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4f09de
test byte [edx + 0x24], 8
je 0x4f08cf
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4f08cf
test cl, cl
js 0x4f09de
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4f09de
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4f09de
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.004b0f00
cmp al, 0x42
jl 0x4f0929
jne 0x4f0917
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4f0921
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4f09da
mov ecx, dword [esi + 0x1c]
xor esi, esi
cmp ecx, 0x40
jl 0x4f093a
mov eax, closesocket
jmp 0x4f094d
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 0x4f09d6
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 0x4f09b9
test eax, eax
je 0x4f09a8
test dword [eax + 4], 0x100
je 0x4f09a8
mov edx, eax
jmp 0x4f09b9
mov ecx, dword [esp + 0x18]
call fcn.004b0d30
test eax, eax
jne 0x4f09cb
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.004b0d30
mov ecx, 0x6c7a8c
test eax, eax
je 0x4f09cd
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], ecx
inc edi
jmp 0x4f09da
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add esi, 0x30
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x4c]
jb 0x4f08a0
mov ebx, dword [esp + 0x34]
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x4f0a40
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 0x4f0a35
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x6c7a8c
inc edi
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4f0a00
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x3c], 0
jg 0x4f0a84
jl 0x4f0a52
cmp dword [eax + 0x38], 0
jae 0x4f0a84
mov esi, dword [esp + 0x60]
mov eax, 0x3f
mov edx, dword [esp + 0x38]
cmp ax, word [esi + 0x2a]
jge 0x4f0a88
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], 0x6c7a8c
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4f0a67
jmp 0x4f0a88
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], 0x6c7a8c
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 0x4f0ad2
push 0
push edx
push esi
mov edx, 0x6f
mov ecx, ebx
call fcn.0049b0a0
add esp, 0xc
jmp 0x4f0b01
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.004c5960
mov edx, eax
test edx, edx
je 0x4f0b43
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4f0b31
push edx
mov edx, 0xfffffff7
call fcn.0049bdb0
add esp, 4
jmp 0x4f0b43
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 0x4f0c59
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 0x4f0b9e
push 0
push 0
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.0049b0a0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x4f0bd1
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 0x4f0bf5
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.0049b0a0
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4f0c24
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 0x4f0c44
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.0049b0a0
add esp, 0xc
mov esi, eax
jmp 0x4f0caf
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 0x4f0c8f
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x4f0c7c
push 0
push 0
push edx
mov edx, 0x24
mov ecx, ebx
call fcn.0049b0a0
add esp, 0xc
mov esi, eax
jmp 0x4f0caf
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 0x4f0cdd
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.004b8200
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 0x4f0cf0
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4f0cff
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.004c7ae0
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 0x4f0d4f
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x84
call fcn.0049b0a0
add esp, 0xc
jmp 0x4f0d82
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 0x4f0d99
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 0x4f0dc7
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f0dbe
push edx
mov edx, ebx
call fcn.0049b880
add esp, 4
jmp 0x4f0dc7
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 0x4f0e7b
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x4f0de1
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f0df0
mov ecx, 0x717f0c
jmp 0x4f0df9
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.004f0360
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x4f0e46
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0049b0a0
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
jmp 0x4f0ed0
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 0x4f0ed0
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 0x4f0ea2
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.0049b0a0
add esp, 0xc
jmp 0x4f0ed0
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 0x4f0ee7
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 0x4f0ef1
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f0f00
mov eax, 0x717f0c
jmp 0x4f0f09
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 0x4f0f2c
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4f0f2c
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 0x4f0f3a
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4f0f4c
mov eax, 0x717f0c
mov dword [eax + 8], edx
jmp 0x4f0f5f
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4f0f5f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f0f70
mov ecx, dword [esi]
mov edx, eax
call fcn.004b1ce0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret