Function at 0x41de4a
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x198
cmp dword [ebx + 0x14], 0
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x168]
push esi
push edi
mov esi, edx
mov ecx, 0x2c
lea edi, [ebp - 0x180]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x160]
mov edi, dword [edx + 0x164]
mov edx, dword [edx + 0x16c]
mov dword [ebp - 0xb4], edx
jle 0x41ea37
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
dec edx
shr edx, 4
inc edx
mov dword [ebp - 0x84], edx
mov edx, dword [esi]
xor edx, ecx
mov ecx, dword [esi + 4]
xor ecx, edi
mov edi, dword [esi + 8]
xor edi, eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 0xb4]
xor ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x180]
xor eax, edx
mov edx, dword [ebp - 0x174]
xor dword [ebp - 0x74], edx
xor edi, dword [ebp - 0x178]
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x60], edx
mov edx, eax
shr edx, 8
shr eax, 0x10
movzx edx, dl
mov dword [ebp - 0x78], edi
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
shr ecx, 0x10
movzx edx, cl
xor edi, dword [edx*4 + 0x55d160]
shr ecx, 8
movzx eax, cl
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax*4 + 0x55d560]
mov eax, dword [ebp - 0x78]
movzx edx, al
xor ecx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], ecx
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], ecx
shr eax, 0x10
movzx edx, al
mov ecx, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], ecx
shr eax, 8
movzx edx, al
xor edi, dword [edx*4 + 0x55d560]
mov eax, dword [ebp - 0x74]
movzx ecx, al
xor edi, dword [ecx*4 + 0x55c960]
mov edx, eax
shr edx, 8
movzx ecx, dl
mov edx, dword [ecx*4 + 0x55cd60]
xor dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x40]
shr eax, 0x10
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x16c]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x170]
xor eax, dword [ebp - 0x60]
xor edx, ecx
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x164]
xor edx, edi
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x60], edx
mov edx, eax
mov ecx, dword [ebp - 0x168]
xor ecx, dword [ebp - 0x20]
shr edx, 8
shr eax, 0x10
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
shr ecx, 8
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
movzx edx, al
xor edi, dword [edx*4 + 0x55c960]
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
shr eax, 0x10
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x15c]
shr eax, 8
xor edx, ecx
mov ecx, dword [ebp - 0x158]
xor ecx, dword [ebp - 0x20]
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x160]
mov dword [ebp - 0x7c], edx
xor eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x154]
xor edx, edi
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x60], edx
mov edx, eax
shr edx, 8
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
shr eax, 0x10
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
shr ecx, 8
movzx edx, al
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
mov ecx, eax
xor edi, dword [edx*4 + 0x55c960]
shr ecx, 8
shr eax, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x14c]
shr eax, 8
xor edx, ecx
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x150]
mov dword [ebp - 0x7c], edx
xor eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
xor edx, edi
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x60], edx
mov edx, eax
shr edx, 8
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
shr eax, 0x10
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
movzx edx, al
shr ecx, 8
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
mov ecx, eax
xor edi, dword [edx*4 + 0x55c960]
shr eax, 0x10
shr ecx, 8
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x13c]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x140]
xor edx, ecx
xor eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x134]
xor edx, edi
mov ecx, dword [ebp - 0x138]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x60], edx
mov edx, eax
shr edx, 8
shr eax, 0x10
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
movzx edx, al
shr ecx, 8
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
mov ecx, eax
xor edi, dword [edx*4 + 0x55c960]
shr eax, 0x10
shr ecx, 8
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x12c]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x130]
xor edx, ecx
xor eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x124]
xor edx, edi
mov ecx, dword [ebp - 0x128]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x60], edx
mov edx, eax
shr eax, 0x10
shr edx, 8
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
movzx edx, al
shr ecx, 8
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
mov ecx, eax
xor edi, dword [edx*4 + 0x55c960]
shr eax, 0x10
shr ecx, 8
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x11c]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x120]
xor edx, ecx
xor eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x114]
xor edx, edi
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov ecx, dword [ebp - 0x118]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], edx
mov edx, eax
shr eax, 0x10
shr edx, 8
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
shr ecx, 8
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
movzx edx, al
xor edi, dword [edx*4 + 0x55c960]
mov ecx, eax
shr ecx, 8
shr eax, 0x10
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
mov edx, dword [ebp - 0x10c]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x110]
xor edx, ecx
xor eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x104]
xor edx, edi
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov ecx, dword [ebp - 0x108]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], edx
mov edx, eax
shr eax, 0x10
shr edx, 8
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x40], eax
shr ecx, 0x10
movzx edx, cl
mov eax, dword [edx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
shr ecx, 8
movzx ecx, cl
xor edi, dword [ecx*4 + 0x55d560]
movzx edx, al
xor edi, dword [edx*4 + 0x55c960]
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov ecx, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x40]
shr eax, 0x10
movzx edx, al
xor ecx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0x100]
xor eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0xfc]
xor edx, ecx
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0xf4]
xor edx, edi
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + 0x55c960]
mov ecx, dword [ebp - 0xf8]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], edx
mov edx, eax
shr eax, 0x10
shr edx, 8
movzx edx, dl
mov edi, dword [edx*4 + 0x55cd60]
movzx edx, al
mov edx, dword [edx*4 + 0x55d160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
xor eax, dword [edx*4 + 0x55c960]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55cd60]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
xor edi, dword [edx*4 + 0x55d160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
xor eax, dword [edx*4 + 0x55d560]
movzx edx, cl
xor eax, dword [edx*4 + 0x55c960]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x55cd60]
shr ecx, 0x10
mov dword [ebp - 0x40], ecx
movzx ecx, cl
mov eax, dword [ecx*4 + 0x55d160]
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
shr eax, 8
movzx ecx, al
xor edi, dword [ecx*4 + 0x55d560]
mov eax, dword [ebp - 0x74]
movzx ecx, al
xor edi, dword [ecx*4 + 0x55c960]
shr eax, 8
movzx eax, al
mov ecx, dword [eax*4 + 0x55cd60]
xor dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x74]
shr eax, 0x10
movzx ecx, al
xor edx, dword [ecx*4 + 0x55d160]
mov ecx, dword [ebp - 0xec]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55d560]
xor eax, dword [ebp - 0xf0]
xor ecx, edx
xor eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0xe8]
xor ecx, dword [ebp - 0x20]
xor edx, edi
mov dword [ebp - 0x74], edx
movzx edx, al
mov edx, dword [edx*4 + str.cwko0]
mov dword [ebp - 0x60], edx
mov edx, eax
shr edx, 8
shr eax, 0x10
movzx edx, dl
mov edi, dword [edx*4 + 0x55ad60]
movzx edx, al
mov edx, dword [edx*4 + 0x55b160]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x55b560]
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x7c]
or eax, dword [edx*4 + str.cwko0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx edx, al
mov eax, dword [edx*4 + 0x55ad60]
or dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
movzx edx, al
or edi, dword [edx*4 + 0x55b160]
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x20]
or eax, dword [edx*4 + 0x55b560]
movzx edx, cl
or eax, dword [edx*4 + str.cwko0]
mov dword [ebp - 0x20], eax
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx edx, al
mov eax, dword [ebp - 0x40]
or eax, dword [edx*4 + 0x55ad60]
mov dword [ebp - 0x40], ecx
movzx ecx, cl
mov edx, dword [ecx*4 + 0x55b160]
mov ecx, dword [ebp - 0x40]
or dword [ebp - 0x60], edx
shr ecx, 8
movzx ecx, cl
or edi, dword [ecx*4 + 0x55b560]
mov ecx, dword [ebp - 0x74]
movzx edx, cl
or edi, dword [edx*4 + str.cwko0]
shr ecx, 8
movzx ecx, cl
mov edx, dword [ecx*4 + 0x55ad60]
or dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x74]
shr ecx, 0x10
movzx edx, cl
or eax, dword [edx*4 + 0x55b160]
shr ecx, 8
movzx ecx, cl
mov edx, dword [ecx*4 + 0x55b560]
or edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0xc]
xor edx, dword [ebp - 0xe0]
mov dword [ecx], edx
mov edx, dword [ebp - 0xdc]
xor edx, eax
mov eax, dword [ebp - 0xd8]
xor eax, dword [ebp - 0x20]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xd4]
xor eax, edi
mov edi, dword [ecx]
mov dword [ecx + 0xc], eax
xor edi, dword [esi]
mov dword [ebp - 0xc0], edi
mov edi, dword [esi + 4]
xor edi, edx
mov edx, dword [esi + 8]
xor edx, dword [ebp - 0x40]
mov dword [ebp - 0xb8], edx
mov edx, dword [esi + 0xc]
add ecx, 0x10
xor edx, eax
mov eax, dword [ebp - 0xb8]
add esi, 0x10
sub dword [ebp - 0x84], 1
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xb4], edx
jne 0x41dea0
mov esi, dword [ebx + 8]
mov dword [esi + 0x160], ecx
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], eax
pop edi
mov dword [esi + 0x16c], edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret