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

Disassembly:
mov eax, 0x437830
call fcn.0041b56c
sub esp, 0x60
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
call dword [0x4480b0]
xor ebx, ebx
cmp dword [esi], ebx
mov dword [ebp - 0x20], eax
je 0x436b47
push 0x10
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0041b590
mov edi, dword [ebp + 0x18]
add esp, 0xc
cmp edi, ebx
je 0x436730
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x44], eax
jmp 0x436733
mov eax, dword [ebp - 0x44]
test byte [ebp + 0xc], 0xc
mov dword [ebp - 0x1c], 0xfffffffd
je 0x43674d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x48], ecx
cmp eax, ebx
je 0x436947
shl eax, 4
push eax
call fcn.0042c2a2
mov esi, eax
mov eax, dword [ebp - 0x44]
shl eax, 4
push eax
push ebx
push esi
mov dword [ebp - 0x4c], esi
call fcn.0041b590
mov eax, dword [ebp - 0x44]
shl eax, 4
add esp, 0x10
cmp byte [edi], 0
lea esi, [esi + eax - 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
je 0x436947
mov eax, dword [ebp + 0x1c]
add esi, 8
lea ebx, [eax - 4]
add eax, 0xfffffff8
push 4
mov dword [ebp - 0x18], esi
mov dword [ebp + 0x1c], eax
pop edi
mov eax, dword [ebp - 0x14]
movzx ax, byte [eax]
test al, 0x40
mov ecx, dword [ebp - 0x10]
mov word [ecx], ax
je 0x4367be
and ax, 0xffbf
or ax, 0x4000
mov word [ecx], ax
movzx eax, word [ecx]
mov ecx, 0x4002
cmp eax, ecx
jg 0x4368f8
je case.0x436902.16387
dec eax
dec eax
cmp eax, 0x13
ja case.0x436902.16398
jmp dword [eax*4 + 0x436b5b]
sub eax, 0x4003
cmp eax, 0x12
ja case.0x436902.16398
jmp dword [eax*4 + 0x436bab]
add dword [ebp + 0x1c], edi
add ebx, edi
mov edx, dword ss:[ebp + 8]
push ebx
push esi
push edi
mov eax, dword ds:[edx + 0x3c]
inc edx
cmp al, 0x3e
mov eax, dword [eax + edx + 0x78]
inc edx
cmp al, 0x3e
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov ebx, dword ds:[eax + 0x18]
mov ecx, dword ds:[eax + 0x1c]
mov esi, dword ds:[eax + 0x20]
mov eax, dword ds:[eax + 0x24]
add ecx, edx
add eax, edx
mov dword ss:[ebp - 0x14], ecx
mov dword [ebp - 0x14], ecx
add esi, edx
mov dword ss:[ebp - 0x18], eax
test ebx, ebx
jbe 0x4369fe
lea eax, ds:[esi + ebx*4]
jmp 0x436962
mov eax, dword ss:[ebp - 0xc]
mov ecx, dword ss:[ebp + 0xc]
mov esi, dword ds:[eax - 4]
sub eax, 4
mov dword ss:[ebp - 4], ecx
mov dword ss:[ebp - 0xc], eax
lea edi, ds:[esi + edx]
or ecx, 0xffffffff
xor eax, eax
dec ebx
mov dword ss:[ebp - 8], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword ss:[ebp - 0x10], ebx
je 0x4369e6
mov eax, dword ss:[ebp - 8]
xor ecx, ecx
add esi, eax
mov cl, byte ds:[esi + edx]
mov edx, dword ss:[ebp - 4]
sub edx, ecx
mov dword ss:[ebp - 4], edx
pushal
mov eax, dword ss:[ebp - 4]
ror eax, 3
ror eax, 4
mov dword ss:[ebp - 4], eax
popal
mov eax, dword ss:[ebp - 0xc]
mov ecx, dword ss:[ebp + 8]
mov edx, dword ss:[ebp - 8]
mov esi, dword ds:[eax]
xor eax, eax
inc edx
lea edi, ds:[esi + ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword ss:[ebp - 8], edx
cmp edx, ecx
mov edx, dword ss:[ebp + 8]
jb 0x436992
mov ebx, dword ss:[ebp - 0x10]
mov eax, dword ss:[ebp - 4]
test eax, eax
je 0x4369f6
test ebx, ebx
ja 0x43695e
mov ecx, dword ss:[ebp - 0x14]
mov eax, dword ss:[ebp - 0x18]
test ebx, ebx
ja 0x436a0b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov si, word ds:[eax + ebx*2]
mov eax, dword ds:[ecx + esi*4]
add eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
adc al, 0x8d
xchg ebp, eax
invalid