Function at 0x451b97
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xcc
push ebx
push esi
mov esi, dword [ebp + 0x70]
mov ebx, dword [esi + 0x50]
push edi
mov edi, dword [ebp + 0x6c]
movzx eax, byte [edi]
cmp eax, 3
mov dword [ebp + 0x38], eax
jne 0x451c61
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x78], 0
mov byte [edi], 1
jle 0x451c59
lea eax, [ebp + 0x54]
push eax
mov ebx, 0x80
push ebx
lea eax, [edi + 1]
push eax
push esi
push edi
call fcn.00451b97
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
and ecx, 7
sar ebx, cl
mov dword [ebp + 0x70], ecx
add esp, 0x14
cdq
push 8
pop ecx
idiv ecx
mov ecx, dword [ebp + 0x74]
mov dl, byte [ebp + 0x54]
and dl, 0x80
mov dword [ebp + 0x4c], eax
mov al, byte [eax + ecx]
mov cl, byte [ebp + 0x70]
shr dl, cl
mov ecx, dword [ebp + 0x7c]
and al, bl
not bl
xor al, dl
mov edx, dword [ebp + 0x4c]
add ecx, edx
and bl, byte [ecx]
or bl, al
mov byte [ecx], bl
mov cl, 7
sub cl, byte [ebp + 0x70]
mov dword [ebp + 0x70], 0x10
shr al, cl
lea ecx, [edi + 0x10]
mov edx, ecx
mov cl, byte [edx]
mov bl, cl
add cl, cl
xor cl, al
shr bl, 7
mov byte [edx], cl
dec edx
dec dword [ebp + 0x70]
mov al, bl
jne 0x451c35
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x78]
jl 0x451bce
mov byte [edi], 3
jmp 0x452531
cmp byte [esi], 0
je 0x451c70
push 0
push esi
call fcn.00450d77
pop ecx
pop ecx
lea eax, [ebx*8 + 0x20]
push eax
lea eax, [esi + 0x84]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00464880
add esp, 0xc
cmp dword [ebp + 0x38], 2
jne 0x451ca8
mov eax, dword [edi + 0x18]
mov dword [ebp + 0x3c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp + 0x40], eax
mov eax, dword [edi + 0x20]
mov dword [ebp + 0x44], eax
mov eax, dword [edi + 0x24]
jmp 0x451cb3
xor eax, eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x78]
test eax, eax
jle 0x452513
mov edi, dword [ebp + 0x74]
dec eax
shr eax, 7
inc eax
mov dword [ebp + 0x4c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor edi, dword [ebp - 0x5c]
xor ecx, dword [ebp - 0x68]
xor edi, dword [ebp + 0x48]
xor ecx, dword [ebp + 0x3c]
xor edx, dword [ebp - 0x64]
xor eax, dword [ebp - 0x60]
xor edx, dword [ebp + 0x40]
xor eax, dword [ebp + 0x44]
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x5c], eax
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp + 0x30]
add ebx, edi
add ebx, dword [ebp + 0x70]
rol dword [ebp + 0x60], 1
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0x34]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp + 0x28]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0x2c]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov dword [ebp + 0x58], edx
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
rol dword [ebp + 0x60], 1
mov ebx, dword [ebp + 0x20]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0x24]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp + 0x18]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0x1c]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov dword [ebp + 0x58], edx
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp + 0x10]
rol dword [ebp + 0x60], 1
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0x14]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp + 8]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 0xc]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
mov dword [ebp + 0x58], edx
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp]
rol dword [ebp + 0x60], 1
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp + 4]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 8]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 4]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
mov dword [ebp + 0x58], edx
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x10]
add ebx, edi
add ebx, dword [ebp + 0x70]
rol dword [ebp + 0x60], 1
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0xc]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x18]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0x14]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov dword [ebp + 0x58], edx
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
rol dword [ebp + 0x60], 1
mov ebx, dword [ebp - 0x20]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0x1c]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x28]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0x24]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov dword [ebp + 0x58], edx
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x30]
rol dword [ebp + 0x60], 1
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
xor eax, ebx
mov ebx, dword [ebp + 0x50]
mov edi, dword [ebp - 0x2c]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x38]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0x34]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
rol edx, 1
xor edx, edi
mov dword [ebp + 0x58], edx
ror ecx, 1
mov dword [ebp + 0x54], ecx
movzx edi, byte [ebp + 0x57]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ch
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x56]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, cl
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, dl
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x5a]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, dh
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x5b]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x40]
rol dword [ebp + 0x60], 1
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0x3c]
xor eax, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
xor dword [ebp + 0x60], edi
ror eax, 1
mov dword [ebp + 0x5c], eax
movzx edi, byte [ebp + 0x5f]
mov edi, dword [esi + edi*8 + 0x928]
movzx ebx, ah
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, al
xor edi, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x60]
mov dword [ebp + 0x70], edi
movzx edi, byte [ebp + 0x62]
mov edi, dword [esi + edi*8 + 0x928]
xor edi, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor edi, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor edi, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp - 0x48]
add ebx, edi
add ebx, dword [ebp + 0x70]
mov dword [ebp + 0x50], edi
mov edi, dword [ebp - 0x44]
xor ecx, ebx
mov ebx, dword [ebp + 0x50]
lea edi, [edi + ebx*2]
add edi, dword [ebp + 0x70]
mov ebx, dword [ebp - 0x54]
xor ebx, dword [ebp + 0x60]
rol edx, 1
xor edx, edi
mov edi, dword [ebp - 0x58]
xor edi, eax
mov eax, dword [ebp + 0x7c]
ror ecx, 1
mov dword [ebp + 0x70], ebx
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 0x50]
xor ebx, ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, edx
cmp dword [ebp + 0x38], 2
mov dword [eax], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
jne 0x4524f8
mov edx, dword [ebp + 0x70]
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x40], edx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ecx
mov edi, dword [ebp + 0x74]
add edi, 0x10
add eax, 0x10
dec dword [ebp + 0x4c]
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x7c], eax
jne 0x451ccc
mov edi, dword [ebp + 0x6c]
cmp dword [ebp + 0x38], 2
jne 0x452531
mov eax, dword [ebp + 0x3c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x40]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x44]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x48]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x78]
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret