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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1f870]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [0x1886e]
push 0xff
mov dword [ebp - 0xc], eax
mov eax, dword [0x18872]
push 0x200
push edi
mov dword [ebp - 8], eax
call fcn.00011d6a
mov eax, dword [esi + 0x50]
or eax, dword [esi + 0x54]
push 8
pop eax
jne 0x18923
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
add eax, 0xffffff01
adc ecx, 0xffffffff
mov dword [esi + 0x3c], 0x46
mov dword [esi + 0x40], 6
mov dword [esi + 0x2c], 0x12
mov dword [esi + 0x30], 0x33
mov word [esi + 0x5a], 3
mov dword [esi + 0x24], 0xa
mov word [esi + 0x5e], 0x10
mov word [esi + 0x58], 0x20
mov dword [esi + 0x34], 0x45
mov dword [esi + 0x38], 1
mov dword [esi + 0x1c], 2
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [esi + 0x3c]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xe8], ecx
mov eax, dword [esi + 0x40]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xec], ecx
mov eax, dword [esi + 0x2c]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xd8], ecx
mov eax, dword [esi + 0x30]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xdc], ecx
movzx ax, byte [esi + 0x5b]
mov ah, byte [esi + 0x5a]
push ebx
mov word [edi + 0x86], ax
mov eax, dword [esi + 0x24]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xd0], ecx
mov eax, dword [esi + 0x28]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xd4], ecx
movzx ax, byte [esi + 0x5f]
mov ah, byte [esi + 0x5e]
mov word [edi + 0x82], ax
movzx ax, byte [esi + 0x59]
mov ah, byte [esi + 0x58]
mov word [edi + 0x80], ax
mov eax, dword [esi + 0x34]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xe0], ecx
mov eax, dword [esi + 0x38]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xe4], ecx
mov eax, dword [esi + 0x1c]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xc8], ecx
mov eax, dword [esi + 0x20]
movzx ecx, ah
mov ch, al
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [edi + 0xcc], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
movzx edx, ah
mov dh, al
mov ebx, eax
shr ebx, 0x10
shr eax, 0x18
movzx ebx, bl
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
movzx eax, ch
mov ah, cl
mov dword [ebp - 0x14], ecx
shr ecx, 0x10
movzx ecx, cl
xor ebx, ebx
shl eax, 8
or eax, ecx
shl eax, 8
mov ecx, eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
or ecx, eax
xor eax, eax
or ebx, ecx
or edx, eax
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], edx
mov word [edi + 0x84], 0x1000
mov eax, 0x1000000
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], eax
mov al, byte [ebp + 8]
mov byte [edi + 0x70], al
push 8
lea eax, [ebp - 0xc]
push eax
lea ebx, [edi + 0x20]
push ebx
call fcn.00011dd0
push 8
push ebx
call fcn.00017ddc
or dword [edi + 0xf0], 0xffffffff
or dword [edi + 0xf4], 0xffffffff
mov byte [edi + 0x32], 0
mov byte [edi + 0x31], 0
mov dword [edi], 0x11de11de
call fcn.000115d0
movzx ebx, ah
call fcn.000115d0
mov bh, al
shl ebx, 8
call fcn.000115d0
shr eax, 0x10
movzx eax, al
or ebx, eax
shl ebx, 8
call fcn.000115d0
shr eax, 0x18
or ebx, eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0xf8], 0x4c000000
mov dword [edi + 0xfc], 0x5000000
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
add eax, 0xffffff80
adc ecx, 0xffffffff
movzx edx, ah
mov dh, al
mov ebx, eax
shr ebx, 0x10
shr eax, 0x18
movzx ebx, bl
shl edx, 8
or edx, ebx
mov dword [ebp - 0x14], ecx
shl edx, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
shl eax, 8
movzx ecx, cl
or eax, ecx
shl eax, 8
mov ecx, eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
or ecx, eax
xor ebx, ebx
xor eax, eax
or ebx, ecx
or edx, eax
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], edx
mov dword [edi + 0x74], 0x80000000
mov al, byte [esi + 0x18]
test al, 4
pop ebx
je 0x18c0b
and al, 0xfe
mov byte [esi + 0x18], al
jmp 0x18c19
push 0x200
push edi
call fcn.00012018
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.00011c64
leave
ret 0x10