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

Disassembly:
cmp al, ch
or ch, byte [edi]
add byte [eax - 0x18], dl
xchg esp, eax
sar bh, 1
inc dword [ebx + 0x448908c4]
and al, 0x14
test eax, eax
jne 0x54e492
push 0x658ac8
push edi
jmp 0x54e705
lea ecx, [esp + 0x20]
push ecx
push 0x142
push edi
call fcn.0054bad0
lea edx, [esp + 0x28]
push edx
push 0x143
push edi
call fcn.0054bad0
mov ebx, dword [esp + 0x70]
push ebx
push esi
call fcn.0054e720
mov ecx, dword [esp + 0x74]
mov ebp, eax
mov ax, word [esi + 0x1c]
add esp, 0x20
mov dword [esp + 0x38], eax
cmp ax, 1
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], ebp
jne 0x54e4e0
add eax, ecx
jmp 0x54e4e2
sub eax, ecx
neg eax
xor edi, edi
mov dword [esp + 0x30], eax
test ebx, ebx
mov dword [esp + 0x24], edi
jbe 0x54e6e2
jmp 0x54e4fc
mov ebx, dword [esp + 0x58]
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x1c]
add eax, edi
xor edx, edx
div ecx
mov eax, ecx
sub eax, edx
lea edx, [eax + edi]
cmp edx, ebx
jbe 0x54e51e
mov eax, ebx
sub eax, edi
mov dword [esp + 0x10], eax
jmp 0x54e522
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x54]
xor ebx, ebx
test ecx, ecx
jbe 0x54e6be
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x14]
push 0
add eax, edi
push 0
push eax
mov eax, dword [esi + 0x48]
mov ecx, ebx
add ecx, eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.00555a40
add esp, 0x18
test eax, eax
jge 0x54e563
mov eax, dword [esi + 4]
test eax, eax
jne 0x54e6b2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00555290
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esi + 0x44]
xor edx, edx
add eax, ecx
add esp, 4
div dword [esp + 0x1c]
imul edx, edi
cmp word [esp + 0x38], 4
mov dword [esp + 0x44], edx
jne 0x54e628
push edi
call fcn.0054b510
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x54e6fb
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
test ecx, 0xfffffffe
jbe 0x54e617
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov esi, ecx
mov eax, dword [esp + 0x14]
sub esi, ebp
mov ecx, dword [esp + 0x28]
dec esi
push edi
imul esi, edi
add esi, eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call fcn.0054b580
mov edx, dword [esp + 0x24]
push edi
push esi
push edx
call fcn.0054b580
mov eax, dword [esp + 0x40]
push edi
push eax
push esi
call fcn.0054b580
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, ecx
add esp, 0x24
inc ebp
add eax, edi
shr edx, 1
cmp ebp, edx
mov dword [esp + 0x18], eax
jb 0x54e5bf
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
push eax
call fcn.0054b520
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
lea eax, [ebx + ecx]
cmp eax, edi
jbe 0x54e673
mov eax, edi
mov edi, dword [esp + 0x14]
add edx, edi
sub eax, ebx
push edx
mov edx, dword [esp + 0x34]
sub ecx, eax
add edx, ecx
push edx
mov edx, ebp
imul edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x64]
add edx, ebx
push ebp
push ebx
lea ecx, [eax + edx*4]
push ecx
push esi
call dword [esp + 0x58]
mov edi, dword [esp + 0x78]
add esp, 0x24
jmp 0x54e6a0
mov eax, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
push edx
push 0
push eax
push ecx
mov ecx, ebp
mov edx, dword [esp + 0x64]
imul ecx, edi
add ecx, ebx
push ebp
push ebx
lea eax, [edx + ecx*4]
push eax
push esi
call dword [esp + 0x58]
add esp, 0x24
add ebx, dword [esp + 0x20]
cmp ebx, edi
mov edi, dword [esp + 0x24]
jb 0x54e530
jmp 0x54e6ba
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x10]
cmp word [esp + 0x38], 1
mov ecx, eax
jne 0x54e6ca
neg ecx
add edi, eax
mov eax, dword [esp + 0x58]
add ebp, ecx
cmp edi, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], edi
jb 0x54e4f8
mov edx, dword [esp + 0x14]
push edx
call fcn.0054b520
mov eax, dword [esp + 0x44]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, dword [esp + 0x2c]
push 0x658aa8
push ecx
call fcn.00554e60
add esp, 4
push eax
call fcn.00554e80
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret