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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, ecx
mov byte [esp + 3], 0
push ebx
push esi
push edi
mov edi, dword [eax + 8]
xor ecx, ecx
mov ebx, edx
mov dword [esp + 0x4c], ecx
xor edx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], ecx
jg 0x4eb9dc
push edx
push edx
push edx
mov edx, 0x11
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4eb9ff
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebx + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
movlpd qword [esp + 0x58], xmm0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebp + 0x14]
lea eax, [eax + eax*2]
mov ebx, dword [ebx + 0x40]
shl eax, 4
add eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], eax
cmp esi, eax
jae 0x4ebc0b
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
nop dword [eax]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x28]
mov ebx, dword [esi]
mov eax, dword [eax]
or eax, dword [edi + 4]
mov edi, dword [esp + 0x1c]
jne 0x4ebaca
test byte [esi + 0xa], 2
jne 0x4ebaca
test byte [ebx + 4], 1
jne 0x4ebaca
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x64]
mov edx, ebx
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], fcn.004b3500
mov dword [esp + 0x6c], 0x4b33c0
mov dword [esp + 0x7c], eax
call fcn.004ae8d0
cmp byte [esp + 0x78], 0
je 0x4ebac3
mov edx, ebx
mov ebx, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [ebx]
call fcn.004b2380
mov edx, dword [esp + 0x38]
mov ecx, ebx
push eax
call fcn.004b1da0
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4ebbf4
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4ebbf0
test byte [edx + 0x24], 8
je 0x4ebaf9
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4ebaf9
test cl, cl
js 0x4ebbf0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4ebbf0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4ebbf0
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.004b1270
test eax, eax
je 0x4ebbed
mov edx, dword [esi + 0x1c]
xor ebx, ebx
cmp edx, 0x40
jl 0x4ebb47
mov dword [esp + 0x34], accept
jmp 0x4ebb60
mov eax, edx
xor ecx, ecx
bts ebx, eax
cmp eax, 0x20
cmovae ecx, ebx
xor ebx, ecx
cmp eax, 0x40
cmovae ecx, ebx
mov dword [esp + 0x34], ecx
cmp byte [esp + 0xf], 0
jne 0x4ebb8c
mov ecx, dword [esp + 0x38]
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.004805c0
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x34]
mov ecx, ebx
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x4ebbed
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.004ec7a0
add esp, 4
test eax, eax
jne 0x4ec3dc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
or dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
or ebx, dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
jmp 0x4ebbf8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x48]
jb 0x4eba50
mov esi, dword [esp + 0x24]
jmp 0x4ebc13
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
movzx eax, cx
not ebx
mov ecx, dword [esp + 0x28]
or ebx, 0x80000000
not esi
mov word [ecx + 0x28], ax
mov word [ecx + 0x18], ax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x24], 0x4241
mov ecx, dword [edx + 0x38]
and esi, ecx
and ebx, dword [edx + 0x3c]
mov dword [esp + 0x24], esi
mov esi, 0x3f
mov dword [esp + 0x14], ebx
movzx ebx, word [eax + 0x2a]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
movzx eax, bx
cmp si, bx
jge 0x4ebc66
mov dword [esp + 0x34], esi
jmp 0x4ebc74
movsx esi, bx
mov dword [esp + 0x34], esi
xor esi, esi
cmp si, ax
jge 0x4ebcb9
mov edi, dword [esp + 0x34]
xor esi, esi
mov ebx, dword [esp + 0x14]
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 + 0x24]
and ecx, ebx
or edx, ecx
je 0x4ebca5
inc dword [esp + 0x10]
inc esi
cmp esi, edi
jl 0x4ebc80
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jg 0x4ebcd5
jl 0x4ebcc5
test ecx, ecx
jae 0x4ebcd5
mov ecx, dword [esp + 0x10]
movsx eax, bx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x58]
mov ebx, dword [esp + 0x18]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [ebx]
call fcn.004c1b50
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ec3e0
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov esi, dword [esp + 0x50]
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x38]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov esi, dword [esi + 0x14]
cmp esi, dword [esp + 0x48]
jae 0x4ebe6e
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x20]
mov edx, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4ebe5d
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4ebe5d
test byte [edx + 0x24], 8
je 0x4ebd73
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4ebd73
test cl, cl
js 0x4ebe5d
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4ebe5d
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4ebe5d
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.004b1270
test eax, eax
je 0x4ebe5a
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dword [esp + 0x58], eax
cmp eax, 0x40
jl 0x4ebdc6
mov eax, accept
mov dword [esp + 0x40], eax
jmp 0x4ebddf
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
mov dword [esp + 0x40], ecx
mov eax, ecx
and eax, dword [esp + 0x44]
mov ecx, edx
and ecx, dword [esp + 0x3c]
or ecx, eax
jne 0x4ebe5a
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x40]
mov ecx, dword [esi]
or dword [esp + 0x3c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 4]
mov word [eax + ebx*2], dx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x58], eax
test dword [edx + 4], 0x100
jne 0x4ebe3f
test eax, eax
je 0x4ebe2e
test dword [eax + 4], 0x100
je 0x4ebe2e
mov edx, eax
jmp 0x4ebe3f
mov ecx, dword [esp + 0x18]
call fcn.004b10b0
test eax, eax
jne 0x4ebe51
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
call fcn.004b10b0
mov ecx, str.BINARY
test eax, eax
je 0x4ebe53
mov ecx, dword [eax]
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov edx, dword [ebp + 8]
add esi, 0x30
cmp esi, dword [esp + 0x48]
jb 0x4ebd44
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x4ebec0
mov edi, dword [esp + 0x20]
nop word [eax + 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 + 0x24]
and ecx, dword [esp + 0x14]
or edx, ecx
je 0x4ebeb5
mov eax, dword [edi + 4]
mov word [eax + ebx*2], si
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], str.BINARY
inc ebx
inc esi
cmp esi, dword [esp + 0x34]
jl 0x4ebe80
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x4ebf03
jl 0x4ebed1
cmp dword [eax + 0x38], 0
jae 0x4ebf03
mov esi, dword [esp + 0x38]
mov eax, 0x3f
mov edx, dword [esp + 0x20]
cmp ax, word [esi + 0x2a]
jge 0x4ebf07
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], str.BINARY
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4ebee6
jmp 0x4ebf07
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [ebp + 0x14]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc edx
mov dword [eax + ebx*4], str.BINARY
mov eax, dword [ecx + 0x28]
mov dword [esi + 8], eax
inc dword [ecx + 0x28]
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 8]
cmp dword [edi + 0x70], ecx
jg 0x4ebf50
push 0
push edx
push esi
mov edx, 0x70
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4ebf7f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x70
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 + 0x20]
mov esi, dword [eax + 8]
call fcn.004c3ee0
mov edx, eax
test edx, edx
je 0x4ebfc1
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4ebfaf
push edx
mov edx, 0xfffffff7
call fcn.0049d830
add esp, 4
jmp 0x4ebfc1
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 [ebp + 0x14]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [esp + 0x48], esi
je 0x4ec0d3
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
cmp dword [edi + 0x70], ecx
jg 0x4ec018
push 0
push 0
push 0
mov edx, 0x46
mov ecx, edi
call fcn.0049cca0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4ec04b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x4ec06f
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.0049cca0
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x4ec09e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
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 + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4ec0be
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
mov esi, eax
jmp 0x4ec129
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x4ec109
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x4ec0f6
push 0
push 0
push edx
mov edx, 0x24
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
mov esi, eax
jmp 0x4ec129
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x24
mov edi, dword [esp + 0x1c]
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 + 0x30]
test ecx, ecx
je 0x4ec157
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 + 0x3c], edx
call fcn.004b7920
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4ec16a
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4ec179
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.004c5e40
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x4ec1c7
mov edx, dword [esp + 0x38]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x84
call fcn.0049cca0
add esp, 0xc
jmp 0x4ec1fa
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x4ec214
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [esp + 0x30], 0
je 0x4ec248
mov edx, dword [edi + 0xc]
not dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x4ec23e
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.0049d2f0
add esp, 4
jmp 0x4ec248
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x48]
test byte [eax + 0x30], 0x10
je 0x4ec2fb
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jns 0x4ec262
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4ec271
mov ecx, 0x648de8
jmp 0x4ec27a
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [ebx + 0x28]
push dword [eax + 4]
call fcn.004eb8e0
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x4ec2c6
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x4ec34f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [ebx + 0x30], 0xffffffef
jmp 0x4ec34f
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x4ec321
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4ec34f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
lea edx, [esi + 1]
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 edx, dword [edi + 0x6c]
test edx, edx
jle 0x4ec369
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi + 0x6c]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4ec378
mov eax, 0x648de8
jmp 0x4ec389
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [eax + 8], edx
test ecx, ecx
je 0x4ec3ac
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4ec3ac
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4ec3c1
mov eax, 0x648de8
mov dword [eax + 8], edx
jmp 0x4ec3e0
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4ec3e0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ec3f1
mov ecx, dword [ebx]
mov edx, eax
call fcn.004b20e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret