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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x704034]
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 0x4eebb4
push 0
push 0
push 0
mov edx, 0x11
mov ecx, ebx
call fcn.00499760
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4eebe7
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 0x4eee19
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 0x4eecb6
test byte [esi + 0xa], 2
jne 0x4eecb6
test byte [edi + 4], 1
jne 0x4eecb6
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x70]
mov edx, edi
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], fcn.004b18f0
mov dword [esp + 0x78], 0x4b17c0
mov dword [esp + 0x88], eax
call fcn.004aca70
cmp byte [esp + 0x84], 0
je 0x4eecae
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.004b0600
mov edx, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004b00f0
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 0x4eee02
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4eedfe
test byte [edx + 0x24], 8
je 0x4eece5
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4eece5
test cl, cl
js 0x4eedfe
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4eedfe
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4eedfe
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.004af5d0
cmp al, 0x42
jl 0x4eed3f
jne 0x4eed2d
xor eax, eax
cmp byte [esp + 0x23], 0x42
sete al
jmp 0x4eed37
xor eax, eax
cmp byte [esp + 0x23], 0x43
setge al
test eax, eax
je 0x4eedfa
mov edx, dword [esi + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x4eed53
mov dword [esp + 0x3c], closesocket
jmp 0x4eed6c
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 0x4eed98
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.0047a540
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 0x4eedfa
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.004efb60
add esp, 4
test eax, eax
jne 0x4ef61b
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 0x4eee06
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x4c]
jb 0x4eec32
mov esi, dword [esp + 0x40]
jmp 0x4eee21
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 0x4eee76
mov dword [esp + 0x3c], edx
jmp 0x4eee81
movsx edx, di
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x4eeeca
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 0x4eeeb5
inc dword [esp + 0x14]
inc esi
cmp esi, ebx
jl 0x4eee90
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
test eax, eax
jg 0x4eeee4
jl 0x4eeed4
test ecx, ecx
jae 0x4eeee4
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.004c1a60
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x4ef61f
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 0x4ef0b3
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 0x4ef09e
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4ef09e
test byte [edx + 0x24], 8
je 0x4eef8f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4eef8f
test cl, cl
js 0x4ef09e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4ef09e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4ef09e
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.004af5d0
cmp al, 0x42
jl 0x4eefe9
jne 0x4eefd7
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4eefe1
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4ef09a
mov ecx, dword [esi + 0x1c]
xor esi, esi
cmp ecx, 0x40
jl 0x4eeffa
mov eax, closesocket
jmp 0x4ef00d
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 0x4ef096
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 0x4ef079
test eax, eax
je 0x4ef068
test dword [eax + 4], 0x100
je 0x4ef068
mov edx, eax
jmp 0x4ef079
mov ecx, dword [esp + 0x18]
call fcn.004af400
test eax, eax
jne 0x4ef08b
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.004af400
mov ecx, 0x6c6998
test eax, eax
je 0x4ef08d
mov ecx, dword [eax]
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], ecx
inc edi
jmp 0x4ef09a
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add esi, 0x30
mov dword [esp + 0x5c], esi
cmp esi, dword [esp + 0x4c]
jb 0x4eef60
mov ebx, dword [esp + 0x34]
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x4ef100
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 0x4ef0f5
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x6c6998
inc edi
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4ef0c0
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x3c], 0
jg 0x4ef144
jl 0x4ef112
cmp dword [eax + 0x38], 0
jae 0x4ef144
mov esi, dword [esp + 0x60]
mov eax, 0x3f
mov edx, dword [esp + 0x38]
cmp ax, word [esi + 0x2a]
jge 0x4ef148
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], 0x6c6998
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4ef127
jmp 0x4ef148
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], 0x6c6998
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 0x4ef192
push 0
push edx
push esi
mov edx, 0x6f
mov ecx, ebx
call fcn.00499760
add esp, 0xc
jmp 0x4ef1c1
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.004c4030
mov edx, eax
test edx, edx
je 0x4ef203
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4ef1f1
push edx
mov edx, 0xfffffff7
call fcn.0049a470
add esp, 4
jmp 0x4ef203
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 0x4ef319
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 0x4ef25e
push 0
push 0
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.00499760
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x4ef291
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 0x4ef2b5
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.00499760
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4ef2e4
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 0x4ef304
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.00499760
add esp, 0xc
mov esi, eax
jmp 0x4ef36f
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 0x4ef34f
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x4ef33c
push 0
push 0
push edx
mov edx, 0x24
mov ecx, ebx
call fcn.00499760
add esp, 0xc
mov esi, eax
jmp 0x4ef36f
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 0x4ef39d
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.004b68d0
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 0x4ef3b0
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4ef3bf
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.004c61b0
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 0x4ef40f
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x84
call fcn.00499760
add esp, 0xc
jmp 0x4ef442
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 0x4ef459
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 0x4ef487
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ef47e
push edx
mov edx, ebx
call fcn.00499f40
add esp, 4
jmp 0x4ef487
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 0x4ef53b
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x4ef4a1
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4ef4b0
mov ecx, 0x716eec
jmp 0x4ef4b9
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.004eea20
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x4ef506
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.00499760
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
jmp 0x4ef590
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 0x4ef590
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 0x4ef562
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.00499760
add esp, 0xc
jmp 0x4ef590
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 0x4ef5a7
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 0x4ef5b1
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4ef5c0
mov eax, 0x716eec
jmp 0x4ef5c9
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 0x4ef5ec
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4ef5ec
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 0x4ef5fa
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4ef60c
mov eax, 0x716eec
mov dword [eax + 8], edx
jmp 0x4ef61f
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4ef61f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4ef630
mov ecx, dword [esi]
mov edx, eax
call fcn.004b03b0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00620676
mov esp, ebp
pop ebp
ret