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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x9c
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x84]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0055b4b0
mov eax, dword [esi]
mov ecx, esi
sub esp, 8
call dword [eax + 0x30]
mov ebx, dword [eax + 0x84]
mov ecx, eax
mov edx, dword [eax]
mov dword [ebp - 0x9c], ebx
call dword [edx + 0xa8]
mov edx, dword [edi + 0x3cc]
test edx, edx
mov ebx, eax
lea eax, [edi + 0x3c8]
je 0x55c0a6
mov ecx, eax
jmp 0x55bd70
mov ecx, edx
mov edx, dword [edx + 8]
test edx, edx
je 0x55bd7c
cmp ebx, dword [edx + 0x10]
jle 0x55bd67
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x55bd70
cmp eax, ecx
mov eax, esi
je 0x55c062
cmp ebx, dword [ecx + 0x10]
jl 0x55c062
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp + 0xc]
add edx, eax
test eax, eax
mov eax, dword [ecx + 0x28]
cmovs edx, dword [ebp + 0xc]
mov esi, dword [eax + edx*4]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x55c070
call fcn.004cb890
lea edx, [ebp - 0x8c]
mov ecx, edx
mov dword [esp], str.flattenShadow
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
call fcn.005f4b30
sub esp, 8
call fcn.004cb890
mov dword [esp], 0x9c
mov ecx, eax
call fcn.004cba30
and byte [eax + 0x24], 0xc0
mov edi, eax
and word [eax + 0x26], 0xfe3f
sub esp, 4
and word [eax + 0x24], 0xc03f
and byte [eax + 0x29], 0x80
and byte [eax + 0x2c], 0x80
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x6f2308
mov dword [eax + 0x20], 0
mov byte [eax + 0x28], 0
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x34], 0xffffffff
movzx eax, word [eax + 0x3e]
movzx ecx, word [edi + 0x52]
or dword [edi + 0x40], 0x7fff8000
or word [edi + 0x38], 0xfff
and ax, 0xf80f
or ax, 0x3f0
or cx, 0x1fe0
mov word [edi + 0x3e], ax
movzx eax, byte [edi + 0x3c]
mov word [edi + 0x52], cx
shr cx, 8
mov byte [edi + 0x59], 0
or ecx, 0xffffffe0
mov byte [edi + 0x5a], 0
and eax, 0xfffffff8
or eax, 4
mov byte [edi + 0x3c], al
mov eax, dword [edi + 0x44]
mov byte [edi + 0x5b], 0
mov dword [edi + 0x5c], 0xfffff800
or eax, 0x7f8000
mov dword [edi + 0x44], eax
shr eax, 0x18
or byte [edi + 0x48], 0x7f
or eax, 0xffffff80
and dword [edi + 0x24], 0xffc03fff
or word [edi + 0x48], 0x780
or dword [edi + 0x4c], 0x1ff80
or word [edi + 0x50], 0x1ff8
and byte [edi + 0x57], 0x1f
and byte [edi + 0x58], 0xe0
mov byte [edi + 0x53], cl
mov byte [edi + 0x47], al
mov byte [edi + 0x54], 0xff
movzx eax, byte [ebp - 0x80]
mov byte [edi + 0x18], al
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x74], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x5c], eax
movzx eax, byte [edi + 0x19]
movzx ecx, byte [ebp - 0x7f]
and eax, 0xfffffff0
and ecx, 0xf
or eax, ecx
mov byte [edi + 0x19], al
movzx ecx, byte [ebp - 0x7f]
and ecx, 0xfffffff0
and eax, 0xf
or eax, ecx
mov byte [edi + 0x19], al
movzx eax, byte [edi + 0x1a]
movzx ecx, byte [ebp - 0x7e]
and eax, 0xfffffff0
and ecx, 0xf
or eax, ecx
mov byte [edi + 0x1a], al
movzx eax, byte [edi + 0x1c]
movzx ecx, byte [ebp - 0x7c]
and eax, 0xfffffffe
and ecx, 1
or eax, ecx
mov byte [edi + 0x1c], al
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi], 0x6f1628
mov dword [edi + 0x6c], eax
call fcn.004cb890
mov ebx, eax
call fcn.004cb890
mov dword [esp], 0xd
mov ecx, eax
call fcn.004cba30
mov edx, dword [ebp - 0x9c]
lea ecx, [edi + 0x88]
mov dword [eax + 4], 0
sub esp, 4
add eax, 0xc
mov dword [eax - 4], 0
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], 0x6f1b88
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [esp], edx
call fcn.005f4480
mov eax, dword [ebp - 0x88]
sub esp, 4
lock sub dword [eax - 4], 1
mov dword [edi + 0x84], esi
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov edx, dword [ebp - 0x38]
test edx, edx
jne 0x55bdb1
mov edx, dword [eax + esi*4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + edx*4]
mov dword [esp], eax
call fcn.0051b330
mov dword [eax + 0x84], 0xffffffff
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, esi
jmp 0x55c062