Function at 0x4eac40
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 0x4eac9c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, edi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4eacbf
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 0x4eaecb
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 0x4ead8a
test byte [esi + 0xa], 2
jne 0x4ead8a
test byte [ebx + 4], 1
jne 0x4ead8a
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x64]
mov edx, ebx
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], fcn.004b27a0
mov dword [esp + 0x6c], 0x4b2660
mov dword [esp + 0x7c], eax
call fcn.004adb70
cmp byte [esp + 0x78], 0
je 0x4ead83
mov edx, ebx
mov ebx, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [ebx]
call fcn.004b1620
mov edx, dword [esp + 0x38]
mov ecx, ebx
push eax
call fcn.004b1040
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 0x4eaeb4
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4eaeb0
test byte [edx + 0x24], 8
je 0x4eadb9
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4eadb9
test cl, cl
js 0x4eaeb0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4eaeb0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4eaeb0
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.004b0510
test eax, eax
je 0x4eaead
mov edx, dword [esi + 0x1c]
xor ebx, ebx
cmp edx, 0x40
jl 0x4eae07
mov dword [esp + 0x34], accept
jmp 0x4eae20
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 0x4eae4c
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.0047f850
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 0x4eaead
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.004eba60
add esp, 4
test eax, eax
jne 0x4eb69c
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 0x4eaeb8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x48]
jb 0x4ead10
mov esi, dword [esp + 0x24]
jmp 0x4eaed3
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 0x4eaf26
mov dword [esp + 0x34], esi
jmp 0x4eaf34
movsx esi, bx
mov dword [esp + 0x34], esi
xor esi, esi
cmp si, ax
jge 0x4eaf79
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 0x4eaf65
inc dword [esp + 0x10]
inc esi
cmp esi, edi
jl 0x4eaf40
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 0x4eaf95
jl 0x4eaf85
test ecx, ecx
jae 0x4eaf95
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.004c0e00
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4eb6a0
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 0x4eb12e
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 0x4eb11d
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4eb11d
test byte [edx + 0x24], 8
je 0x4eb033
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4eb033
test cl, cl
js 0x4eb11d
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4eb11d
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4eb11d
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.004b0510
test eax, eax
je 0x4eb11a
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dword [esp + 0x58], eax
cmp eax, 0x40
jl 0x4eb086
mov eax, accept
mov dword [esp + 0x40], eax
jmp 0x4eb09f
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 0x4eb11a
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 0x4eb0ff
test eax, eax
je 0x4eb0ee
test dword [eax + 4], 0x100
je 0x4eb0ee
mov edx, eax
jmp 0x4eb0ff
mov ecx, dword [esp + 0x18]
call fcn.004b0350
test eax, eax
jne 0x4eb111
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
call fcn.004b0350
mov ecx, str.BINARY
test eax, eax
je 0x4eb113
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 0x4eb004
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x4eb180
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 0x4eb175
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 0x4eb140
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x4eb1c3
jl 0x4eb191
cmp dword [eax + 0x38], 0
jae 0x4eb1c3
mov esi, dword [esp + 0x38]
mov eax, 0x3f
mov edx, dword [esp + 0x20]
cmp ax, word [esi + 0x2a]
jge 0x4eb1c7
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 0x4eb1a6
jmp 0x4eb1c7
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 0x4eb210
push 0
push edx
push esi
mov edx, 0x70
mov ecx, edi
call fcn.0049bf40
add esp, 0xc
jmp 0x4eb23f
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.004c3190
mov edx, eax
test edx, edx
je 0x4eb281
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4eb26f
push edx
mov edx, 0xfffffff7
call fcn.0049cad0
add esp, 4
jmp 0x4eb281
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 0x4eb393
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 0x4eb2d8
push 0
push 0
push 0
mov edx, 0x46
mov ecx, edi
call fcn.0049bf40
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4eb30b
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 0x4eb32f
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.0049bf40
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x4eb35e
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 0x4eb37e
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.0049bf40
add esp, 0xc
mov esi, eax
jmp 0x4eb3e9
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 0x4eb3c9
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x4eb3b6
push 0
push 0
push edx
mov edx, 0x24
mov ecx, edi
call fcn.0049bf40
add esp, 0xc
mov esi, eax
jmp 0x4eb3e9
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 0x4eb417
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.004b6bc0
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 0x4eb42a
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4eb439
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.004c50f0
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 0x4eb487
mov edx, dword [esp + 0x38]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x84
call fcn.0049bf40
add esp, 0xc
jmp 0x4eb4ba
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 0x4eb4d4
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 0x4eb508
mov edx, dword [edi + 0xc]
not dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x4eb4fe
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.0049c590
add esp, 4
jmp 0x4eb508
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 0x4eb5bb
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jns 0x4eb522
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4eb531
mov ecx, 0x647cc8
jmp 0x4eb53a
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.004eaba0
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x4eb586
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049bf40
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x4eb60f
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 0x4eb60f
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 0x4eb5e1
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.0049bf40
add esp, 0xc
jmp 0x4eb60f
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 0x4eb629
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 0x4eb638
mov eax, 0x647cc8
jmp 0x4eb649
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 0x4eb66c
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4eb66c
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 0x4eb681
mov eax, 0x647cc8
mov dword [eax + 8], edx
jmp 0x4eb6a0
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 0x4eb6a0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4eb6b1
mov ecx, dword [ebx]
mov edx, eax
call fcn.004b1380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret