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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x100
mov eax, dword [esp + 0x110]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dl, byte [esp + 0x128]
mov byte [esp + 0x43], dl
mov eax, dword [esp + 0x124]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x120]
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x4c], edi
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
and dl, 1
mov byte [esp + 0x9f], dl
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xa0], ecx
sub eax, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
add eax, dword [edx + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0xa8], eax
cmp eax, ecx
jb 0x54e5f2
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov dword [eax + 0x14], esi
mov eax, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0054fe40
jmp 0x54e623
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xac], eax
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov al, byte [eax]
mov byte [esp + 0x33], al
mov byte [esp + 0xb3], al
call fcn.0054fe10
test al, 1
jne 0x54e65d
jmp 0x54e631
mov eax, dword [esp + 0x3c]
add esp, 0x100
pop esi
pop edi
pop ebx
ret
mov dl, byte [esp + 0x33]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov cl, dl
mov edi, esi
shr edi, cl
mov dword [esp + 0x2c], edi
mov cl, dl
shrd eax, esi, cl
mov ecx, dword [esp + 0x2c]
test dl, 0x20
cmovne eax, ecx
test al, 1
je 0x54e68d
jmp 0x54e6a5
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + 0x14]
jne 0x54e66c
jmp 0x54e631
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0054fe40
jmp 0x54e623
mov al, byte [esp + 0x43]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
add edx, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
test al, 1
jne 0x54e6ba
jmp 0x54e6af
mov al, byte [esp + 0x43]
test al, 1
jne 0x54e6eb
jmp 0x54e6c1
mov eax, dword [esp + 0x54]
mov dword [eax + 0x1c], 0
jmp 0x54e6bc
jmp 0x54e5ac
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
mov dword [esp + 0xb4], ecx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb8], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00544020
mov dword [esp + 0x64], eax
jmp 0x54e6f6
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x68]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x68]
add eax, 4
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
jb 0x54e74c
mov al, byte [esp + 0x43]
test al, 1
jne 0x54e7ae
jmp 0x54e7a1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov dword [esp + 0xf8], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0053ef60
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], 1
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov dword [esp + 0xfc], eax
cmp eax, ecx
jb 0x54e969
jmp 0x54e98d
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x78], eax
jmp 0x54e7b6
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov eax, dword [eax + 8]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0x7c]
add eax, 4
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x80]
jb 0x54e84a
mov al, byte [esp + 0x43]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x20], esi
mov dword [esp + 0xf0], esi
add edx, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
test al, 1
jne 0x54e8a8
jmp 0x54e89d
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0053efa0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], 1
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xf4], eax
cmp eax, ecx
jb 0x54e8cd
jmp 0x54e8f1
mov eax, dword [esp + 0x54]
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
mov eax, ecx
add eax, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0054fe20
jmp 0x54e623
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov bl, byte [esi + eax]
mov byte [esp + 0x17], bl
add eax, dword [edx + 0x14]
mov dword [esp + 0x18], eax
cmp eax, ecx
jb 0x54e90c
jmp 0x54e91f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x6078fc
call fcn.005f6c04
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
cmp al, byte [ecx + edx]
jne 0x54e93f
jmp 0x54e93a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x60790c
call fcn.005f6c04
jmp 0x54e7e8
mov al, byte [esp + 0x43]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
test al, 1
jne 0x54e962
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
sub ecx, dword [eax + 0x10]
mov dword [eax + 0x1c], ecx
jmp 0x54e964
jmp 0x54e6bc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov bl, byte [esi + eax]
mov byte [esp + 0xf], bl
add eax, dword [edx + 0x14]
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x54e9a8
jmp 0x54e9bb
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x60791c
call fcn.005f6c04
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
cmp al, byte [ecx + edx]
jne 0x54e9db
jmp 0x54e9d6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x60792c
call fcn.005f6c04
jmp 0x54e714
mov al, byte [esp + 0x43]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
sub edx, dword [ecx + 8]
add edx, 1
add edx, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
test al, 1
jne 0x54ea02
mov eax, dword [esp + 0x54]
mov dword [eax + 0x1c], 0
jmp 0x54e964