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

Disassembly:
mov ecx, dword [0x7a1414]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54b1e2
add esp, 0xffffff80
mov eax, dword [esp + 0x88]
movzx ecx, word [eax + 0x74]
cmp cx, 0xc
je 0x54a750
cmp cx, 5
je 0x54a750
cmp cx, 1
je 0x54a750
cmp cx, 0xa
je 0x54a750
cmp cx, 6
jne 0x54a754
sub esp, 0xffffff80
ret
cmp cx, 2
je 0x54a764
cmp cx, 3
jne 0x54aa14
mov edx, dword [esp + 0x84]
mov ebx, dword [edx]
movzx ebp, byte [ebx + 0x19]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x54aa10
cmp cx, 3
jne 0x54a7a9
mov dword [esp], ebx
lea eax, [0x5f09f6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0
call sym.cmd_internal_obj._Link_.LookupInit
mov eax, dword [esp + 0x10]
jmp 0x54a7d0
nop
mov dword [esp], ebx
lea eax, [0x5f0a06]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0
call sym.cmd_internal_obj._Link_.LookupInit
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ebx, [sym.cmd_internal_obj_ppc64._ctxt9_.rewriteToUseTOC.func1]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
mov dword [esp + 0x7c], eax
mov dword [esp], 0
lea ebp, [0x5e632a]
mov dword [esp + 4], ebp
mov dword [esp + 8], 4
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
call sym.cmd_internal_obj._Link_.LookupInit
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x40]
mov ebx, dword [ecx + 0x44]
mov word [ecx + 0x74], 0x2127
mov word [ecx + 0xe], 0x603
mov ebp, dword [0x7a14d8]
test ebp, ebp
je 0x54a88a
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [ecx + 0x1c]
mov dword [edi + 4], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [ecx + 0x1c], eax
mov byte [ecx + 0x3a], 7
mov word [ecx + 0x34], 0x100c
mov byte [ecx + 0x3b], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov eax, dword [0x7a14d8]
test eax, eax
je 0x54a8c5
mov eax, dword [ecx + 0x48]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx + 0x48], 0
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 4]
mov ebx, dword [edx]
call ebx
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [0x7a14d8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 4]
test ecx, ecx
je 0x54a909
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov dword [esp + 0x38], eax
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ebx + 0x68]
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], ecx
mov word [eax + 0x74], 0x200e
mov byte [eax + 0xe], 4
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x18], ecx
mov byte [eax + 0x3a], 7
mov word [eax + 0x34], 0x100c
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov ebp, dword [edx]
call ebp
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [0x7a14d8]
mov ebx, dword [esp + 0x38]
mov ebp, dword [ebx + 4]
test ecx, ecx
je 0x54a97b
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov dword [esp + 0x34], eax
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x6c]
mov ebx, dword [ebx + 0x68]
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ecx
mov word [eax + 0x74], 0x2127
mov byte [eax + 0xe], 7
mov word [eax + 8], 0x100c
mov byte [eax + 0x3a], 7
mov word [eax + 0x34], 0x1408
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov ebx, dword [edx]
call ebx
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [0x7a14d8]
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx + 4]
test ecx, ecx
je 0x54a9e5
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x68]
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ecx
mov word [eax + 0x74], 1
mov byte [eax + 0x3a], 7
mov word [eax + 0x34], 0x1408
mov eax, dword [esp + 0x88]
jmp 0x54aa14
sub esp, 0xffffff80
ret
movzx ecx, byte [eax + 0xf]
cmp cl, 1
je 0x54aa26
cmp cl, 2
jne 0x54ac00
movzx ecx, byte [eax + 0xe]
cmp cl, 8
jne 0x54ab6b
movzx ecx, word [eax + 0x74]
cmp cx, 0x2157
je 0x54ab67
cmp cx, 0x2127
jne 0x54aadf
cmp byte [eax + 0x3a], 7
je 0x54ab70
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
lea ecx, [0x5c6b80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54aa91
mov ecx, dword [esp + 0x88]
jmp 0x54aa9f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
inc dword [ecx + 0x90]
mov edx, dword [ecx + 0x80]
mov ecx, dword [edx]
lea ebx, [0x5ff95e]
mov dword [esp], ebx
mov dword [esp + 4], 0x3e
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ecx
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
lea ecx, [0x5c6b80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54ab19
mov ecx, dword [esp + 0x88]
jmp 0x54ab27
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
inc dword [ecx + 0x90]
mov edx, dword [ecx + 0x80]
mov ecx, dword [edx]
lea ebx, [0x5fc014]
mov dword [esp], ebx
mov dword [esp + 4], 0x29
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ecx
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
cmp cl, 3
jne 0x54ab78
lea ecx, [eax + 8]
jmp 0x54ac1f
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
lea ecx, [0x5c6b80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54abb2
mov ecx, dword [esp + 0x88]
jmp 0x54abc0
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
inc dword [ecx + 0x90]
mov edx, dword [ecx + 0x80]
mov ecx, dword [edx]
lea ebx, [0x5fd274]
mov dword [esp], ebx
mov dword [esp + 4], 0x2d
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ecx
sub esp, 0xffffff80
ret
movzx ecx, byte [eax + 0x3b]
cmp cl, 1
je 0x54ac12
cmp cl, 2
jne 0x54b1de
cmp byte [eax + 0x3a], 3
jne 0x54b156
lea ecx, [eax + 0x34]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x54b0ce
cmp byte [edx + 8], 7
je 0x54b0ca
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ebx, [sym.cmd_internal_obj_ppc64._ctxt9_.rewriteToUseTOC.func2]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov ebp, dword [ebx]
mov dword [esp + 0x7c], ebp
mov dword [esp], 0
lea esi, [0x5e632a]
mov dword [esp + 4], esi
mov dword [esp + 8], 4
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
call sym.cmd_internal_obj._Link_.LookupInit
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 6], 8
jne 0x54adc5
mov ecx, dword [esp + 0x88]
mov byte [ecx + 0xe], 3
mov ebx, dword [0x7a14d8]
test ebx, ebx
je 0x54acf2
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [ecx + 0x1c]
mov dword [edi + 4], ebx
mov dword [ecx + 0x1c], eax
mov byte [ecx + 0xf], 6
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
test eax, eax
setne al
test ebx, ebx
setne bl
or ebx, eax
test bl, bl
je 0x54adc1
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 4]
mov eax, dword [edx]
call eax
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [0x7a14d8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 4]
test ecx, ecx
je 0x54ad50
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x68]
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ecx
mov word [eax + 0x74], 0x200e
mov byte [eax + 0xe], 4
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov ecx, dword [0x7a14d8]
lea edi, [eax + 0x34]
lea esi, [ebx + 0x34]
test ecx, ecx
je 0x54adbc
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edi
lea eax, [0x5da860]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call sym.runtime.wbMove
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
call fcn.00468740
sub esp, 0xffffff80
ret
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 4]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [0x7a14d8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 4]
test ecx, ecx
je 0x54ae06
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ebx + 0x68]
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], ecx
mov word [eax + 0x74], 0x2127
mov byte [eax + 0xe], 3
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54ae32
mov ecx, dword [esp + 0x24]
jmp 0x54ae43
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x24]
mov dword [edi], ecx
mov ebp, dword [eax + 0x1c]
mov dword [edi + 4], ebp
mov dword [esp + 0x30], eax
mov dword [eax + 0x1c], ecx
mov byte [eax + 0xf], 6
mov byte [eax + 0x3a], 7
mov word [eax + 0x34], 0x101f
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov ebx, dword [edx]
call ebx
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [0x7a14d8]
mov ebx, dword [esp + 0x30]
mov ebp, dword [ebx + 4]
test ecx, ecx
je 0x54ae92
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov dword [eax + 4], ebp
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x68]
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ecx
mov ecx, dword [esp + 0x88]
movzx edx, word [ecx + 0x74]
mov word [eax + 0x74], dx
mov edx, dword [0x7a14d8]
lea edi, [eax + 8]
lea esi, [ecx + 8]
mov dword [esp + 0x78], esi
lea ebx, [eax + 0x34]
lea ebp, [ecx + 0x34]
mov dword [esp + 0x74], ebp
test edx, edx
je 0x54af2c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
lea eax, [0x5da860]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call sym.runtime.wbMove
lea eax, [0x5da860]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
call sym.runtime.wbMove
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
call fcn.00468740
mov edi, ebx
mov esi, ebp
call fcn.00468740
mov ecx, dword [esp + 0x88]
movzx edx, byte [ecx + 0xf]
test dl, dl
je 0x54af77
mov byte [eax + 0xe], 3
mov word [eax + 8], 0x101f
mov byte [eax + 0xf], 0
mov edx, dword [0x7a14d8]
test edx, edx
je 0x54af6b
mov edx, dword [eax + 0x1c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0x1c], 0
jmp 0x54b03c
movzx edx, byte [ecx + 0x3b]
test dl, dl
je 0x54afad
mov byte [eax + 0x3a], 3
mov word [eax + 0x34], 0x101f
mov byte [eax + 0x3b], 0
mov edx, dword [0x7a14d8]
test edx, edx
je 0x54afa1
mov edx, dword [eax + 0x48]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0x48], 0
jmp 0x54b03c
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
lea ecx, [0x5c6b80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54afe7
mov ecx, dword [esp + 0x88]
jmp 0x54aff5
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ebx, dword [esp + 0x3c]
inc dword [ebx + 0x90]
mov edx, dword [ebx + 0x80]
mov ebx, dword [edx]
lea ebp, [0x5fc9d1]
mov dword [esp], ebp
mov dword [esp + 4], 0x2b
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ebx
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x74]
nop
mov word [ecx + 0x74], 7
mov byte [ecx + 0x7e], 0
mov edx, dword [0x7a14d8]
test edx, edx
je 0x54b092
mov eax, dword [ecx + 0x28]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
lea eax, [0x5da860]
mov dword [esp], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
call sym.runtime.wbZero
lea eax, [0x5da860]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call sym.runtime.wbZero
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
xor eax, eax
call fcn.00468278
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x28], 0
mov word [ecx + 0x76], 0
mov edi, ebp
call fcn.00468278
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
lea ecx, [0x5c6b80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54b108
mov ecx, dword [esp + 0x88]
jmp 0x54b116
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
inc dword [ecx + 0x90]
mov edx, dword [ecx + 0x80]
mov ecx, dword [edx]
lea ebx, [0x5fc525]
mov dword [esp], ebx
mov dword [esp + 4], 0x2a
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ecx
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
lea ecx, [0x5c6b80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5de540]
mov dword [eax], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x54b190
mov ecx, dword [esp + 0x88]
jmp 0x54b19e
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
inc dword [ecx + 0x90]
mov edx, dword [ecx + 0x80]
mov ecx, dword [edx]
lea ebx, [0x5fd274]
mov dword [esp], ebx
mov dword [esp + 4], 0x2d
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call ecx
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_obj_ppc64._ctxt9_.rewriteToUseTOC