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

Disassembly:
push 0xffffffffffffffff
push 0x6925e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov al, byte [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x24], ebp
mov byte [ebp + 0xc8], 0
mov byte [esp + 0x28], al
call fcn.004031c0
mov cl, byte [esp + 0x64]
mov dword [esp + 0x5c], edi
mov byte [esp + 0x34], cl
push edi
lea ecx, [esp + 0x38]
call fcn.004031c0
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov byte [esp + 0x5c], 1
mov edx, dword [esi]
add edx, 2
mov dword [esi], edx
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
jg 0x5388cf
mov edx, dword [ebx + 8]
mov cx, word [edx + eax - 2]
cmp cx, 1
jne 0x5388fd
inc eax
mov dword [esi], eax
mov ecx, dword [ebx + 4]
cmp eax, ecx
jle 0x538787
mov byte [esp + 0x10], 0
jmp 0x538792
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + eax - 1]
mov byte [esp + 0x10], dl
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
and edi, 0xff
mov dword [esp + 0x1c], edi
jle 0x5388b0
jmp 0x5387b0
mov edi, dword [esp + 0x1c]
mov edx, dword [esi]
inc edx
mov dword [esi], edx
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
jle 0x5387c5
mov byte [esp + 0x18], 0
jmp 0x5387d0
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + eax - 1]
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
and eax, 0xff
push eax
push ecx
push esi
push ebx
call fcn.00451d40
mov ecx, dword [esp + 0x24]
lea eax, [edi - 1]
add esp, 0x10
cmp ecx, eax
jge 0x538812
mov edi, 0x6d6624
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6d6624
lea ecx, [esp + 0x3c]
call fcn.0040f5b0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0x6a3560
test eax, eax
je 0x538826
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x6a3564]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
cmp edx, ebp
ja 0x53884b
call fcn.006713ab
test ebp, ebp
jbe 0x538897
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x28]
lea ebx, [eax + ebp]
push ebx
call fcn.00403350
test al, al
je 0x538893
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
push ebx
lea edi, [edx + ecx]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00403330
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5387ac
mov ebp, dword [esp + 0x20]
push 6
mov ecx, ebp
call fcn.005358e0
mov ecx, dword [ebp + 0x110]
test ecx, ecx
je 0x5388cd
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x78]
xor edi, edi
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x5c], 0
cmp ecx, edi
je 0x5389bf
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x5389b6
cmp al, 0xff
je 0x5389b6
dec al
mov byte [ecx], al
jmp 0x5389bf
cmp cx, 0xffff
jne 0x5388cf
mov ecx, dword [0x8189b8]
mov eax, dword [ecx + 0x1bc]
cmp eax, edi
je 0x5388cf
cmp dword [eax + 0x14], edi
je 0x5388cf
mov dl, byte [esp + 0x64]
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.004031c0
lea eax, [esp + 0x44]
mov byte [esp + 0x5c], 2
push eax
push 0x2c3a
call fcn.00615080
mov cl, byte [esp + 0x4c]
sub esp, 8
mov esi, esp
mov dword [esp + 0x74], esp
push edi
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x54]
push edx
push edi
push eax
mov ecx, esi
call fcn.00402fc0
mov ecx, dword [0x8189b8]
mov byte [esp + 0x6c], 2
mov edx, dword [ecx + 0x1bc]
mov ecx, dword [edx + 0x14]
call fcn.0053bd70
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x5c], 1
cmp ecx, edi
je 0x5388cf
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x5389a8
cmp al, 0xff
je 0x5389a8
dec al
mov byte [ecx], al
jmp 0x5388cf
push ecx
call fcn.006713a0
add esp, 4
jmp 0x5388cf
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
cmp ecx, edi
mov dword [esp + 0x5c], 0xffffffff
je 0x5389f7
mov al, byte [ecx - 1]
test al, al
je 0x5389ed
cmp al, 0xff
je 0x5389ed
dec al
mov byte [ecx - 1], al
jmp 0x5389f7
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 8