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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov edx, dword [eax]
mov dword [ecx], edx
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
push edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov ebx, dword [eax + 0xc]
mov eax, ebx
mov dword [ecx + 0xc], ebx
mov ecx, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b600]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x10], edx
mov ecx, ebx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b604]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x20], edx
mov ecx, ebx
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b608]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], ebx
mov ecx, ebx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b60c]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x40], edx
mov ecx, ebx
mov dword [eax + 0x44], esi
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], ebx
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b610]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x50], edx
mov ecx, ebx
mov dword [eax + 0x54], esi
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b614]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x60], edx
mov ecx, ebx
mov dword [eax + 0x64], esi
mov dword [eax + 0x68], edi
mov dword [eax + 0x6c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b618]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x70], edx
mov ecx, ebx
mov dword [eax + 0x74], esi
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b61c]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x80], edx
mov ecx, ebx
mov dword [eax + 0x84], esi
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b620]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0x90], edx
mov ecx, ebx
mov dword [eax + 0x94], esi
mov dword [eax + 0x98], edi
mov dword [eax + 0x9c], ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x1006ce40]
xor ecx, dword [eax*4 + 0x1006ca40]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1006d240]
xor ecx, dword [0x1006b624]
mov eax, dword [ebp + 0xc]
xor edx, ecx
xor esi, edx
xor edi, esi
xor ebx, edi
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], esi
mov dword [eax + 0xa8], edi
mov dword [eax + 0xac], ebx
and dword [eax + 0xf0], 0
mov byte [eax + 0xf0], 0xa0
mov cl, byte [0x10089ec0]
mov al, cl
pop edi
and al, 0xc0
pop esi
pop ebx
cmp al, 0xc0
je 0x1003f819
test cl, 0x10
je 0x1003f810
test cl, 1
jne 0x1003f819
call fcn.1004025d
test eax, eax
je 0x1003f823
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xf1], 0xff
xor eax, eax
pop ebp
ret