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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
call fcn.0053f756
mov dword [esp], ebx
call dword [fcn.004f2890]
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
je 0x55b314
cmp ebx, 2
jle 0x55b006
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x55b066
lea eax, [esi + 8]
mov edx, dword [esp + 0x7c]
mov dword [edi + 4], esi
mov dword [edi + 8], 0xe
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0xc]
lea eax, [edi + 0x10]
test edx, edx
mov dword [edi + 0x14], ecx
mov dword [ecx], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x30], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x48], 0xe
mov dword [edi + 0x64], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x44], edi
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x3c], 0
mov dword [edi + 0x2c], 0x1220
jne 0x55b1d6
xor eax, eax
mov dword [edi + 0x2c], 0x11220
mov dword [edi + 0x94], 0
mov word [edi + 0x98], ax
mov byte [edi + 0x9a], 0
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call dword [fcn.004f2630]
sub esp, 0x1c
test eax, eax
jne 0x55af3d
call dword [fcn.004f2694]
mov dword [esp], eax
call fcn.00540386
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x3a]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [0x4f265c]
sub esp, 8
test eax, eax
je 0x55b04f
mov dword [esp], 0x4ef580
call fcn.005576d6
cmp dword [0x4bd064], 1
je 0x55b2a9
mov eax, dword [esp + 0x30]
mov dword [0x4bd06c], eax
mov eax, dword [0x4ef578]
test eax, eax
jne 0x55b1b9
movzx eax, word [esp + 0x42]
test ax, ax
je 0x55b24b
mov edx, eax
mov ecx, eax
mov word [0x4bd06a], ax
and edx, 4
and ecx, 2
mov byte [0x4bd068], 0
mov word [esp + 0x2e], dx
mov edx, eax
mov byte [0x4ef57f], 0
and edx, 1
mov byte [0x4ef57e], 0
mov byte [0x4ef57d], 0
mov word [esp + 0x2c], dx
mov edx, eax
mov byte [0x4ef57c], 0
and edx, 0x40
mov word [esp + 0x2a], dx
mov edx, eax
and edx, 0x20
mov word [esp + 0x28], dx
mov edx, eax
and edx, 0x10
mov word [esp + 0x26], dx
mov edx, eax
and edx, 8
mov word [esp + 0x20], dx
mov edx, eax
and ax, 0x4000
and dx, 0x80
cmp word [esp + 0x2e], 0
jne 0x55b29d
test cx, cx
je 0x55b14c
or byte [0x4bd068], 2
cmp word [esp + 0x2c], 0
je 0x55b15b
or byte [0x4bd068], 4
cmp word [esp + 0x2a], 0
je 0x55b16a
mov byte [0x4ef57f], 1
cmp word [esp + 0x28], 0
je 0x55b179
or byte [0x4ef57f], 2
cmp word [esp + 0x26], 0
je 0x55b188
or byte [0x4ef57f], 4
cmp word [esp + 0x20], 0
je 0x55b197
mov byte [0x4ef57e], 1
test dx, dx
je 0x55b1a3
mov byte [0x4ef57d], 1
test ax, ax
je 0x55b1af
mov byte [0x4ef57c], 1
mov dword [0x4ef578], 1
mov eax, ebp
call fcn.005589d6
mov dword [esp], 0x4ef580
call fcn.00557696
jmp 0x55af49
mov dword [edi + 0x2c], 0x1009220
mov dword [edi + 0x94], 0
xor eax, eax
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 7
xor edx, edx
mov byte [0x4ef57f], 0
mov word [0x4bd06a], cx
xor ecx, ecx
mov word [esp + 0x2a], dx
mov word [esp + 0x28], cx
xor edx, edx
xor ecx, ecx
mov word [esp + 0x20], dx
mov word [esp + 0x26], cx
xor edx, edx
mov byte [0x4ef57e], 0
mov byte [0x4ef57d], 0
mov ecx, 2
mov byte [0x4ef57c], 0
mov word [esp + 0x2c], 1
mov byte [0x4bd068], 1
jmp 0x55b140
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0x20], ecx
call dword [fcn.004f2658]
sub esp, 8
test eax, eax
mov ecx, dword [esp + 0x20]
jne 0x55b2e6
mov dword [0x4bd064], 2
jmp 0x55b09b
mov eax, dword [esp + 0x34]
mov dword [esp], ecx
or eax, 4
mov dword [esp + 0x34], eax
mov dword [esp + 4], eax
call dword [0x4f2780]
sub esp, 8
test eax, eax
je 0x55b2d5
mov dword [0x4bd064], 0
jmp 0x55b09b
mov eax, 0xfffff00d
jmp 0x55aff8