Function at 0x10297250
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x54
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x78]
lea edx, [edx + eax - 4]
mov dword [esp + 4], edx
cmp eax, 4
jbe 0x10297820
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x74]
movzx ecx, word [ebx]
lea edx, [eax - 1]
lea eax, [ebx + 4]
add edi, edx
mov dword [esp + 0x38], eax
mov eax, 8
mov dword [esp + 0x50], ecx
movzx esi, byte [edi]
test ecx, ecx
je 0x102972af
sub ecx, 1
mov eax, 4
shl eax, cl
add eax, 4
add eax, ebx
add edx, dword [esp + 0x7c]
lea ebx, [eax + esi*8]
mov dword [esp + 0x44], eax
mov esi, dword [ebx + 4]
mov dword [esp + 0x10], edx
lea ecx, [esi + 0x8000]
mov eax, ecx
shr ecx, 0x10
xor ax, ax
sub eax, esi
mov esi, dword [esp + 0x38]
sar eax, cl
add eax, dword [ebx]
movzx eax, word [esi + eax*2]
movzx esi, word [ebp]
mov dword [esp + 0xc], eax
movzx eax, byte [edx]
lea edx, [ebp + 4]
mov dword [esp + 0x34], edx
mov edx, 8
mov dword [esp + 0x4c], esi
test esi, esi
je 0x1029730b
lea ecx, [esi - 1]
mov edx, 4
shl edx, cl
add edx, 4
add edx, ebp
mov dword [esp + 0x40], edx
lea edx, [edx + eax*8]
mov ebx, dword [edx + 4]
lea ecx, [ebx + 0x8000]
mov eax, ecx
shr ecx, 0x10
xor ax, ax
sub eax, ebx
sar eax, cl
add eax, dword [edx]
mov edx, dword [esp + 0x34]
movzx eax, word [edx + eax*2]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
movzx edx, byte [eax + edx - 1]
mov eax, dword [esp + 0x80]
movzx esi, word [eax]
add eax, 4
mov dword [esp + 0x30], eax
mov eax, 8
mov dword [esp + 0x48], esi
test esi, esi
jne 0x10297830
add eax, dword [esp + 0x80]
lea ebx, [eax + edx*8]
mov dword [esp + 0x3c], eax
mov esi, dword [ebx + 4]
lea ecx, [esi + 0x8000]
mov eax, ecx
shr ecx, 0x10
xor ax, ax
sub eax, esi
mov esi, dword [esp + 0x30]
sar eax, cl
add eax, dword [ebx]
mov ecx, dword [esp + 4]
movzx eax, word [esi + eax*2]
movzx esi, byte [edx + 0x1044f420]
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, esi
movzx ebx, al
mov eax, dword [esp + 0x88]
lea ebp, [eax + edx*8 - 8]
mov edx, dword [esp + 0x68]
movzx eax, word [ebp + 4]
and eax, dword [ebx*4 + 0x1044f020]
shr ebx, 3
mov dword [edx], eax
mov edx, dword [esp + 0x68]
add edx, ebx
cmp ecx, edx
cmovbe edx, ecx
mov ecx, esi
and esi, 7
mov dword [esp], esi
movzx esi, byte [edi]
and ecx, 7
movzx edi, word [ebp + 6]
movzx esi, byte [esi + 0x1044f6e0]
and edi, dword [esi*4 + 0x1044f020]
shl edi, cl
lea ecx, [ebx*8]
mov ebx, dword [esp + 4]
shr eax, cl
or eax, edi
mov edi, dword [esp]
mov dword [edx], eax
add esi, edi
mov edi, esi
shr edi, 3
add edx, edi
mov ecx, edi
cmp ebx, edx
cmovbe edx, ebx
shl ecx, 3
mov ebx, dword [esp + 0x90]
and esi, 7
shr eax, cl
mov dword [esp], eax
mov edi, edx
test ebx, ebx
je 0x102978f0
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
cmp edx, 0x17
ja 0x10297848
mov eax, dword [edx*4 + 0x1044f020]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
add edx, esi
shr eax, cl
mov ecx, esi
and eax, ebx
mov ebx, dword [esp]
shl eax, cl
or eax, ebx
mov ecx, edx
mov esi, dword [esp + 4]
mov dword [edi], eax
shr ecx, 3
lea ebx, [edi + ecx]
cmp esi, ebx
cmovbe ebx, esi
shl ecx, 3
and edx, 7
shr eax, cl
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], ebx
add eax, 0xfffffffe
jae 0x10297750
mov dword [esp], eax
jmp 0x1029751c
mov esi, dword [esi*4 + 0x1044f020]
mov dword [esp + 0x14], esi
xor esi, esi
mov ecx, dword [esp]
mov edi, dword [esp + 0x88]
mov edi, dword [edi + ecx*8]
mov ecx, esi
mov dword [esp + 0x18], edi
shr edi, cl
mov ecx, edx
mov esi, edi
mov edi, dword [esp + 0x14]
and esi, edi
mov edi, dword [esp + 0x10]
shl esi, cl
or ebx, esi
add edx, edi
mov ecx, edx
mov esi, dword [esp + 4]
mov dword [eax], ebx
shr ecx, 3
add eax, ecx
cmp esi, eax
cmovbe eax, esi
shl ecx, 3
sub dword [esp], 1
and edx, 7
shr ebx, cl
mov dword [esp + 0x20], eax
mov eax, dword [esp]
mov dword [esp + 0x24], ebx
cmp eax, dword [esp + 0x8c]
jae 0x10297750
mov eax, dword [esp]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
movzx esi, byte [esi + eax]
movzx ecx, byte [ebx + eax]
mov ebx, dword [esp + 0x74]
movzx ebp, byte [esi + 0x1044f420]
mov dword [esp + 0x2c], esi
movzx ebx, byte [ebx + eax]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x40]
movzx edi, byte [ebx + 0x1044f6e0]
lea esi, [ebp + ecx*8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edi
mov edi, eax
add ecx, eax
mov ebp, ecx
shr ebp, 0x10
lea ecx, [ebp + edx]
and eax, dword [ebp*4 + 0x1044f020]
mov dword [esp + 0x18], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x24]
sar edi, cl
mov ecx, dword [esi]
mov esi, dword [esp + 0x34]
add ecx, edi
mov edi, dword [esp + 0xc]
movzx ecx, word [esi + ecx*2]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
lea esi, [ecx + ebx*8]
movzx ecx, byte [esp + 0x18]
mov ebx, dword [esi + 4]
add ebx, edi
shr ebx, 0x10
and edi, dword [ebx*4 + 0x1044f020]
shl edi, cl
mov ecx, edx
shl eax, cl
mov ecx, dword [esp + 0x18]
or edi, eax
mov eax, dword [esp + 0xc]
lea edx, [ebx + ecx]
mov ecx, ebx
mov ebx, dword [esp + 0x38]
or ebp, edi
sar eax, cl
add eax, dword [esi]
movzx ebx, word [ebx + eax*2]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, edx
shr ebx, 3
mov esi, ebx
mov ebx, dword [esp + 0x20]
mov dword [ebx], ebp
lea eax, [ebx + esi]
mov ebx, dword [esp + 4]
lea ebp, [ecx + edi*8]
mov edi, dword [esp + 8]
cmp ebx, eax
cmovbe eax, ebx
mov ebx, dword [ebp + 4]
and edx, 7
mov ecx, edx
add ebx, edi
shr ebx, 0x10
and edi, dword [ebx*4 + 0x1044f020]
add edx, ebx
shl edi, cl
lea ecx, [esi*8]
mov esi, dword [esp + 0x18]
shr esi, cl
mov ecx, ebx
mov ebx, edx
or esi, edi
mov edi, dword [esp + 8]
shr ebx, 3
sar edi, cl
mov ecx, dword [ebp]
mov ebp, dword [esp + 0x30]
add ecx, edi
mov edi, dword [esp]
movzx ecx, word [ebp + ecx*2]
mov ebp, dword [esp + 0x28]
mov dword [eax], esi
add eax, ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x88]
and edx, 7
movzx edi, word [ecx + edi*8 + 4]
mov ecx, edx
and edi, dword [ebp*4 + 0x1044f020]
add edx, ebp
shl edi, cl
lea ecx, [ebx*8]
shr esi, cl
or esi, edi
mov edi, dword [esp + 0x14]
lea ecx, [ebp + edi]
cmp ecx, 0x18
ja 0x102978c8
mov edi, dword [esp + 0x88]
mov ebx, dword [esp]
mov ecx, edx
movzx ebx, word [edi + ebx*8 + 6]
mov edi, dword [esp + 0x14]
add edx, edi
and ebx, dword [edi*4 + 0x1044f020]
shl ebx, cl
mov ecx, edx
or ebx, esi
shr ecx, 3
mov esi, dword [esp + 4]
mov dword [eax], ebx
add eax, ecx
cmp esi, eax
cmovbe eax, esi
shl ecx, 3
and edx, 7
shr ebx, cl
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x102978a0
mov esi, dword [esp + 0x10]
cmp esi, 0x17
jbe 0x102974b0
sub esi, 0x18
mov dword [esp + 0x14], 0xffffff
mov dword [esp + 0x10], 0x18
je 0x102974bd
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp]
mov edi, dword [esi*4 + 0x1044f020]
and edi, dword [ecx + ebp*8]
mov ecx, edx
add edx, esi
shl edi, cl
mov ecx, edx
or ebx, edi
shr ecx, 3
mov edi, dword [esp + 4]
mov dword [eax], ebx
add eax, ecx
cmp edi, eax
cmovbe eax, edi
shl ecx, 3
and edx, 7
shr ebx, cl
jmp 0x102974bd
mov esi, dword [esp + 0x50]
mov ecx, edx
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 4]
and eax, dword [esi*4 + 0x1044f020]
add edx, esi
mov ebx, dword [esp + 0x1c]
shl eax, cl
mov esi, edx
mov ecx, dword [esp + 0x4c]
or eax, edi
mov edi, edx
mov edx, dword [esp + 0x20]
shr esi, 3
mov dword [edx], eax
add edx, esi
cmp ebp, edx
cmovbe edx, ebp
and edi, 7
and ebx, dword [ecx*4 + 0x1044f020]
mov ecx, edi
shl ebx, cl
lea ecx, [esi*8]
mov esi, dword [esp + 8]
shr eax, cl
mov ecx, dword [esp + 0x4c]
or eax, ebx
add edi, ecx
mov dword [edx], eax
mov ecx, dword [esp + 0x48]
mov ebx, edi
shr ebx, 3
add edx, ebx
cmp ebp, edx
cmovbe edx, ebp
and edi, 7
and esi, dword [ecx*4 + 0x1044f020]
mov ecx, edi
shl esi, cl
lea ecx, [ebx*8]
shr eax, cl
mov ecx, dword [esp + 0x48]
or eax, esi
add edi, ecx
mov dword [edx], eax
mov ecx, edi
shr ecx, 3
add edx, ecx
cmp ebp, edx
cmovbe edx, ebp
shl ecx, 3
and edi, 7
shr eax, cl
lea ebx, [edi + 1]
bts eax, edi
mov dword [edx], eax
mov eax, ebx
shr eax, 3
add eax, edx
cmp ebp, eax
jb 0x10297820
and ebx, 7
cmp ebp, eax
je 0x10297820
sub eax, dword [esp + 0x68]
cmp ebx, 1
sbb eax, 0xffffffff
test eax, eax
jne 0x10297825
lea esi, [esi]
mov eax, 0xffffffba
add esp, 0x54
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [esi - 1]
mov eax, 4
shl eax, cl
add eax, 4
jmp 0x1029736c
lea ebx, [edx - 0x18]
mov dword [esp + 0x10], 0xffffff
mov edx, 0x18
test ebx, ebx
je 0x1029745d
mov ecx, esi
mov eax, dword [ebx*4 + 0x1044f020]
and eax, dword [ebp]
add esi, ebx
shl eax, cl
mov ecx, dword [esp]
or eax, ecx
mov ecx, esi
shr ecx, 3
mov dword [edi], eax
add edi, ecx
cmp dword [esp + 4], edi
cmovbe edi, dword [esp + 4]
shl ecx, 3
shr eax, cl
and esi, 7
mov dword [esp], eax
jmp 0x1029745d
mov edi, dword [esp]
mov esi, dword [esp + 0x88]
mov ecx, edx
mov esi, dword [esi + edi*8]
mov edi, dword [esp + 0x10]
and esi, dword [edi*4 + 0x1044f020]
add edx, edi
shl esi, cl
or ebx, esi
jmp 0x102974e6
mov ecx, edx
mov edi, dword [esp + 4]
mov dword [eax], esi
shr ecx, 3
add eax, ecx
cmp edi, eax
cmovbe eax, edi
shl ecx, 3
and edx, 7
shr esi, cl
jmp 0x1029769b
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx edx, byte [eax]
mov eax, dword [ebp]
and eax, dword [edx*4 + 0x1044f020]
add edx, esi
shl eax, cl
or eax, ebx
jmp 0x10297475