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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x50]
push edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
xor edi, edi
cmp eax, edi
mov ebx, ecx
je 0x6eb860
cmp dword [eax + 0x14], edi
je 0x6eb860
mov ecx, dword [eax + 0x2c]
sub ecx, dword [eax + 0x50]
add dword [ebp - 8], ecx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x40]
imul eax, eax, 7
pop ecx
push eax
mov eax, dword [ebx + 4]
push dword [eax + 0x28]
lea ecx, [ebp - 0x54]
call fcn.006ec436
lea eax, [ebp + 0x13]
push eax
lea eax, [ebp + 0xf]
push eax
push esi
mov ecx, ebx
call fcn.006eae56
cmp dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
jle 0x6ebefa
lea ecx, [ebp - 0x40]
call fcn.006e1c62
push dword [ebp + 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.006eb22a
mov eax, dword [ebp - 0x3c]
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], eax
call fcn.006e1c6f
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
inc dword [ebp - 4]
mov dword [ebp - 0xc], eax
and eax, 0xf
je 0x6eb91c
cmp eax, 1
je 0x6ebc38
jle 0x6ebeb6
cmp eax, 3
jle 0x6ebab7
cmp eax, 4
je 0x6eb9b4
cmp eax, 5
je 0x6eb949
cmp eax, 6
jne 0x6ebeb6
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp byte [ebp + 0xf], 0
pop ecx
mov dword [ebp - 0x10], eax
jne 0x6eb932
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], edi
jne 0x6ebe28
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x6ebe2b
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp byte [ebp + 0xf], 0
pop ecx
mov dword [ebp - 0x10], eax
jne 0x6eb95f
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], edi
jne 0x6eb96f
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x6eb972
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp dword [ebp - 0x14], 0xffffffff
pop ecx
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + eax*4]
je 0x6eb991
mov ecx, dword [ebp - 0x14]
or dword [ebp - 0x14], 0xffffffff
jmp 0x6eb998
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
lea edx, [ebp - 0x54]
push edx
push edi
push ecx
push dword [eax + 4]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push edi
call fcn.006ea4e0
jmp 0x6ebb8b
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp byte [ebp + 0xf], 0
pop ecx
mov dword [ebp - 0x10], eax
jne 0x6eb9ca
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], edi
jne 0x6eb9da
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x6eb9dd
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp eax, dword [ebx + 0xe4]
pop ecx
mov dword [ebp - 0x20], eax
jb 0x6eba38
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x54]
cmp eax, edi
jne 0x6eba09
mov ecx, dword [ebp + 0x14]
push 0x15
call fcn.006cd795
mov ecx, dword [ebx + 4]
push edi
push edi
push edi
push edi
push dword [ebx + 0xe4]
mov dword [ebp - 0x2c], eax
call fcn.006cf409
mov ecx, dword [ebx + 4]
push eax
push dword [ebp - 0x20]
call fcn.006cf409
mov ecx, dword [ebp - 0x2c]
push eax
push 0x424
call fcn.006cea90
mov eax, dword [ebx + 0x9c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
cmp eax, edi
mov dword [ebp - 0x28], eax
jne 0x6eba83
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x54]
cmp eax, edi
jne 0x6eba62
mov ecx, dword [ebp + 0x14]
push 0x15
call fcn.006cd795
mov ecx, dword [ebx + 4]
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
call fcn.006cf409
mov ecx, dword [ebp - 0x2c]
push eax
push 0x423
call fcn.006cea90
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x6eba91
or dword [ebp - 0x14], 0xffffffff
jmp 0x6eba98
mov eax, dword [ebp - 8]
add dword [ebp - 8], 4
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push edi
call fcn.006ea4e0
jmp 0x6ebeb6
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp byte [ebp + 0x13], 0
pop ecx
mov dword [ebp - 0x10], eax
jne 0x6ebacd
mov dword [ebp - 0x10], edi
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
pop ecx
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0x78]
push dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
push dword [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
call fcn.006eb43d
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
call fcn.006e9699
cmp dword [ebp - 0x10], edi
jbe 0x6ebba0
dec dword [ebp - 0x10]
cmp dword [ebp - 0x24], edi
jne 0x6ebb7e
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0068b4cc
test eax, eax
je 0x6ebb7e
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0068b4cc
cmp eax, dword [ebp - 0x20]
je 0x6ebb7e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x54]
cmp eax, edi
jne 0x6ebb48
mov ecx, dword [ebp + 0x14]
push 0x15
call fcn.006cd795
mov ecx, dword [ebx + 4]
push edi
push edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
push edi
push edi
inc eax
push eax
call fcn.006cf409
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0068b4cc
mov ecx, dword [ebx + 4]
push eax
call fcn.006cf48d
mov ecx, dword [ebp - 0x2c]
push eax
push 0x431
call fcn.006cea90
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.006ec306
test byte [ebp - 0xc], 0x40
je 0x6ebee0
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0x10]
jmp 0x6ebd77
cmp dword [ebp - 0x24], edi
mov ecx, esi
je 0x6ebbb5
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x20]
shr edi, 3
jmp 0x6ebd62
push dword [ebp - 0x18]
call fcn.0068b4cc
test eax, eax
je 0x6ebc0c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x54]
cmp eax, edi
jne 0x6ebbd8
mov ecx, dword [ebp + 0x14]
push 0x15
call fcn.006cd795
mov ecx, dword [ebx + 4]
push edi
push edi
push edi
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.006cf409
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0068b4cc
mov ecx, dword [ebx + 4]
push eax
call fcn.006cf48d
mov ecx, dword [ebp - 0x2c]
push eax
push 0x431
call fcn.006cea90
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.006ec306
test byte [ebp - 0xc], 0x40
je 0x6ebc30
mov eax, dword [esi + 0x40]
push dword [ebp - 4]
add eax, dword [ebp - 0x18]
mov ecx, esi
push eax
call fcn.006e9f03
inc dword [ebp - 0x18]
jmp 0x6ebeb6
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp byte [ebp + 0x13], 0
pop ecx
mov edi, eax
jne 0x6ebc4c
xor edi, edi
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
pop ecx
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0x78]
push dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
push dword [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.006eb43d
test edi, edi
je 0x6ebd54
dec edi
test eax, eax
jne 0x6ebd5d
push edi
mov ecx, esi
call fcn.0068b4cc
test eax, eax
je 0x6ebd5d
push edi
mov ecx, esi
call fcn.0068b4cc
cmp eax, dword [ebp - 0x10]
je 0x6ebd5d
cmp byte [ebx + 0x108], 0
je 0x6ebd06
push 0x5fb248
push dword [ebp - 0x10]
mov ecx, esi
push 0x62cc0c
push edi
call fcn.0068b4cc
mov ecx, dword [ebx + 4]
push eax
push 0x62cbf8
lea eax, [edi + 1]
push eax
push 0x62cbe4
add ecx, 0x18
call fcn.006df896
mov ecx, eax
call fcn.006dfa2a
mov ecx, eax
call fcn.006df896
mov ecx, eax
call fcn.006dfc24
mov ecx, eax
call fcn.006df896
mov ecx, eax
call fcn.006dfc24
mov ecx, eax
call fcn.006df896
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x54]
test eax, eax
jne 0x6ebd1d
mov ecx, dword [ebp + 0x14]
push 0x15
call fcn.006cd795
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [edi + 1]
push eax
call fcn.006cf409
push eax
push edi
mov ecx, esi
call fcn.0068b4cc
mov ecx, dword [ebx + 4]
push eax
call fcn.006cf48d
mov ecx, dword [ebp - 0x2c]
push eax
push 0x431
call fcn.006cea90
jmp 0x6ebd5d
test eax, eax
je 0x6ebd80
mov edi, eax
shr edi, 3
push dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.006ec306
test byte [ebp - 0xc], 0x40
je 0x6ebee0
mov eax, dword [esi + 0x40]
add eax, edi
push dword [ebp - 4]
push eax
jmp 0x6ebeaf
mov edi, dword [ebp - 0x18]
cmp edi, dword [esi + 0x3c]
jb 0x6ebdac
mov ecx, dword [ebx + 4]
push 0x5fb248
push esi
push 0x62cbcc
add ecx, 0x18
call fcn.006df896
mov ecx, eax
call fcn.006dfbf7
mov ecx, eax
call fcn.006df896
push edi
mov ecx, esi
call fcn.0068b4cc
test eax, eax
je 0x6ebdfe
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x54]
test eax, eax
jne 0x6ebdcc
push 0x15
call fcn.006cd795
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
push eax
push eax
push eax
push edi
call fcn.006cf409
push eax
push edi
mov ecx, esi
call fcn.0068b4cc
mov ecx, dword [ebx + 4]
push eax
call fcn.006cf48d
mov ecx, dword [ebp - 0x2c]
push eax
push 0x431
call fcn.006cea90
push dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.006ec306
test byte [ebp - 0xc], 0x40
je 0x6ebe1f
mov eax, dword [esi + 0x40]
push dword [ebp - 4]
add eax, edi
push eax
mov ecx, esi
call fcn.006e9f03
inc edi
mov dword [ebp - 0x18], edi
jmp 0x6ebeb6
dec dword [ebp - 0x10]
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.006eb2e5
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
cmp eax, edi
pop ecx
je 0x6ebe54
mov ecx, dword [ebp - 4]
movzx edi, byte [ecx]
inc dword [ebp - 4]
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 0x74]
jne 0x6ebe77
mov edx, dword [ebp - 8]
test dl, 7
je 0x6ebe6d
mov dword [ebp - 0x14], edx
add edx, 4
mov ecx, edx
add edx, 8
mov dword [ebp - 8], edx
jmp 0x6ebe8c
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xffffffff
je 0x6ebe85
or dword [ebp - 0x14], 0xffffffff
jmp 0x6ebe8c
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
lea edx, [ebp - 0x54]
push edx
push edi
push ecx
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push eax
call fcn.006ea4e0
test byte [ebp - 0xc], 0x40
je 0x6ebee0
push dword [ebp - 4]
push dword [ebp - 0x10]
mov ecx, esi
call fcn.006e9f03
test byte [ebp - 0xc], 0x40
je 0x6ebee0
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
xor edi, edi
cmp eax, edi
pop ecx
jle 0x6ebee2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 4]
push eax
call fcn.00681e7c
dec dword [ebp - 0x2c]
pop ecx
jne 0x6ebecf
jmp 0x6ebee2
xor edi, edi
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
jl 0x6eb8b0
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x6ebf0c
mov ecx, dword [esi + 0x40]
lea eax, [eax + ecx*4]
mov dword [ebp + 0x10], eax
jmp 0x6ebf0f
mov dword [ebp + 0x10], edi
mov ecx, dword [esi + 0x40]
xor eax, eax
cmp ecx, edi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x34], ecx
jbe 0x6ebfa9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + eax*4], edi
jne 0x6ebf99
cmp byte [ebx + 0x108], 0
je 0x6ebf6f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
push 0x62cba8
push esi
push 0x62cba0
inc eax
push eax
push 0x62cb90
add ecx, 0x18
call fcn.006df896
mov ecx, eax
call fcn.006dfa79
mov ecx, eax
call fcn.006df896
mov ecx, eax
call fcn.006dfbf7
mov ecx, eax
call fcn.006df896
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x6ebf7d
or dword [ebp - 0x14], 0xffffffff
jmp 0x6ebf84
mov eax, dword [ebp - 8]
add dword [ebp - 8], 4
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edi
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
push edi
call fcn.006ea4e0
mov eax, dword [ebp + 0xc]
inc eax
cmp eax, dword [ebp - 0x34]
mov dword [ebp + 0xc], eax
jb 0x6ebf22
mov eax, dword [ebp - 0x50]
cmp eax, edi
jbe 0x6ec1a1
add eax, 0x10
push eax
mov eax, dword [ebx + 4]
push dword [eax + 0x28]
lea ecx, [ebp - 0x44]
call fcn.006ec436
lea eax, [esi + 0x28]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp eax, edi
je 0x6ec092
mov dword [ebp + 0x10], eax
mov eax, dword [eax + 0x48]
cmp eax, edi
mov dword [ebp + 0xc], eax
jne 0x6ec009
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x54]
cmp eax, edi
jne 0x6ebff7
push 0x15
call fcn.006cd795
push edi
push edi
push edi
push edi
push edi
push edi
push 0x453
mov ecx, eax
call fcn.006cea90
lea eax, [ebp + 0xc]
push eax
call fcn.00681e7c
cmp eax, 1
pop ecx
jg 0x6ec01b
push 2
pop eax
push eax
lea ecx, [ebp - 0x44]
call fcn.0070a501
lea eax, [ebp + 0xc]
push eax
call fcn.00681e7c
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0070a501
lea eax, [ebp + 0xc]
push eax
call fcn.00681e7c
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0070a501
lea eax, [ebp + 0xc]
push eax
call fcn.00681e7c
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0070a501
lea eax, [ebp + 0xc]
push eax
call fcn.00681e7c
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0x49
pop ecx
mov dword [ebp + 0x14], eax
jne 0x6ec081
push 0x49
push edi
lea ecx, [ebp - 0x54]
call fcn.006ec4da
inc esi
dec dword [ebp + 0x14]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x54]
push esi
call fcn.006ec519
jmp 0x6ec137
mov eax, dword [ebx + 4]
push edi
push dword [eax + 0x28]
push 0x64
call fcn.00579eec
add esp, 0xc
cmp eax, edi
je 0x6ec0b2
mov ecx, eax
call fcn.006ec9a1
mov edi, eax
jmp 0x6ec0b4
xor edi, edi
push esi
lea ecx, [edi + 4]
mov dword [ebp + 0x10], edi
call fcn.005b0a3c
push ebx
lea ecx, [edi + 0xc]
call fcn.006fd60d
and dword [edi + 0x10], 0
push 1
mov ecx, edi
mov dword [edi + 0x18], 4
call fcn.006fa5d7
push esi
push 0
mov ecx, edi
call fcn.006fa768
mov eax, dword [ebx + 4]
push dword [eax + 0x90]
lea ecx, [edi + 0x2c]
call fcn.005b0a3c
mov ecx, dword [ebp + 0xc]
push edi
call fcn.006fd60d
or byte [edi + 0x1f], 0x20
push 2
lea ecx, [ebp - 0x44]
call fcn.0070a501
push 1
lea ecx, [ebp - 0x44]
call fcn.0070a501
push 1
lea ecx, [ebp - 0x44]
call fcn.0070a501
push 1
lea ecx, [ebp - 0x44]
call fcn.0070a501
push 0x47
lea ecx, [ebp - 0x54]
call fcn.006eab87
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.0070a501
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
call fcn.006ec404
push 0
lea ecx, [ebp - 0x44]
call fcn.0070a501
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x28]
push 3
push 0
push dword [ebp - 0x40]
call fcn.00712f1c
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [ebp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0x48]
push ecx
push eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x28]
call fcn.0058aa5c
lea ecx, [ebp - 0x44]
call fcn.006d34ec
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, dword [esi + 0x14]
cmp ecx, edi
je 0x6ec1bd
cmp dword [ecx + 0x14], edi
je 0x6ec1bd
mov eax, dword [ecx + 0x4c]
cmp eax, 0xffffffff
je 0x6ec1bd
sub eax, dword [ecx + 0x50]
add eax, dword [esi + 0x50]
jmp 0x6ec1ca
test byte [esi + 0x20], 1
je 0x6ec1cd
mov eax, dword [ebp - 8]
add dword [ebp - 8], 0x10
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x54]
mov dword [esi + 0x2c], eax
call fcn.006d34ec
pop edi
pop esi
pop ebx
leave
ret 0x10