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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xf0]
mov eax, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], edx
mov ebx, dword [eax + 0x24]
mov word [esp + 0x3c], dx
mov dword [esp + 0x4c], eax
test ebx, ebx
jne 0x6ee5e0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x38], eax
and eax, 0x20
cmp eax, 1
sbb eax, eax
and eax, 0x1a7
add eax, 0x18
test word [edi + 0x38], 0x104
je 0x6edc1b
mov edx, eax
and edx, 0xffffffc3
test byte [edi + 0x38], 4
cmovne eax, edx
mov edx, eax
and dl, 0x7c
test byte [edi + 0x39], 1
cmovne eax, edx
movzx esi, word [ebx + 0x1a]
mov edx, dword [esp + 0x4c]
sub esp, 4
xor ebp, ebp
movzx edi, word [ebx + 0x30]
mov word [esp + 0x42], si
movzx esi, word [ebx + 0x1c]
mov edx, dword [edx]
mov word [esp + 0x32], di
mov word [esp + 0x6c], si
movzx esi, word [ebx + 0x32]
mov dword [esp + 0x64], edx
mov edi, dword [ebx + 4]
mov word [esp + 0x6e], si
movzx edx, word [ebx + 0x18]
mov esi, dword [ebx]
mov dword [esp + 0x48], edi
mov word [esp + 0x3a], dx
movzx edi, dx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], esi
movzx esi, word [ebx + 0x16]
mov ecx, dword [edx + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
mov word [esp + 0x30], si
mov esi, dword [esp + 0x14]
mov edx, dword [edx + 4]
push esi
push eax
push edi
lea eax, [esp + 0x80]
call fcn.006eda10
mov word [ebx + 0x12], bp
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
movsx edx, word [eax]
mov dword [esp + 0x58], edx
add esp, 0x10
mov word [esp + 0x34], cx
cmp dx, 0xa
jg 0x6ee510
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
mov ebp, ebx
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0
add eax, eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x6ee9c0
lea esi, [esi]
nop
mov esi, dword [esp + 0xc]
movzx eax, word [esi + 0xc]
mov word [esp + 0x14], ax
cmp ax, 0x100
je 0x6edd01
test byte [esi + 0xa], 0x80
je 0x6edd21
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 4]
movsx eax, word [eax + edi]
test eax, eax
jns 0x6ee090
cmp eax, 0xffffffff
je 0x6ee0a8
mov eax, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x20], edi
mov esi, edx
mov dword [esp + 0x1c], ecx
and ecx, edi
and esi, ebx
or ecx, esi
jne 0x6ee0a8
cmp word [esp + 0x14], 0x10
sete cl
and cl, byte [eax + 0xb]
mov esi, ecx
jne 0x6ee588
mov ecx, dword [esp + 0x24]
movzx esi, byte [ecx + 0x24]
test esi, 0x58
je 0x6edd90
mov edi, dword [eax]
mov eax, dword [edi + 4]
test al, 3
je 0x6ee0a8
mov ecx, dword [ecx + 0x2c]
cmp dword [edi + 0x24], ecx
jne 0x6ee0a8
and esi, 0x18
jne 0x6ee298
lea esi, [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
cmp byte [edi + 0x36], 0
movzx esi, byte [esi + 0x10]
je 0x6eddb3
movzx edi, word [edi + 0x32]
sub edi, 1
cmp dword [esp + 0x30], edi
je 0x6ee260
or esi, 1
mov ecx, esi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov byte [edi + 0x10], cl
movzx edi, word [esp + 0x36]
mov dword [ebp + 0x2c], esi
movzx esi, word [esp + 0x3e]
mov word [ebp + 0x18], di
movzx ecx, word [esp + 0x2e]
mov word [ebp + 0x1a], si
movzx edi, word [esp + 0x68]
movzx esi, word [ebp + 0x34]
mov word [ebp + 0x30], cx
mov word [ebp + 0x1c], di
cmp si, cx
ja 0x6ee0b8
movzx edi, cx
lea eax, [edi + 1]
movzx edi, cx
cmp eax, esi
jle 0x6ede35
mov ecx, eax
mov eax, dword [esp + 0x60]
mov edx, ebp
call fcn.006cf390
test eax, eax
jne 0x6ee9be
mov eax, dword [esp + 0xc]
movzx edi, word [ebp + 0x30]
mov ebx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [edi + 1]
mov esi, dword [ebp + 0x38]
mov eax, dword [esp + 0x1c]
not ebx
or eax, dword [esp + 0x44]
or edx, dword [esp + 0x40]
mov word [ebp + 0x30], cx
mov word [esp + 0x54], cx
mov ecx, dword [esp + 0xc]
and edx, ebx
mov dword [esi + edi*4], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp], edx
not ecx
and eax, ecx
mov dword [ebp + 4], eax
movzx eax, word [esp + 0x14]
and ax, 1
mov word [esp + 0x1c], ax
je 0x6ee0c8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx eax, byte [eax + 0x38]
mov edx, dword [ecx]
mov ecx, eax
mov byte [esp + 0x20], al
shr cl, 7
cmp word [esp + 0x34], 9
setg al
and ecx, eax
mov eax, dword [edx + 4]
mov byte [esp + 0x58], cl
and eax, 0x1000
jne 0x6ee590
mov edx, dword [edx + 0x14]
test edx, edx
je 0x6edec2
mov edx, dword [edx]
test edx, edx
jne 0x6ee5f0
cmp byte [esp + 0x58], 0
jne 0x6ee96a
xor eax, eax
mov edx, dword [ebp + 0x2c]
mov word [esp + 0x1c], ax
mov esi, edx
and edx, 2
or esi, 4
mov dword [ebp + 0x2c], esi
test edx, edx
jne 0x6ee150
mov edx, dword [esp + 0xc]
movzx eax, word [ebp + 0x18]
movzx edi, word [ebp + 0x16]
movzx edx, word [edx + 8]
add eax, 1
mov word [ebp + 0x18], ax
test dx, dx
jle 0x6ee1f0
mov ebx, dword [esp + 0x10]
movzx eax, ax
mov edx, dword [ebx + 8]
add di, word [edx + eax*2]
sub di, word [edx + eax*2 - 2]
test word [esp + 0x14], 0x100
je 0x6edf29
add edi, 0xa
mov word [ebp + 0x16], di
mov ebx, edi
movzx eax, byte [esp + 0x20]
lea edx, [edi + 0x10]
and eax, 3
cmp al, 3
je 0x6edf5f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
movsx ecx, word [eax + 0x30]
mov edx, dword [edx + 0x10]
mov eax, ecx
shl eax, 4
sub eax, ecx
movsx ecx, word [edx + 0x28]
cdq
idiv ecx
lea edx, [edi + eax + 1]
movsx eax, word [esp + 0x34]
movsx edx, dx
call fcn.006b80d0
and esi, 0x4000140
jne 0x6edf80
lea edx, [edi + 0x10]
cwde
movsx edx, dx
call fcn.006b80d0
movzx esi, word [esp + 0x1c]
add si, word [esp + 0x3c]
mov edx, ebp
add edi, esi
add eax, esi
mov ecx, dword [esp + 0x48]
mov word [ebp + 0x16], di
mov edi, dword [esp + 0x18]
mov word [ebp + 0x14], ax
mov eax, dword [edi + 4]
call fcn.006b6400
mov eax, edi
mov edx, ebp
call fcn.006cf410
mov edi, eax
mov eax, dword [ebp + 0x2c]
test al, 2
cmovne bx, word [esp + 0x2c]
mov word [ebp + 0x16], bx
test al, 0x10
jne 0x6ee003
mov ebx, dword [esp + 0x10]
movzx eax, word [ebp + 0x18]
cmp ax, word [ebx + 0x34]
jae 0x6ee003
cmp ax, word [ebx + 0x32]
jae 0x6ee270
cmp ax, 3
ja 0x6ee6c4
sub esp, 0xc
movsx esi, si
push esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
call fcn.006edba0
add esp, 0x10
movzx eax, word [esp + 0x2c]
test edi, edi
mov word [ebp + 0x16], ax
sete al
mov esi, eax
lea eax, [esp + 0x70]
call fcn.006ed680
mov dword [esp + 0xc], eax
test eax, eax
je 0x6ee02e
mov eax, esi
test al, al
jne 0x6edce8
mov ebx, ebp
mov eax, dword [esp + 0x40]
movzx edx, word [esp + 0x3e]
mov esi, dword [esp + 0x38]
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
mov word [ebx + 0x1a], dx
movzx edx, word [esp + 0x68]
mov dword [ebx + 0x2c], esi
movzx esi, word [esp + 0x2c]
mov dword [ebx + 4], eax
movzx eax, word [esp + 0x36]
mov word [ebx + 0x1c], dx
movzx edx, word [esp + 0x6a]
mov word [ebx + 0x16], si
movzx esi, word [esp + 0x2e]
mov word [ebx + 0x18], ax
mov word [ebx + 0x32], dx
mov word [ebx + 0x30], si
cmp ax, dx
je 0x6ee3c8
add esp, 0xdc
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0xc]
shl eax, 4
add eax, dword [edx + 4]
test byte [eax + 4], 0xf
je 0x6edd21
lea esi, [esi]
nop
xor edi, edi
mov esi, 1
jmp 0x6ee013
movzx edi, word [esp + 0x2e]
jmp 0x6ede35
test byte [esp + 0x14], 0x82
je 0x6ee220
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax + 4]
movsx ecx, word [eax + ebx]
mov eax, edx
or eax, 1
mov dword [ebp + 0x2c], eax
cmp ecx, 0xffffffff
je 0x6ee2cc
test ecx, ecx
js 0x6ee6ab
cmp word [esp + 0x3c], 0
jne 0x6ee6ab
mov edi, dword [esp + 0x10]
movzx ecx, word [edi + 0x32]
mov ebx, ecx
sub ecx, 1
cmp dword [esp + 0x30], ecx
je 0x6ee555
movzx ecx, byte [edi + 0x38]
cmp byte [esp + 0x89], 1
mov byte [esp + 0x20], cl
ja 0x6ee2f0
mov edx, eax
mov esi, eax
and edx, 2
test edx, edx
je 0x6edeea
lea esi, [esi]
lea esi, [esi]
movsx edi, word [ebp + 0x16]
mov ebx, dword [esp + 0x50]
xor edx, edx
mov eax, edi
test ebx, ebx
je 0x6ee184
mov ebx, dword [esp + 0x50]
movzx edx, word [ebx + 8]
test dx, dx
jle 0x6ee2c0
mov ebx, dword [esp + 0x50]
mov edx, 1
test byte [ebx + 0xa], 0x80
je 0x6ee6bc
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x6ee1ce
mov ebx, dword [esp + 0x5c]
movzx ecx, word [ebx + 8]
test cx, cx
jle 0x6ee2b0
lea ebx, [eax - 0x14]
mov word [esp + 0xc], bx
mov ebx, dword [esp + 0x5c]
test byte [ebx + 0xa], 0x80
cmove ax, word [esp + 0xc]
mov ebx, dword [esp + 0x50]
add edx, 1
test ebx, ebx
je 0x6ee1ce
cmp word [ebx + 8], 0
jle 0x6ee1ce
lea ebx, [eax - 0x14]
test cx, cx
cmovg eax, ebx
sub edi, edx
cmp ax, 0xa
mov edx, 0xa
cmovl eax, edx
cwde
cmp eax, edi
cmovle edi, eax
mov word [ebp + 0x16], di
mov ebx, edi
jmp 0x6edf2f
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov ebx, dword [esp + 0x28]
cmp word [ecx + ebx], 0
js 0x6edf0a
add edi, edx
sub di, word [esp + 0x1c]
mov word [ebp + 0x16], di
mov ebx, edi
jmp 0x6edf2f
movzx eax, word [esp + 0x14]
and ax, 0x100
mov word [esp + 0x1c], ax
je 0x6ee305
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov word [esp + 0x1c], bx
mov esi, edx
movzx eax, byte [eax + 0x38]
and edx, 2
or esi, 8
mov dword [ebp + 0x2c], esi
mov byte [esp + 0x20], al
jmp 0x6edee2
or esi, 2
jmp 0x6eddb6
movzx ecx, byte [ebx + 0x38]
mov edx, ecx
mov byte [esp + 0xc], cl
and edx, 3
cmp dl, 2
je 0x6ee003
cmp ax, 3
jbe 0x6edfe8
jmp 0x6ee6c4
test al, 2
je 0x6edd90
xor edi, edi
mov esi, 1
jmp 0x6ee013
add eax, ecx
jmp 0x6ee1b3
add eax, edx
mov edx, 1
jmp 0x6ee184
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x38]
mov byte [esp + 0x20], al
mov eax, edx
or eax, 0x1001
mov dword [ebp + 0x2c], eax
cmp byte [esp + 0x89], 1
jbe 0x6ee137
mov esi, eax
and eax, 2
or esi, 0x200000
mov edx, eax
mov dword [ebp + 0x2c], esi
jmp 0x6edee2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov ecx, dword [edx + 0xc]
movzx ebx, byte [ecx]
cmp bl, 0xb0
je 0x6ee72a
cmp bl, 0xb1
je 0x6ee733
mov eax, 1
cmp bl, 0x8a
je 0x6ee9c7
mov edx, dword [ebp + 0x2c]
test byte [esp + 0x14], 0x24
je 0x6ee8cc
lea esi, [esi]
mov word [ebp + 0x1a], ax
mov eax, dword [esp + 0xc]
or edx, 0x22
mov dword [ebp + 0x2c], edx
test byte [eax + 0xb], 1
je 0x6ee9d4
movzx ebx, word [ebp + 0x30]
movzx esi, word [ebp + 0x34]
add eax, 0x30
mov dword [esp + 0x5c], eax
lea ecx, [ebx + 1]
mov eax, ebx
cmp ecx, esi
jg 0x6eea48
add eax, 1
mov ecx, dword [ebp + 0x38]
mov esi, edx
mov word [ebp + 0x30], ax
mov eax, dword [esp + 0x5c]
or esi, 0x10
and edx, 2
mov dword [ecx + ebx*4], eax
mov ecx, 1
mov dword [ebp + 0x2c], esi
mov word [ebp + 0x1c], cx
jne 0x6eeafa
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x38]
mov byte [esp + 0x20], al
jmp 0x6edeea
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
movzx eax, word [eax + 0x32]
add ebp, 1
cmp ebp, eax
jge 0x6ee083
cmp word [esp + 0x36], si
jne 0x6ee083
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x38]
mov byte [esp + 0xc], al
and eax, 0xffffffc0
cmp al, 0x80
jne 0x6ee083
mov eax, dword [esp + 0x60]
test byte [eax + 0x51], 0x40
jne 0x6ee083
mov edx, dword [esp + 0x10]
add ebp, ebp
mov eax, dword [edx + 8]
lea esi, [eax + ebp]
cmp word [esi], 0x29
jle 0x6ee083
movzx edi, word [esp + 0x2e]
movzx edx, word [ebx + 0x34]
lea ecx, [edi + 1]
cmp ecx, edx
jle 0x6eeb01
mov eax, dword [esp + 0x60]
mov edx, ebx
call fcn.006cf390
mov edi, eax
test eax, eax
jne 0x6ee083
movzx edi, word [ebx + 0x32]
mov eax, dword [esp + 0x10]
mov esi, dword [ebx + 0x2c]
movzx edx, word [ebx + 0x18]
mov eax, dword [eax + 8]
movzx ecx, word [ebx + 0x16]
mov word [esp + 0xc], di
movzx edi, word [ebx + 0x30]
mov dword [esp + 0x14], esi
lea esi, [eax + ebp]
mov word [esp + 0x2e], di
add edx, 1
sub esp, 0xc
mov word [ebx + 0x18], dx
movzx edx, word [esp + 0x18]
add edx, 1
mov word [ebx + 0x32], dx
movzx edx, word [esp + 0x3a]
add edx, 1
mov word [ebx + 0x30], dx
mov edx, dword [ebx + 0x38]
movzx eax, word [eax + ebp - 2]
mov dword [edx + edi*4], 0
mov edi, dword [esp + 0x20]
movzx edx, word [esi]
or edi, 0x8000
mov dword [ebx + 0x2c], edi
movzx edi, word [esp + 0x78]
add ecx, edx
sub ecx, eax
lea eax, [eax + edi + 5]
mov word [ebx + 0x16], cx
xor edi, edi
sub eax, edx
cwde
push eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
call fcn.006edba0
movzx eax, word [esp + 0x3c]
mov word [ebx + 0x16], ax
movzx eax, word [esp + 0x46]
mov word [ebx + 0x18], ax
movzx eax, word [esp + 0x7a]
mov word [ebx + 0x32], ax
mov eax, dword [esp + 0x48]
add esp, 0x10
mov dword [ebx + 0x2c], eax
jmp 0x6ee083
mov edi, edx
mov esi, edx
sar edi, 0x1f
je 0x6ee71c
bsr eax, edi
xor eax, 0x1f
mov ecx, 0x3c
mov edx, edi
sub ecx, eax
mov eax, esi
shrd eax, edi, cl
shr edx, cl
test cl, 0x20
lea ecx, [ecx + ecx*4]
cmovne eax, edx
and eax, 7
movzx eax, word [eax + eax + 0xa3ab84]
lea eax, [eax + ecx*2 - 3]
mov word [esp + 0x34], ax
jmp 0x6edcbb
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x38]
mov byte [esp + 0x20], al
test al, 8
jne 0x6ee2d8
cmp bx, 1
je 0x6eea82
mov eax, edx
or eax, 0x10001
mov dword [ebp + 0x2c], eax
jmp 0x6ee2e2
xor edi, edi
jmp 0x6ee013
movzx eax, word [esp + 0x54]
cmp ax, 1
jbe 0x6eea69
lea ebx, [esi + eax*4 - 4]
mov ecx, 0x2e
xor edi, edi
lea esi, [esi]
mov eax, dword [esi]
test eax, eax
je 0x6ee5bb
cmp dword [eax], edx
cmove ecx, edi
add esi, 4
cmp ebx, esi
jne 0x6ee5b0
cmp byte [esp + 0x58], 0
mov word [esp + 0x1c], cx
jne 0x6ee64b
mov edx, dword [ebp + 0x2c]
jmp 0x6eded7
mov edi, dword [eax + 0xc]
add esp, 0xdc
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
ret
mov edi, edx
mov ecx, 7
mov esi, edx
sar edi, 0x1f
cmp ecx, edx
sbb eax, edi
jae 0x6ee6d2
test edi, edi
je 0x6eea2c
bsr eax, edi
xor eax, 0x1f
mov ecx, 0x3c
sub ecx, eax
shrd esi, edi, cl
lea edx, [ecx + ecx*4]
shr edi, cl
and ecx, 0x20
cmovne esi, edi
lea edx, [edx + edx + 0x28]
and esi, 7
cmp byte [esp + 0x58], 0
movzx esi, word [esi + esi + 0xa3ab84]
lea eax, [edx + esi - 0xa]
mov word [esp + 0x1c], ax
movsx ecx, ax
je 0x6ee5ce
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax + 8]
movzx esi, word [eax + ebx]
xor eax, eax
cmp ecx, 0xa
jle 0x6ee982
mov eax, ecx
cdq
mov ebx, edx
test edx, edx
je 0x6eea3a
bsr edx, edx
xor edx, 0x1f
mov eax, 0x3c
sub eax, edx
mov edx, ebx
mov edi, eax
mov eax, ecx
mov ecx, edi
shr edx, cl
shrd eax, ebx, cl
test cl, 0x20
cmovne eax, edx
mov ecx, eax
lea eax, [edi + edi*4]
and ecx, 7
movzx edx, word [ecx + ecx + 0xa3ab84]
lea eax, [edx + eax*2 - 3]
jmp 0x6ee982
mov ebx, dword [esp + 0x10]
movzx ecx, byte [ebx + 0x38]
mov byte [esp + 0x20], cl
jmp 0x6ee2e2
sub eax, 0x14
jmp 0x6ee184
mov eax, dword [esp + 0x4c]
call fcn.006b6380
jmp 0x6edfe8
xor edx, 1
mov ebx, 0x1e
xor ecx, ecx
mov eax, edx
mov word [esp + 0x1c], bx
mov ebx, 7
or eax, edi
je 0x6eeaa1
mov dword [esp + 0x1c], ebp
mov eax, 0x1e
lea esi, [esi]
shld edi, esi, 1
add esi, esi
mov edx, eax
mov ebp, ecx
sub eax, 0xa
cmp ebx, esi
sbb ebp, edi
jae 0x6ee700
mov ebp, dword [esp + 0x1c]
jmp 0x6ee62d
bsr eax, edx
xor eax, 0x1f
add eax, 0x20
jmp 0x6ee523
movzx ebx, byte [ecx + 2]
jmp 0x6ee325
mov eax, dword [ecx + 0x14]
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
movzx eax, word [eax + 0x34]
sub eax, esi
cmp eax, ebx
cmovle ebx, eax
mov dword [esp + 0x5c], ebx
cmp ebx, 1
jle 0x6eeb1d
lea edi, [esi + 1]
mov dword [esp + 0x64], ebp
mov esi, 1
mov ebp, edi
mov edi, dword [esp + 0x10]
lea esi, [esi]
mov ebx, dword [ecx + 0x14]
lea eax, [esi + esi*4]
mov edx, dword [edx + 0x10]
shl eax, 2
add ebx, eax
mov ecx, dword [edx + 0x14]
mov ebx, dword [ebx + 8]
test byte [edx + 5], 0x10
je 0x6ee918
add eax, dword [ecx + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp byte [ebx], 0xa7
jne 0x6ee8b8
mov eax, dword [esp + 0x58]
cmp eax, dword [ebx + 0x1c]
jne 0x6ee8b8
mov eax, dword [edi + 4]
movzx eax, word [eax + ebp*2]
cmp word [ebx + 0x20], ax
jne 0x6ee8b8
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 0x30]
movzx ecx, byte [eax + edx]
cmp byte [eax + ebp], cl
jne 0x6ee8b8
mov eax, ebx
call fcn.006b1690
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x20]
call fcn.006b1690
movzx ecx, byte [esp + 0x50]
cmp al, 0x40
mov edx, eax
jle 0x6ee928
cmp cl, 0x40
jle 0x6ee928
cmp al, 0x42
jg 0x6ee960
mov edx, 0x41
cmp cl, 0x42
jg 0x6ee960
movsx eax, word [ebx + 0x20]
mov ecx, dword [edi + 0xc]
test ax, ax
js 0x6ee8b8
cmp word [ecx + 0x22], ax
jle 0x6ee8b8
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
shl eax, 4
add eax, dword [ecx + 4]
movzx eax, byte [eax + 8]
mov byte [esp + 0x50], al
cmp byte [esp + 0x50], dl
jne 0x6ee8b8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov edx, ebx
call fcn.006e8380
test eax, eax
je 0x6ee8b8
mov edx, dword [edi + 0x20]
mov ecx, dword [edx + ebp*4]
mov edx, dword [eax]
jmp 0x6ee885
movzx ebx, byte [ebx + 0xa40be0]
cmp byte [eax + 0xa40be0], bl
jne 0x6ee8b8
add edx, 1
add ecx, 1
movzx eax, byte [edx]
movzx ebx, byte [ecx]
cmp eax, ebx
jne 0x6ee870
test eax, eax
jne 0x6ee87f
add esi, 1
add ebp, 1
cmp dword [esp + 0x5c], esi
je 0x6eeac9
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov ecx, dword [edx + 0xc]
jmp 0x6ee770
mov ebp, dword [esp + 0x64]
mov eax, esi
mov edx, dword [ebp + 0x2c]
test byte [esp + 0x14], 0x24
jne 0x6ee350
mov esi, edx
mov word [ebp + 0x1c], ax
or esi, 0x12
and edx, 0x20
mov dword [ebp + 0x2c], esi
jne 0x6ee9fd
mov ebx, dword [esp + 0xc]
movsx edi, word [ebp + 0x16]
xor edx, edx
mov dword [esp + 0x50], 0
mov word [esp + 0x1c], dx
xor edx, edx
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x10]
mov eax, edi
movzx ecx, byte [ebx + 0x38]
mov byte [esp + 0x20], cl
jmp 0x6ee18c
mov eax, dword [ecx + eax + 8]
mov dword [esp + 0x20], eax
jmp 0x6ee798
mov eax, ecx
mov byte [esp + 0x50], 0x44
or eax, 0x40
cmp dl, 0x41
cmovl edx, eax
movsx eax, word [ebx + 0x20]
mov dword [esp + 0x54], eax
test eax, eax
js 0x6ee845
mov ecx, dword [edi + 0xc]
movsx eax, word [ecx + 0x22]
cmp dword [esp + 0x54], eax
jge 0x6ee845
jmp 0x6ee833
mov edx, 0x43
jmp 0x6ee815
mov eax, dword [esp + 0x10]
xor edx, edx
mov ebx, dword [esp + 0x28]
mov word [esp + 0x1c], dx
mov eax, dword [eax + 8]
movzx esi, word [eax + ebx]
xor eax, eax
sub ax, word [esp + 0x34]
lea esi, [esi + eax + 0xa]
cmp si, word [esp + 0x1c]
jns 0x6ee5ce
cmp word [esp + 0x3c], 1
jg 0x6ee0a8
mov eax, dword [esp + 0x60]
test byte [eax + 0x52], 2
jne 0x6ee0a8
mov edx, dword [ebp + 0x2c]
or edx, 0x100000
jmp 0x6eded7
mov ebx, ebp
xor edi, edi
jmp 0x6ee030
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
jmp 0x6ee738
mov dword [esp + 0x5c], 0
mov ebx, dword [esp + 0xc]
movsx edi, word [ebp + 0x16]
mov esi, edx
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x10]
mov eax, edi
movzx ecx, byte [ebx + 0x38]
mov byte [esp + 0x20], cl
jmp 0x6ee160
movzx edx, word [ebp + 0x30]
mov eax, dword [ebp + 0x38]
xor edi, edi
mov word [esp + 0x1c], di
mov eax, dword [eax + edx*4 - 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x38]
mov byte [esp + 0x20], al
jmp 0x6ee150
bsr eax, edx
xor eax, 0x1f
add eax, 0x20
jmp 0x6ee614
bsr edx, ecx
xor edx, 0x1f
add edx, 0x20
jmp 0x6ee678
mov eax, dword [esp + 0x60]
mov edx, ebp
call fcn.006cf390
test eax, eax
jne 0x6ee9be
movzx ebx, word [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov eax, ebx
jmp 0x6ee384
cmp byte [esp + 0x58], 0
jne 0x6eead7
mov ecx, 0x2e
mov edx, dword [ebp + 0x2c]
mov word [esp + 0x1c], cx
jmp 0x6eded7
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x36], 0
je 0x6ee573
cmp word [esp + 0x14], 2
jne 0x6ee573
jmp 0x6ee2d8
xor ecx, ecx
cmp byte [esp + 0x58], 0
mov word [esp + 0x1c], cx
je 0x6ee5ce
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax + 8]
movzx esi, word [eax + ebx]
xor eax, eax
jmp 0x6ee982
mov ebp, dword [esp + 0x64]
movzx eax, word [esp + 0x5c]
jmp 0x6ee33c
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax + 8]
movzx esi, word [eax + ebx]
mov ebx, 0x2e
mov eax, 0x16
mov word [esp + 0x1c], bx
jmp 0x6ee982
mov edx, esi
jmp 0x6ee9dc
mov edx, dword [esp + 0x38]
movzx ecx, word [esp + 0x2c]
mov dword [esp + 0x14], edx
movzx edx, word [esp + 0x36]
mov word [esp + 0xc], dx
jmp 0x6ee479
mov eax, 1
jmp 0x6ee33c