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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [eax + 0x18], esi
jne 0x2704ac47
mov eax, 0xffff8c00
jmp 0x2704af74
cmp dword [edi + 8], esi
jne 0x2704ac60
movzx ecx, byte [eax + 0xa6]
mov dword [edi + 0x10], ecx
movzx ecx, byte [eax + 0xa7]
mov dword [edi + 0x14], ecx
mov cl, byte [eax + 0xa4]
test cl, cl
jne 0x2704ac74
mov eax, 0xffff8f00
jmp 0x2704af74
mov ebx, dword [edi + 0xa8]
lea edx, [ebx + 0x4000]
mov dword [ebp - 0xc], ebx
cmp ebx, edx
ja 0x2704ac8e
sub edx, ebx
cmp edx, 0x47
jae 0x2704ac98
mov eax, 0xffff9600
jmp 0x2704af74
movzx eax, byte [eax + 0xa5]
push eax
movzx eax, cl
add ebx, 4
push eax
mov eax, ebx
call fcn.2703c60c
pop ecx
inc ebx
pop ecx
inc ebx
call fcn.2704ab83
cmp eax, esi
jne 0x2704af74
mov esi, dword [edi + 0x40]
push 8
add esi, 0x3a8
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0x10]
push 0x20
pop edi
lea edx, [eax - 0x10]
add ebx, edi
cmp edx, 0x10
ja 0x2704acf7
cmp dword [esi + 8], 0
jne 0x2704acf7
mov edx, dword [esi + 0x40]
cmp dword [edx + 0x7fc], 0
jne 0x2704acf9
xor eax, eax
xor edx, edx
cmp dword [esi + 8], edx
jne 0x2704ad2a
cmp dword [ecx + 0x74], edx
je 0x2704ad2a
cmp dword [ecx + 0x78], edx
je 0x2704ad2a
mov eax, dword [esi]
push edi
add ecx, 0x14
push ecx
push dword [eax + 0x1c]
call dword [eax + 0x18]
add esp, 0xc
test eax, eax
jne 0x2704af74
mov ecx, dword [esi + 0x3c]
mov eax, edi
mov dword [ecx + 0x10], edi
mov byte [ebx], al
inc ebx
xor edi, edi
test eax, eax
jbe 0x2704ad42
mov ecx, dword [esi + 0x3c]
mov cl, byte [ecx + edi + 0x14]
mov byte [ebx], cl
inc ebx
inc edi
cmp edi, eax
jb 0x2704ad33
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx + eax*4]
xor eax, eax
add edx, 0x4000
mov edi, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edi
cmp ebx, edx
ja 0x2704ac8e
sub edx, ebx
cmp edx, 2
jb 0x2704ac8e
and dword [ebp - 8], eax
inc ebx
inc ebx
cmp dword [ecx], eax
je 0x2704adf8
mov edi, ecx
push dword [edi]
call fcn.270458b7
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
pop ecx
movzx ecx, byte [eax + 0xa5]
movzx eax, byte [eax + 0xa7]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push esi
call fcn.2704abdd
add esp, 0xc
test eax, eax
jne 0x2704ade1
mov eax, dword [ebp - 0x14]
call fcn.27045938
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 0x4000
cmp ebx, eax
ja 0x2704ac8e
sub eax, ebx
cmp eax, 2
jb 0x2704ac8e
mov eax, dword [edi]
inc dword [ebp - 4]
sar eax, 8
mov byte [ebx], al
mov al, byte [edi]
inc ebx
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
lea edi, [eax + ecx*4]
cmp dword [edi], 0
jne 0x2704ad7e
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
cmp dword [esi + 8], 0
jne 0x2704ae23
mov ecx, dword [ebp - 0xc]
add ecx, 0x4000
cmp ebx, ecx
ja 0x2704ac8e
sub ecx, ebx
cmp ecx, 2
jb 0x2704ac8e
mov byte [ebx], 0
inc ebx
mov byte [ebx], 0xff
inc ebx
inc eax
mov ecx, eax
add al, al
shr ecx, 7
mov byte [edi], cl
mov byte [edi + 1], al
mov eax, dword [ebp - 0xc]
add eax, 0x4000
mov dword [ebp - 0x1c], eax
cmp ebx, eax
ja 0x2704ac8e
mov ecx, eax
sub ecx, ebx
cmp ecx, 2
jb 0x2704ac8e
mov byte [ebx], 1
inc ebx
mov byte [ebx], 0
inc ebx
cmp ebx, eax
ja 0x2704ac8e
mov ecx, eax
sub ecx, ebx
cmp ecx, 2
jb 0x2704ac8e
push eax
lea edx, [ebx + 2]
push esi
lea edi, [ebp - 4]
call fcn.2704a854
pop ecx
pop ecx
test eax, eax
jne 0x2704af74
mov eax, dword [ebp - 4]
push dword [ebp - 0x1c]
lea ecx, [eax + ebx + 2]
mov dword [ebp - 8], eax
call fcn.2704a8e7
pop ecx
test eax, eax
jne 0x2704af74
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], eax
add esi, 0x4000
lea edx, [ebx + eax + 2]
mov eax, dword [ebp + 8]
push esi
call fcn.2704a95b
pop ecx
test eax, eax
jne 0x2704af74
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 8], eax
je 0x2704af1c
mov ecx, edi
push ecx
push esi
push dword [ebp + 8]
lea esi, [ebx + eax + 2]
call fcn.2704aa15
add esp, 0xc
test eax, eax
jne 0x2704af74
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebx + eax + 2]
push eax
mov edx, edi
add ecx, 0x4000
call fcn.2704aad2
pop ecx
test eax, eax
jne 0x2704af74
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
add ecx, 0x4000
push ecx
lea edx, [ebx + eax + 2]
lea edi, [ebp - 4]
call fcn.2704ab0e
pop ecx
test eax, eax
jne 0x2704af74
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
je 0x2704af50
mov ecx, eax
shr ecx, 8
mov byte [ebx], cl
inc ebx
mov byte [ebx], al
lea ebx, [ebx + eax + 1]
sub ebx, dword [ebp - 0xc]
mov eax, dword [esi + 0xa8]
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], 0x16
mov byte [eax], 1
inc dword [esi + 4]
call fcn.2703bbb1
pop edi
pop esi
pop ebx
leave
ret