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

Disassembly:
push 0xffffffffffffffff
push 0x693c47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov ebx, dword [0x8189b8]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x14], ebx
jne 0x54e1d4
mov dword [esp + 0xd0], 0xffffffff
push 1
lea ecx, [esp + 0xdc]
call fcn.004031c0
jmp 0x54ea73
or edi, 0xffffffff
mov esi, 0x8158fc
mov eax, dword [esi]
test eax, eax
jne 0x54e1e7
mov eax, 0x6a3560
push eax
mov eax, dword [esp + 0xec]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x54e208
add esi, 0x10
inc ebp
cmp esi, 0x815a4c
jl 0x54e1dc
jmp 0x54e20a
mov edi, ebp
mov eax, dword [0x818794]
cmp dword [eax + 0x4a4], 0xfa
jne 0x54e25b
cmp edi, 8
je 0x54e25b
cmp edi, 0xd
je 0x54e25b
cmp edi, 0x11
je 0x54e25b
cmp edi, 0x12
je 0x54e25b
cmp edi, 0x13
je 0x54e25b
or eax, 0xffffffff
push 1
cmp edi, eax
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0xdc]
je 0x54e1ca
call fcn.004031c0
mov al, 1
jmp 0x54ea75
cmp edi, 0x14
ja case.default.0x54e264
jmp dword [edi*4 + 0x54ea90]
push 0
push 5
mov ecx, ebx
call fcn.005d9700
jmp 0x54ea09
push 0xff
push 5
mov ecx, ebx
call fcn.005d9700
jmp 0x54ea09
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0067504b
add esp, 4
mov ecx, ebx
push eax
push 1
call fcn.005c8210
jmp 0x54ea09
mov edx, dword [esp + 0xec]
push edx
call fcn.0067504b
add esp, 4
mov ecx, ebx
push eax
push 2
call fcn.005c8210
jmp 0x54ea09
mov eax, dword [esp + 0xec]
push eax
call fcn.0067504b
add esp, 4
mov ecx, ebx
push eax
push 3
call fcn.005c8210
jmp 0x54ea09
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0067504b
mov edx, dword [esp + 0xf4]
mov esi, eax
push edx
call fcn.0067504b
add esp, 8
mov ecx, ebx
push eax
push esi
call fcn.005c8260
jmp 0x54ea09
mov ecx, dword [0x818984]
lea eax, [esp + 0x38]
push 1
push eax
mov byte [esp + 0x40], 0x36
call fcn.00451b80
jmp 0x54ea09
mov ecx, dword [esp + 0xe8]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0xe0]
add eax, 2
cmp ecx, eax
jb 0x54ea09
mov edx, dword [0x6a3564]
lea ecx, [esp + 0xd8]
push edx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00408170
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 1
push ecx
push 7
mov ecx, ebx
call fcn.005c7730
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov edx, dword [esp + 0xe8]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0xe0]
add eax, 2
cmp ecx, eax
jb 0x54ea09
mov ecx, dword [0x6a3564]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
lea ecx, [esp + 0xe4]
call fcn.00408170
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
push 0x11
mov byte [esp + 0xd8], 2
call fcn.005c7730
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x7c], cl
lea ecx, [esp + 0x7c]
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x7c]
push ebp
call fcn.00403350
test al, al
je 0x54e458
mov edi, dword [esp + 0x7c]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x7c]
call fcn.00403330
lea eax, [esp + 0x78]
mov ecx, ebx
push eax
push 1
mov byte [esp + 0xd8], 3
call fcn.005c82b0
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.0067504b
mov dl, byte [esp + 0x17]
add esp, 4
lea ecx, [esp + 0xb8]
mov ebx, eax
push 0
mov byte [esp + 0xbc], dl
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0xbc]
push ebp
call fcn.00403350
test al, al
je 0x54e4fd
mov edi, dword [esp + 0xbc]
mov ecx, ebp
mov eax, ecx
push ebp
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 + 0xbc]
call fcn.00403330
lea ecx, [esp + 0xb8]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push 2
mov byte [esp + 0xdc], 4
call fcn.005c8430
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov edx, dword [esp + 0xf0]
push edx
call fcn.0067504b
add esp, 4
mov ebx, eax
mov al, byte [esp + 0x13]
lea ecx, [esp + 0xa8]
push 0
mov byte [esp + 0xac], al
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0xac]
push ebp
call fcn.00403350
test al, al
je 0x54e5ab
mov edi, dword [esp + 0xac]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xac]
call fcn.00403330
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xa8]
push ebx
push eax
push 6
mov byte [esp + 0xdc], 5
call fcn.005c8430
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x4c]
push ebp
call fcn.00403350
test al, al
je 0x54e63a
mov edi, dword [esp + 0x4c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 6
push ecx
push 5
mov ecx, ebx
call fcn.005c82b0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6c], dl
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x6c]
push ebp
call fcn.00403350
test al, al
je 0x54e6c0
mov edi, dword [esp + 0x6c]
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]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], ebp
mov byte [ecx + ebp], 0
lea edx, [esp + 0x68]
mov ecx, ebx
push edx
push 3
mov byte [esp + 0xd8], 7
call fcn.005c82b0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], al
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x5c]
push ebp
call fcn.00403350
test al, al
je 0x54e746
mov edi, dword [esp + 0x5c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 8
push ecx
push 4
mov ecx, ebx
call fcn.005c82b0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
test eax, eax
je 0x54ea09
mov cl, byte [eax + 0x4a8]
test cl, cl
jne 0x54ea09
cmp dword [eax + 0x4ac], 0xffffffff
jne 0x54ea09
push 5
push 3
mov ecx, ebx
call fcn.005d9700
jmp 0x54ea09
test eax, eax
je 0x54ea09
mov cl, byte [eax + 0x4a8]
test cl, cl
jne 0x54ea09
cmp dword [eax + 0x4ac], 0xffffffff
jne 0x54ea09
push 1
push 3
mov ecx, ebx
call fcn.005d9700
jmp 0x54ea09
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.00403350
test al, al
je 0x54e832
mov edi, dword [esp + 0x2c]
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]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [ecx + ebp], 0
lea edx, [esp + 0x28]
mov ecx, ebx
push edx
push 7
mov byte [esp + 0xd8], 9
call fcn.005c82b0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.004031c0
mov esi, dword [esp + 0xec]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00403350
test al, al
je 0x54e8b8
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 0xa
push ecx
push 8
mov ecx, ebx
call fcn.005c82b0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 0
call fcn.004031c0
jmp 0x54ea09
mov dl, byte [esp + 0x13]
or ecx, 0xffffffff
mov byte [esp + 0x88], dl
mov edx, dword [esp + 0xec]
mov edi, edx
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x8c], esi
push ecx
push edx
lea ecx, [esp + 0x90]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
call fcn.004083a0
lea eax, [esp + 0x88]
mov ecx, ebx
push eax
push 9
mov byte [esp + 0xd8], 0xb
call fcn.005c82b0
mov eax, dword [esp + 0x8c]
mov byte [esp + 0xd0], 0
cmp eax, esi
je 0x54ea09
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x54e9f9
cmp al, 0xff
je 0x54e9f9
dec al
mov byte [ecx], al
jmp 0x54ea09
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0xec]
mov byte [esp + 0x98], cl
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x9c], esi
push ecx
push edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
call fcn.004083a0
lea edx, [esp + 0x98]
mov ecx, ebx
push edx
mov byte [esp + 0xd4], 0xc
call fcn.005c8620
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xd0], 0
cmp eax, esi
je 0x54ea09
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x54e9f9
cmp al, 0xff
je 0x54e9f9
dec al
mov byte [ecx], al
jmp 0x54ea09
push ecx
call fcn.006713a0
add esp, 4
jmp 0x54ea09
cmp edi, 0xffffffff
je 0x54ea41
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xd0], 0xffffffff
test ecx, ecx
je 0x54ea3d
mov al, byte [ecx - 1]
test al, al
je 0x54ea33
cmp al, 0xff
je 0x54ea33
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x54ea75
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov al, 1
jmp 0x54ea75
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xd0], 0xffffffff
test ecx, ecx
je 0x54ea73
mov al, byte [ecx - 1]
test al, al
je 0x54ea69
cmp al, 0xff
je 0x54ea69
dec al
mov byte [ecx - 1], al
jmp 0x54ea73
dec ecx
push ecx
call fcn.006713a0
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret