Function at 0x554960
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x2c
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test edx, edx
je 0x554ca0
call fcn.004cb890
mov dword [esp], 0x98
mov ecx, eax
call fcn.004cba30
mov ebx, eax
mov eax, dword [ebp + 0xc]
sub esp, 4
movzx edx, byte [ebx + 0x1e]
mov byte [ebx + 0x1d], 1
and byte [ebx + 0x78], 0x80
or byte [ebx + 0x80], 0xf
and edx, 0xfffffff0
mov dword [ebx + 4], eax
movzx eax, byte [ebx + 0x20]
mov byte [ebx + 0x1e], dl
and byte [ebx + 0x28], 0xc0
mov byte [ebp - 0x19], al
and byte [ebp - 0x19], 0xfe
movzx eax, byte [ebp - 0x19]
mov dword [ebx + 0xc], 0
and word [ebx + 0x2a], 0xfe3f
mov byte [ebx + 0x20], al
movzx eax, byte [ebx + 0x7c]
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 1
mov dword [ebx], 0x6f25c8
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x7c], al
mov dword [ebx + 0x18], 0x6f2308
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov byte [ebx + 0x74], 0
mov byte [ebx + 0x75], 0
mov dword [ebx + 0x24], 0
and word [ebx + 0x28], 0xc03f
movzx eax, word [ebx + 0x42]
movzx ecx, word [ebx + 0x56]
or byte [ebx + 0x4c], 0x7f
and byte [ebx + 0x2d], 0x80
and ax, 0xf80f
or ax, 0x3f0
or cx, 0x1fe0
mov word [ebx + 0x42], ax
movzx eax, byte [ebx + 0x40]
mov word [ebx + 0x56], cx
shr cx, 8
or ecx, 0xffffffe0
and byte [ebx + 0x30], 0x80
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x40], al
mov eax, dword [ebx + 0x48]
or dword [ebx + 0x44], 0x7fff8000
or word [ebx + 0x3c], 0xfff
or word [ebx + 0x4c], 0x780
or eax, 0x7f8000
mov dword [ebx + 0x48], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebx + 0x4b], al
or dword [ebx + 0x50], 0x1ff80
or word [ebx + 0x54], 0x1ff8
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0xffffffff
mov byte [ebx + 0x5d], 0
mov byte [ebx + 0x5e], 0
mov byte [ebx + 0x5f], 0
mov dword [ebx + 0x60], 0xfffff800
mov byte [ebx + 0x57], cl
and dword [ebx + 0x28], 0xffc03fff
and byte [ebx + 0x5b], 0x1f
and byte [ebx + 0x5c], 0xe0
mov byte [ebx + 0x58], 0xff
movzx eax, byte [esi + 4]
mov byte [ebx + 0x84], 0
mov dword [ebx + 0x88], 0x6f1b88
mov dword [ebx + 0x8c], 0
mov byte [ebx + 0x1c], al
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x60], eax
movzx ecx, byte [esi + 5]
and ecx, 0xf
mov byte [ebx + 0x1d], cl
movzx eax, byte [esi + 5]
and eax, 0xfffffff0
or eax, ecx
mov byte [ebx + 0x1d], al
movzx eax, byte [esi + 6]
and eax, 0xf
or eax, edx
mov byte [ebx + 0x1e], al
movzx eax, byte [esi + 8]
and eax, 1
or al, byte [ebp - 0x19]
mov byte [ebx + 0x20], al
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x70], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x58]
mov dword [esp], ebx
call fcn.005a7250
sub esp, 4
test al, al
je 0x554c45
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
movzx ecx, byte [eax + 4]
mov edx, ecx
and edx, 0x3f
cmp edx, 8
je 0x554c90
cmp edx, 9
je 0x554c80
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x554c28
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x28]
mov dword [esp], ebx
call fcn.0051b330
mov edx, dword [ebp + 0x10]
sub esp, 4
mov dword [edx], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
mov dword [esp], ebx
call eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov ebx, dword [ecx + 4]
mov ecx, dword [edi]
mov edx, dword [edx + 0x70]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x6e4908
mov dword [esp + 8], str.unable_to_declare_patch_constant_function_interface_variable
mov dword [esp + 4], ecx
mov dword [esp], eax
call edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
and ecx, 0xffffffc0
or ecx, 4
mov byte [eax + 4], cl
jmp 0x554c0b
and ecx, 0xffffffc0
or ecx, 3
mov byte [eax + 4], cl
jmp 0x554c0b
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
mov dword [esp + 0x10], 0x6e4908
mov dword [esp + 0xc], 0x6e4908
mov dword [esp + 8], str.unable_to_locate_patch_function_parameter_name
mov dword [esp + 4], ecx
mov dword [esp], eax
call edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc