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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esi]
test edx, edx
je 0x7a6eb4
mov eax, dword [ebp + 0x108]
mov dword [edx], eax
cmp dword [ebp + 0x5c], 0
js 0x7a6eef
mov eax, dword [esp + 0x84]
cmp dword [eax], 0
je 0x7a6ef6
mov eax, dword [esp + 0x88]
test eax, eax
je 0x7a6ed6
cmp dword [eax], 0
jne 0x7a6ef8
sub ecx, dword [esi]
mov eax, ecx
mov ecx, ebp
mov edx, 0xffffffec
push eax
call fcn.007a8190
add esp, 0x68
jmp 0x7a8169
xor eax, eax
jmp 0x7a8166
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x7a6f21
lea edx, [ebp + 0x28]
mov dword [ebp + 0x10], edx
lea edi, [ecx + ebp]
add edi, 0x28
mov eax, 2
jmp 0x7a6f30
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0x10], edx
lea edi, [edx + ecx]
mov eax, 1
lea ebx, [ebp + 8]
mov dword [esp + 8], ebx
mov dword [ebp + 0x18], edi
add ecx, 0xffffffe4
add edi, 0xffffffe5
cmp ecx, 0xffffffe3
cmovae edi, edx
mov dword [ebp + 0x14], edi
lea ecx, [ebp + 0x28]
mov dword [esp + 0x58], ecx
lea ecx, [ebp + 0xcc]
mov dword [esp + 0x10], ecx
lea ecx, [ebp + 0x250]
mov dword [esp + 0x50], ecx
lea ecx, [ebp + 0x254]
mov dword [esp + 0x30], ecx
lea ecx, [ebp + 0x264]
mov dword [esp + 0x34], ecx
lea ecx, [ebp + 0xf8]
mov dword [esp + 0x4c], ecx
lea ecx, [ebp + 0xfc]
mov dword [esp + 0x48], ecx
lea ecx, [ebp + 0x7c]
mov dword [esp + 0x28], ecx
lea ecx, [ebp + 0x8c]
mov dword [esp + 0x2c], ecx
lea ecx, [ebp + 0x9c]
mov dword [esp + 0x24], ecx
lea ecx, [ebp + 0x34c]
mov dword [esp + 0x44], ecx
lea ecx, [ebp + 0x294]
mov dword [esp + 0x20], ecx
lea ecx, [ebp + 0x4e4]
mov dword [esp + 0x40], ecx
lea ecx, [ebp + 0x4b0]
mov dword [esp + 0x3c], ecx
lea ecx, [ebp + 0x287]
mov dword [esp + 0x38], ecx
jmp 0x7a6ff0
mov dword [ebp + 0x14], eax
mov eax, 1
nop word cs:[eax + eax]
cmp eax, 1
je 0x7a7090
cmp eax, 2
jne 0x7a80cd
cmp dword [ebp + 0x64], 0
mov edi, dword [esp + 0x80]
je 0x7a7035
mov ecx, ebp
mov edx, dword [esp + 0x84]
push 1
push dword [esp + 0x90]
push dword [esp + 0x24]
call fcn.007a81d0
add esp, 0xc
test eax, eax
js 0x7a814f
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x7a80dc
cmp ecx, dword [ebp + 0x18]
je 0x7a70c4
cmp dword [esi], 0
je 0x7a8108
mov ecx, dword [edi]
movzx ecx, byte [ecx]
mov byte [ebp + eax + 0x28], cl
mov eax, dword [ebp + 0x30]
lea ecx, [eax + 1]
mov dword [ebp + 0x30], ecx
mov edx, dword [esp + 0x58]
mov dword [ebp + 0x10], edx
lea ecx, [edx + eax]
inc ecx
mov dword [ebp + 0x18], ecx
lea ecx, [eax - 0x1b]
cmp ecx, 0xffffffe3
lea eax, [edx + eax - 0x1a]
cmovae eax, edx
mov dword [ebp + 0x14], eax
inc dword [edi]
dec dword [esi]
mov eax, 1
jmp 0x7a6ff0
mov ecx, dword [ebp]
mov eax, 1
cmp ecx, 0x1a
ja 0x7a6ff0
jmp dword [ecx*4 + 0xf90de0]
mov dword [ebp + 0x30], 0
mov eax, dword [edi]
mov edx, dword [esi]
mov dword [ebp + 0x10], eax
lea ecx, [eax + edx]
mov dword [ebp + 0x18], ecx
add edx, 0xffffffe4
cmp edx, 0xffffffe2
ja 0x7a6fdb
add ecx, 0xffffffe5
mov dword [ebp + 0x14], ecx
mov eax, 1
jmp 0x7a6ff0
cmp dword [ebp + 0x30], 0
je 0x7a810f
mov dword [ebp + 0x30], 0
jmp 0x7a814f
mov dword [edi], ecx
mov edx, dword [ebp + 0x18]
mov eax, 2
sub edx, ecx
mov dword [esi], edx
je 0x7a814f
nop dword [eax]
movzx ecx, byte [ecx]
mov edx, dword [ebp + 0x30]
mov byte [ebp + edx + 0x28], cl
inc dword [ebp + 0x30]
mov ecx, dword [edi]
inc ecx
mov dword [edi], ecx
dec dword [esi]
jne 0x7a80f0
jmp 0x7a814f
mov eax, 2
jmp 0x7a814f
mov ecx, dword [ebp + 0xc]
cmp ecx, 7
ja 0x7a811c
mov edx, dword [ebp + 0x10]
jmp 0x7a8126
mov esi, ecx
shr esi, 3
mov edx, dword [ebp + 0x10]
sub edx, esi
mov edi, dword [esp + 0x80]
mov dword [ebp + 0x10], edx
and ecx, 7
mov dword [ebp + 0xc], ecx
mov esi, 0xffffffff
shl esi, cl
not esi
and dword [ebp + 8], esi
mov ecx, dword [ebp + 0x18]
sub ecx, edx
mov esi, dword [esp + 0x7c]
mov dword [esi], ecx
mov dword [edi], edx
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x7c]
sub esi, dword [ecx]
mov ecx, ebp
mov edx, eax
push esi
call fcn.007a8190
add esp, 4
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret