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

Disassembly:
sub esp, 0x68
push ebp
mov ebp, dword [esp + 0x70]
xor ecx, ecx
push edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], ecx
mov edi, dword [ebp + 8]
mov byte [esp + 0xb], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edi
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x50], ecx
cmp dword [edi + 0x78], ecx
jg 0x4c665a
push 0
push 0
push 0
push 0x11
push edi
call fcn.004e2e80
add esp, 0x14
mov dword [esp + 0x50], eax
jmp 0x4c668d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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 edx, dword [esp + 0x7c]
xor ecx, ecx
push ebx
push esi
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], 3
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea ebx, [eax + eax*2]
mov eax, dword [esp + 0x90]
shl ebx, 4
add ebx, esi
mov dword [esp + 0x44], ebx
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, ebx
jae 0x4c68d1
test byte [esi + 0xa], 2
mov ebx, dword [esi]
jne 0x4c6764
test byte [edx + 0x24], 8
je 0x4c66f5
test byte [ebx + 4], 1
je 0x4c6764
mov eax, dword [esp + 0x54]
mov word [esp + 0x70], ax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x60], fcn.004cc820
mov dword [esp + 0x64], 0x528460
mov dword [esp + 0x74], eax
test ebx, ebx
je 0x4c6745
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.0054e280
add esp, 8
cmp word [esp + 0x70], 0
je 0x4c6759
test ebx, ebx
je 0x4c6745
push 0
push 0
push ebx
push dword [ebp]
call fcn.004cbd60
add esp, 0x10
jmp 0x4c6747
xor eax, eax
push eax
push dword [esp + 0x30]
push ebp
call fcn.00507a90
add esp, 0xc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x14]
cmp ecx, dword [edx + 0x2c]
jne 0x4c68c0
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4c68c0
test byte [edx + 0x24], 8
je 0x4c6793
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4c6793
test cl, cl
js 0x4c68bc
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [esp + 0x88]
and eax, dword [esp + 0x8c]
or ecx, eax
jne 0x4c68bc
mov ecx, dword [esi + 0x18]
test ecx, ecx
js 0x4c68bc
mov eax, dword [edx + 0x10]
add ecx, ecx
push dword [esi]
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*8 + 8]
call fcn.004c5e70
add esp, 4
cmp al, 0x42
jl 0x4c67f0
jne 0x4c67e0
xor eax, eax
cmp bl, 0x42
sete al
jmp 0x4c67e8
xor eax, eax
cmp bl, 0x43
setge al
test eax, eax
je 0x4c68b5
mov ebx, dword [esi + 0x18]
cmp ebx, 0x40
jl 0x4c6804
xor ebp, ebp
mov dword [esp + 0x40], getpeername
jmp 0x4c6818
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.004124b0
mov ebp, eax
mov dword [esp + 0x40], edx
cmp byte [esp + 0x13], 0
jne 0x4c6844
mov eax, dword [esp + 0x38]
add ebx, ebx
mov ecx, dword [eax + 4]
push dword [ecx + ebx*8]
push dword [eax]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.004b7420
add esp, 0x10
mov byte [esp + 0x13], 1
mov ebx, dword [esp + 0x40]
mov ecx, ebp
and ecx, dword [esp + 0x20]
mov eax, ebx
and eax, dword [esp + 0x18]
or ecx, eax
jne 0x4c68b1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
inc eax
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x80]
push edx
push dword [eax]
call fcn.005516d0
add esp, 0xc
test eax, eax
jne 0x4c7292
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x7c]
mov eax, dword [eax + 0x38]
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
or eax, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x4c68c4
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x44]
jb 0x4c66e1
mov ebx, dword [esp + 0x24]
not eax
or eax, 0x80000000
xor esi, esi
mov word [ebx + 0x30], cx
mov word [ebx + 0x18], cx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x2c], 0x4241
not ecx
mov ebx, dword [edx + 0x3c]
and eax, ebx
and ecx, dword [edx + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], ebx
movzx ecx, word [eax + 0x22]
mov eax, 0x3f
mov dword [esp + 0x40], ecx
cmp ax, cx
jge 0x4c6923
mov dword [esp + 0x34], eax
jmp 0x4c692e
movsx eax, cx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4c6972
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea ebx, [ebx]
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004124b0
and eax, dword [esp + 0x20]
and edx, ebx
or eax, edx
je 0x4c6959
inc ebp
inc esi
cmp esi, edi
jl 0x4c6940
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x7c]
and ebx, 0x80000000
xor eax, eax
or eax, ebx
je 0x4c6990
movsx eax, cx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x4c6994
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov ecx, dword [ebp]
movzx eax, ax
movsx ebx, ax
mov dword [esp + 0x3c], eax
lea edx, [ebx*4 + 7]
and edx, 0xfffffff8
lea eax, [ebx*4 + 9]
add eax, ebx
mov dword [esp + 0x4c], edx
and eax, 0xfffffff8
add edx, 0x48
add eax, edx
cdq
mov esi, eax
test ecx, ecx
je 0x4c69d7
push edx
push esi
push ecx
call fcn.00504e90
add esp, 0xc
jmp 0x4c6a3c
mov eax, esi
or eax, edx
je 0x4c6a3a
test edx, edx
ja 0x4c6a3a
jb 0x4c69eb
cmp esi, 0x7fffff00
jae 0x4c6a3a
cmp dword [0x77f9b8], 0
je 0x4c6a2e
mov eax, dword [0x784970]
test eax, eax
je 0x4c6a07
push eax
call dword [0x77fa08]
add esp, 4
lea eax, [esp + 0x40]
push eax
push esi
call fcn.004e8e00
mov eax, dword [0x784970]
add esp, 8
test eax, eax
je 0x4c6a28
push eax
call dword [0x77fa10]
add esp, 4
mov eax, dword [esp + 0x40]
jmp 0x4c6a3c
push esi
call dword [0x77f9d8]
add esp, 4
jmp 0x4c6a3c
xor eax, eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4c7296
push esi
mov esi, eax
push 0
push esi
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x48]
add esp, 0xc
mov dword [esi + 0x20], eax
add eax, dword [esp + 0x4c]
mov dword [esi + 8], eax
lea eax, [eax + ebx*2]
add eax, 2
mov dword [esi + 4], eax
lea eax, [eax + ebx*2]
xor ebx, ebx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov word [esi + 0x34], ax
dec eax
mov word [esi + 0x32], ax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [eax + 0x20], esi
mov eax, dword [esp + 0x38]
mov dword [esi], str.auto_index
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x80]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x44]
jae 0x4c6c2a
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x84]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4c6c15
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4c6c15
test byte [edx + 0x24], 8
je 0x4c6aef
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4c6aef
test cl, cl
js 0x4c6c15
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [esp + 0x88]
and eax, dword [esp + 0x8c]
or ecx, eax
jne 0x4c6c15
mov ecx, dword [esi + 0x18]
test ecx, ecx
js 0x4c6c15
mov eax, dword [edx + 0x10]
add ecx, ecx
push dword [esi]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 8]
mov byte [esp + 0x17], al
call fcn.004c5e70
add esp, 4
cmp al, 0x42
jl 0x4c6b54
jne 0x4c6b42
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4c6b4c
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4c6c0e
mov ecx, dword [esi + 0x18]
cmp ecx, 0x40
jl 0x4c6b69
mov ecx, closesocket
xor eax, eax
mov dword [esp + 0x4c], ecx
jmp 0x4c6b7b
mov eax, 1
xor edx, edx
call fcn.004124b0
mov ecx, edx
mov dword [esp + 0x4c], edx
and ecx, dword [esp + 0x40]
mov esi, eax
and esi, dword [esp + 0x3c]
or esi, ecx
mov esi, dword [esp + 0x30]
jne 0x4c6c0e
or dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x4c]
mov edx, dword [esi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], eax
mov ax, word [esi + 0x18]
mov word [ecx + ebx*2], ax
test dword [edx + 4], 0x200
je 0x4c6bbf
mov esi, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
jmp 0x4c6bc5
mov esi, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
test dword [eax + 4], 0x100
je 0x4c6bd1
push eax
jmp 0x4c6bed
test esi, esi
je 0x4c6bde
test dword [esi + 4], 0x100
jne 0x4c6bec
push eax
push ebp
call fcn.0050a660
add esp, 8
test eax, eax
jne 0x4c6bfa
push esi
push ebp
call fcn.0050a660
add esp, 8
test eax, eax
je 0x4c6bfe
mov ecx, dword [eax]
jmp 0x4c6c03
mov ecx, 0x5812f4
mov eax, dword [edi + 0x20]
mov esi, dword [esp + 0x30]
mov dword [eax + ebx*4], ecx
inc ebx
mov edx, dword [esp + 0x84]
add esi, 0x30
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x44]
jb 0x4c6ac0
mov edi, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x4c6c79
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
lea ebx, [ebx]
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004124b0
and eax, dword [esp + 0x20]
and edx, dword [esp + 0x18]
or eax, edx
je 0x4c6c6c
mov eax, dword [ebp + 4]
mov word [eax + ebx*2], si
mov eax, dword [ebp + 0x20]
mov dword [eax + ebx*4], 0x5812f4
inc ebx
inc esi
cmp esi, edi
jl 0x4c6c40
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x3c]
and ecx, 0x80000000
or eax, ecx
je 0x4c6cbf
mov esi, dword [esp + 0x38]
mov eax, 0x3f
cmp ax, word [esi + 0x22]
jge 0x4c6cbf
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x5812f4
inc ebx
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4c6ca4
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
inc edx
mov dword [eax + ebx*4], 0x5812f4
mov eax, dword [ebp + 0x28]
mov dword [ecx + 8], eax
inc dword [ebp + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4c6d04
push 0
push edx
push esi
push 0x73
push edi
call fcn.004e2e80
add esp, 0x14
jmp 0x4c6d33
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x73
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
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push ebp
call fcn.0051a0d0
mov edx, eax
add esp, 8
test edx, edx
je 0x4c6d71
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4c6d5f
push edx
push 0xfffffffffffffff7
push eax
call fcn.004cfc50
add esp, 0xc
jmp 0x4c6d71
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebp]
test dword [eax + 0x50], 0x80000
jne 0x4c6dda
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x90]
inc edx
mov dword [ebp + 0x2c], edx
mov dword [eax + 0x34], edx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4c6dab
push 0
push edx
push 0x2710
push 0x4c
push edi
call fcn.004e2e80
add esp, 0x14
jmp 0x4c6dda
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], 0x2710
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x90]
movzx eax, byte [edx + 0x38]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x80]
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 0x4c6efb
mov ecx, dword [edi + 0x74]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x48], ecx
cmp dword [edi + 0x78], ecx
jg 0x4c6e3d
push 0
push 0
push 0
push 0x47
push edi
call fcn.004e2e80
mov edx, dword [esp + 0x98]
add esp, 0x14
mov dword [esp + 0x48], eax
jmp 0x4c6e74
mov ebp, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
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 [edi + 0x74]
mov esi, dword [esi + 0x18]
cmp dword [edi + 0x78], ecx
jg 0x4c6e97
push esi
push 0
push edx
push 0xd
push edi
call fcn.004e2e80
mov edx, dword [esp + 0x98]
add esp, 0x14
jmp 0x4c6ec6
mov ebp, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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 [edi + 0x74]
cmp dword [edi + 0x78], esi
jg 0x4c6ee2
push 0
push 0
push edx
push 0xe
push edi
call fcn.004e2e80
add esp, 0x14
mov esi, eax
jmp 0x4c6f4d
mov ebp, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xe
jmp 0x4c6f31
mov esi, dword [edi + 0x74]
mov edx, dword [edx + 4]
cmp dword [edi + 0x78], esi
jg 0x4c6f1a
push 0
push 0
push edx
push 0x26
push edi
call fcn.004e2e80
add esp, 0x14
mov esi, eax
jmp 0x4c6f4d
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x26
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 eax, dword [esp + 0x2c]
test eax, eax
je 0x4c6f77
dec dword [ebp + 0x38]
mov ecx, dword [ebp + 0x38]
push 0x10
push ecx
push eax
push ebp
mov dword [esp + 0x60], ecx
call fcn.0050af40
mov eax, dword [esp + 0x34]
add esp, 0x10
or dword [eax + 0x2c], 0x20000
mov al, byte [ebp + 0x13]
test al, al
jne 0x4c6f86
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
jmp 0x4c6f95
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x98]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa4]
push dword [eax + 4]
push dword [esp + 0x34]
push ebp
call fcn.00516360
mov ecx, eax
add esp, 0x20
mov eax, dword [esp + 0x90]
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x44], eax
test eax, eax
je 0x4c7056
mov edx, dword [esp + 0x24]
movzx edx, word [edx + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4c7001
push ecx
push 0
push eax
push 0xb2
push edi
call fcn.004e2e80
add esp, 0x14
mov edx, eax
jmp 0x4c703b
mov ebp, dword [esp + 0x44]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0xb2
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4c7056
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x40]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [esp + 0x90]
mov ecx, dword [edi + 0x74]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x78], ecx
jg 0x4c7087
mov edx, dword [esp + 0x84]
push 0
push edx
push eax
push 0x89
push edi
call fcn.004e2e80
add esp, 0x14
jmp 0x4c70bd
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x4c70d4
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x2c], 0
je 0x4c7102
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c70f9
push edx
push edi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x4c7102
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x4c]
test byte [eax + 0x28], 0x10
je 0x4c71b4
mov ecx, dword [esp + 0x48]
test ecx, ecx
jns 0x4c711c
mov ecx, dword [edi + 0x74]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4c712b
mov ecx, 0x784c9c
jmp 0x4c7134
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x80]
add eax, ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x90]
push dword [eax + 8]
push dword [ebx + 0x20]
push dword [eax + 4]
push esi
push ebp
call fcn.00545be0
mov ecx, dword [edi + 0x74]
add esp, 0x14
cmp dword [edi + 0x78], ecx
jg 0x4c717f
push 0
push esi
push 0
push 0xb
push edi
call fcn.004e2e80
add esp, 0x14
and dword [ebx + 0x28], 0xffffffef
jmp 0x4c721f
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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 [ebx + 0x28], 0xffffffef
jmp 0x4c721f
mov eax, dword [esp + 0x90]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x74]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x78], ecx
jg 0x4c71da
push 0
push edx
push ebx
push 5
push edi
call fcn.004e2e80
add esp, 0x14
jmp 0x4c7209
mov ebp, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x4c721f
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi + 0x74]
test esi, esi
jns 0x4c7229
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4c7238
mov eax, 0x784c9c
jmp 0x4c7241
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], edx
test ecx, ecx
je 0x4c7263
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x4c7263
movzx eax, al
mov dword [ebp + eax*4 + 0x98], ecx
inc byte [ebp + 0x13]
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x74]
test ecx, ecx
jns 0x4c7271
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4c7283
mov eax, 0x784c9c
mov dword [eax + 8], edx
jmp 0x4c7296
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c7296
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
pop esi
pop ebx
test eax, eax
je 0x4c72ac
push eax
push dword [ebp]
call fcn.0050ac20
add esp, 8
pop edi
pop ebp
add esp, 0x68
ret