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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, edx
mov edx, dword [ecx]
mov dword [ebp - 8], edi
mov dword [edi + 0xa0], edx
mov ebx, dword [ecx + 4]
mov dword [edi + 0xa4], ebx
mov esi, dword [ecx + 8]
mov dword [edi + 0xa8], esi
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xac], eax
mov dword [ebp - 4], eax
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x57cd80]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], esi
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x57d180]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x57d580]
mov eax, dword [ebp - 4]
xor ecx, 1
xor eax, edx
xor edx, ecx
xor eax, ebx
xor eax, esi
xor eax, ecx
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x57c180]
xor ecx, dword [eax*4 + 0x57bd80]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x57c580]
movzx eax, dl
xor edx, ebx
xor ecx, dword [eax*4 + 0x57b980]
mov eax, edx
shr eax, 0x10
mov dword [edi + 0x90], ecx
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x57c180]
xor ebx, dword [eax*4 + 0x57bd80]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x57c580]
movzx eax, dl
xor edx, esi
mov dword [ebp - 0x14], edx
xor ebx, dword [eax*4 + 0x57b980]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [edi + 0x94], ebx
mov edi, dword [ecx*4 + 0x57c180]
xor edi, dword [eax*4 + 0x57bd80]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x57c580]
movzx eax, dl
xor edi, dword [eax*4 + 0x57b980]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x14]
mov ecx, edx
mov dword [eax + 0x98], edi
mov eax, edx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x57c580]
xor esi, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor esi, dword [eax*4 + 0x57bd80]
movzx eax, dl
mov edx, dword [ebp - 0xc]
mov ecx, edx
shr ecx, 0x18
xor esi, dword [eax*4 + 0x57b980]
mov eax, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x57d180]
mov dword [eax + 0x9c], esi
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x57cd80]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57d580]
mov edx, ecx
xor ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 4]
xor edx, 2
xor ecx, 2
mov eax, edx
mov dword [ebp - 0x10], ecx
mov ecx, edx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x57c580]
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x57b980]
mov eax, dword [ebp - 8]
xor ecx, dword [ebp - 0x18]
mov dword [eax + 0x80], ecx
xor ecx, ebx
mov dword [eax + 0x84], ecx
xor ecx, edi
mov edi, ecx
mov dword [ebp - 0x18], ecx
mov dword [eax + 0x88], edi
xor esi, edi
mov dword [eax + 0x8c], esi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x57d180]
xor ebx, dword [eax*4 + 0x57cd80]
mov eax, edx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + str.cwko0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x57d580]
mov edx, ebx
xor edx, 4
xor ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x57c580]
xor ebx, 4
mov dword [ebp - 0x14], ebx
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57b980]
xor ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
xor eax, ecx
mov dword [esi + 0x70], ecx
xor edi, eax
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x8c]
mov ecx, ebx
xor eax, edi
shr ecx, 0x18
mov dword [esi + 0x7c], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x57d180]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x78], edi
xor ebx, dword [eax*4 + 0x57cd80]
mov eax, ecx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + str.cwko0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x57d580]
mov edx, ebx
xor ebx, dword [ebp - 4]
xor edx, 8
xor ebx, 8
mov ecx, edx
mov dword [ebp - 4], ebx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x57c580]
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57b980]
xor ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
xor eax, ecx
mov dword [esi + 0x60], ecx
xor edi, eax
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x7c]
mov ecx, ebx
xor eax, edi
shr ecx, 0x18
mov dword [esi + 0x6c], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x57d180]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x68], edi
xor ebx, dword [eax*4 + 0x57cd80]
mov eax, ecx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + str.cwko0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x57d580]
mov edx, ebx
xor ebx, dword [ebp - 0xc]
xor edx, 0x10
xor ebx, 0x10
mov ecx, edx
mov dword [ebp - 0xc], ebx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x57c580]
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57b980]
xor ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
xor eax, ecx
mov dword [esi + 0x50], ecx
xor edi, eax
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x6c]
mov ecx, ebx
xor eax, edi
shr ecx, 0x18
mov dword [esi + 0x5c], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x57d180]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x58], edi
xor ebx, dword [eax*4 + 0x57cd80]
mov eax, ecx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + str.cwko0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x57d580]
mov edx, ebx
xor ebx, dword [ebp - 0x10]
xor edx, 0x20
xor ebx, 0x20
mov ecx, edx
mov dword [ebp - 0x10], ebx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x57c580]
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57b980]
xor ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
xor eax, ecx
mov dword [esi + 0x40], ecx
xor edi, eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x5c]
mov ecx, ebx
xor eax, edi
shr ecx, 0x18
mov dword [esi + 0x4c], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x57d180]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x48], edi
xor ebx, dword [eax*4 + 0x57cd80]
mov eax, ecx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + str.cwko0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x57d580]
mov edx, ebx
xor ebx, dword [ebp - 0x14]
xor edx, 0x40
xor ebx, 0x40
mov ecx, edx
mov dword [ebp - 0x14], ebx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x57c580]
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57b980]
xor ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
xor edi, eax
mov eax, dword [esi + 0x4c]
mov ecx, ebx
xor eax, edi
shr ecx, 0x18
mov dword [esi + 0x3c], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x57d180]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x38], edi
xor ebx, dword [eax*4 + 0x57cd80]
mov eax, ecx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + str.cwko0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x57d580]
mov edx, ebx
xor ebx, dword [ebp - 4]
xor edx, 0x80
xor ebx, 0x80
mov ecx, edx
mov dword [ebp - 0x18], ebx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x57c580]
xor ecx, dword [eax*4 + 0x57c180]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57bd80]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57b980]
xor ecx, dword [esi + 0x30]
mov eax, dword [ebp - 8]
mov dword [esi + 0x20], ecx
mov esi, dword [esi + 0x34]
xor esi, ecx
mov ecx, ebx
mov dword [eax + 0x24], esi
xor esi, edi
mov edi, eax
shr ecx, 0x18
mov eax, dword [edi + 0x3c]
xor eax, esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], eax
mov eax, ebx
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x57d180]
movzx eax, al
mov dword [edi + 0xf0], 0
mov byte [edi + 0xf0], 0xa0
xor ecx, dword [eax*4 + 0x57cd80]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x57d580]
mov ebx, ecx
xor ecx, dword [ebp - 0xc]
xor ecx, 0x1b
xor ebx, 0x1b
mov dword [ebp - 0x1c], ecx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x57c580]
xor edx, dword [eax*4 + 0x57c180]
mov eax, ebx
mov ecx, dword [edi + 0x24]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57bd80]
movzx eax, bl
xor edx, dword [eax*4 + 0x57b980]
xor edx, dword [edi + 0x20]
mov eax, dword [edi + 0x2c]
xor ecx, edx
mov dword [edi + 0x14], ecx
xor ecx, esi
xor eax, ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x10], edx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov esi, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0x57d180]
xor ecx, dword [eax*4 + 0x57cd80]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x57d580]
xor ecx, dword [ebp - 0x10]
xor ecx, 0x36
xor edx, ecx
mov dword [edi + 0xc], ecx
mov eax, edx
mov dword [edi + 8], edx
xor eax, esi
xor esi, ecx
xor eax, dword [ebp - 0x14]
mov dword [edi], eax
mov dword [edi + 4], esi
mov cl, byte [0x5bf1b6]
mov al, cl
and al, 0xc0
cmp al, 0xc0
je 0x4a70f0
and cl, 0x11
cmp cl, 0x11
je 0x4a70f0
call fcn.004a69d0
test eax, eax
je 0x4a70f7
mov byte [edi + 0xf1], 0xff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret