Function at 0x45253c
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xc8
push ebx
push esi
mov esi, dword [ebp + 0x70]
mov ebx, dword [esi + 0x50]
push edi
mov edi, dword [ebp + 0x6c]
mov al, byte [edi]
cmp al, 3
movzx ecx, al
mov dword [ebp + 0x50], ecx
jne 0x452608
xor ecx, ecx
cmp dword [ebp + 0x78], ecx
mov byte [edi], 1
mov dword [ebp + 0x70], ecx
jle 0x452600
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 + 0x70]
mov eax, dword [ebp + 0x70]
and ecx, 7
sar ebx, cl
mov dword [ebp + 0x50], ecx
cdq
add esp, 0x14
push 8
pop ecx
idiv ecx
mov ecx, dword [ebp + 0x74]
mov dl, byte [eax + ecx]
mov ecx, dword [ebp + 0x7c]
add eax, ecx
mov cl, byte [ebp + 0x50]
mov dword [ebp + 0x3c], eax
mov al, byte [ebp + 0x54]
and al, 0x80
shr al, cl
and dl, bl
not bl
xor al, dl
mov cl, al
mov eax, dword [ebp + 0x3c]
and bl, byte [eax]
or cl, bl
mov byte [eax], cl
mov cl, 7
sub cl, byte [ebp + 0x50]
lea eax, [edi + 0x10]
shr dl, cl
mov ecx, eax
mov dword [ebp + 0x6c], 0x10
mov al, byte [ecx]
mov bl, al
add al, al
xor al, dl
shr bl, 7
mov byte [ecx], al
dec ecx
dec dword [ebp + 0x6c]
mov dl, bl
jne 0x4525dc
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebp + 0x78]
jl 0x452574
mov byte [edi], 3
jmp 0x452ea3
cmp byte [esi], 1
je 0x452617
push 1
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 - 0x64]
push eax
call fcn.00464880
add esp, 0xc
xor ecx, ecx
cmp dword [ebp + 0x50], 2
jne 0x452654
mov eax, dword [edi + 0x18]
mov dword [ebp + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp + 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [ebp + 0x48], eax
mov eax, dword [edi + 0x24]
mov dword [ebp + 0x4c], eax
jmp 0x452660
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x40], ecx
mov eax, dword [ebp + 0x78]
cmp eax, ecx
jle 0x452e85
mov edx, dword [ebp + 0x74]
dec eax
shr eax, 7
inc eax
mov dword [ebp + 0x70], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
xor edx, dword [ebp - 0x48]
xor eax, dword [ebp - 0x54]
xor ecx, dword [ebp - 0x50]
mov dword [ebp + 0x58], edx
xor edi, dword [ebp - 0x4c]
mov dword [ebp + 0x5c], eax
movzx edx, byte [ebp + 0x5f]
mov edx, dword [esi + edx*8 + 0x928]
mov dword [ebp + 0x60], ecx
movzx ebx, ah
xor edx, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x5e]
xor edx, dword [esi + ebx*8 + 0x924]
movzx ecx, cl
mov dword [ebp + 0x3c], ecx
movzx ebx, al
xor edx, dword [esi + ebx*8 + 0x124]
movzx ebx, byte [ebp + 0x62]
mov ecx, dword [esi + ebx*8 + 0x928]
mov ebx, dword [ebp + 0x3c]
xor ecx, dword [esi + ebx*8 + 0x128]
movzx ebx, byte [ebp + 0x61]
xor ecx, dword [esi + ebx*8 + 0x924]
movzx ebx, byte [ebp + 0x63]
xor ecx, dword [esi + ebx*8 + 0x124]
mov ebx, dword [ebp + 0x34]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x54], edi
mov edi, dword [ebp + 0x38]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x57]
movzx edi, byte [ebp + 0x55]
add ebx, edx
mov edx, dword [esi + ecx*8 + 0x928]
xor edx, dword [esi + edi*8 + 0x128]
xor ebx, dword [ebp + 0x58]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror ebx, 1
mov dword [ebp + 0x58], ebx
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, bh
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x5b]
xor ecx, dword [esi + edi*8 + 0x124]
mov edi, dword [ebp + 0x2c]
add edi, ecx
add edi, edx
rol eax, 1
xor eax, edi
mov edi, dword [ebp + 0x30]
lea ebx, [edi + ecx*2]
mov dword [ebp + 0x5c], eax
movzx ecx, byte [ebp + 0x5f]
add ebx, edx
mov edx, dword [esi + ecx*8 + 0x928]
movzx ecx, byte [ebp + 0x5e]
xor ebx, dword [ebp + 0x60]
movzx edi, ah
xor edx, dword [esi + edi*8 + 0x128]
movzx eax, al
xor edx, dword [esi + ecx*8 + 0x924]
ror ebx, 1
xor edx, dword [esi + eax*8 + 0x124]
mov dword [ebp + 0x60], ebx
movzx eax, byte [ebp + 0x62]
mov ecx, dword [esi + eax*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x54]
movzx eax, bh
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x63]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp + 0x24]
add eax, ecx
add eax, edx
rol edi, 1
xor edi, eax
mov eax, dword [ebp + 0x28]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp + 0x58]
mov dword [ebp + 0x54], edi
movzx ecx, byte [ebp + 0x57]
mov edx, dword [esi + ecx*8 + 0x928]
movzx edi, byte [ebp + 0x55]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror eax, 1
mov dword [ebp + 0x58], eax
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x5c]
movzx eax, ah
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5b]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp + 0x1c]
add eax, ecx
add eax, edx
rol edi, 1
xor edi, eax
mov eax, dword [ebp + 0x20]
lea eax, [eax + ecx*2]
mov dword [ebp + 0x5c], edi
movzx ecx, byte [ebp + 0x5f]
movzx edi, byte [ebp + 0x5d]
add eax, edx
mov edx, dword [esi + ecx*8 + 0x928]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x5e]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x5c]
xor edx, dword [esi + ecx*8 + 0x124]
xor eax, ebx
mov ebx, dword [ebp + 0x14]
ror eax, 1
mov dword [ebp + 0x60], eax
movzx ecx, byte [ebp + 0x62]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, ah
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x63]
xor ecx, dword [esi + edi*8 + 0x124]
mov edi, dword [ebp + 0x54]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x54], edi
mov edi, dword [ebp + 0x18]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x57]
movzx edi, byte [ebp + 0x55]
add ebx, edx
xor ebx, dword [ebp + 0x58]
mov edx, dword [esi + ecx*8 + 0x928]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + edi*8 + 0x128]
ror ebx, 1
xor edx, dword [esi + ecx*8 + 0x924]
mov dword [ebp + 0x58], ebx
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, bh
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x5b]
xor ecx, dword [esi + edi*8 + 0x124]
mov edi, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0xc]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x5c], edi
mov edi, dword [ebp + 0x10]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x5d]
add ebx, edx
xor ebx, eax
movzx eax, byte [ebp + 0x5f]
mov edx, dword [esi + eax*8 + 0x928]
xor edx, dword [esi + ecx*8 + 0x128]
movzx eax, byte [ebp + 0x5e]
xor edx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5c]
xor edx, dword [esi + eax*8 + 0x124]
ror ebx, 1
mov dword [ebp + 0x60], ebx
movzx eax, byte [ebp + 0x62]
mov ecx, dword [esi + eax*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x54]
movzx eax, bh
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x63]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp + 4]
add eax, ecx
add eax, edx
rol edi, 1
xor edi, eax
mov eax, dword [ebp + 8]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp + 0x58]
mov dword [ebp + 0x54], edi
movzx ecx, byte [ebp + 0x57]
mov edx, dword [esi + ecx*8 + 0x928]
movzx edi, byte [ebp + 0x55]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror eax, 1
mov dword [ebp + 0x58], eax
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x5c]
movzx eax, ah
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5b]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 4]
add eax, ecx
add eax, edx
rol edi, 1
xor edi, eax
mov eax, dword [ebp]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
ror eax, 1
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x60], eax
movzx ecx, byte [ebp + 0x5f]
mov edx, dword [esi + ecx*8 + 0x928]
movzx edi, byte [ebp + 0x5d]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x5e]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x5c]
xor edx, dword [esi + ecx*8 + 0x124]
movzx ecx, byte [ebp + 0x62]
mov ecx, dword [esi + ecx*8 + 0x928]
mov ebx, dword [ebp - 0xc]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, ah
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x63]
xor ecx, dword [esi + edi*8 + 0x124]
mov edi, dword [ebp + 0x54]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x54], edi
mov edi, dword [ebp - 8]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x57]
movzx edi, byte [ebp + 0x55]
add ebx, edx
mov edx, dword [esi + ecx*8 + 0x928]
xor edx, dword [esi + edi*8 + 0x128]
xor ebx, dword [ebp + 0x58]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror ebx, 1
mov dword [ebp + 0x58], ebx
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, bh
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x5b]
xor ecx, dword [esi + edi*8 + 0x124]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp + 0x5c]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x5c], edi
mov edi, dword [ebp - 0x10]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x5d]
add ebx, edx
xor ebx, eax
movzx eax, byte [ebp + 0x5f]
mov edx, dword [esi + eax*8 + 0x928]
xor edx, dword [esi + ecx*8 + 0x128]
movzx eax, byte [ebp + 0x5e]
xor edx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5c]
xor edx, dword [esi + eax*8 + 0x124]
ror ebx, 1
mov dword [ebp + 0x60], ebx
movzx eax, byte [ebp + 0x62]
mov ecx, dword [esi + eax*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x54]
movzx eax, bh
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x63]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x1c]
add eax, ecx
rol edi, 1
add eax, edx
xor edi, eax
mov dword [ebp + 0x54], edi
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*2]
movzx ecx, byte [ebp + 0x57]
movzx edi, byte [ebp + 0x55]
add eax, edx
mov edx, dword [esi + ecx*8 + 0x928]
xor edx, dword [esi + edi*8 + 0x128]
xor eax, dword [ebp + 0x58]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror eax, 1
mov dword [ebp + 0x58], eax
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x5c]
movzx eax, ah
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5b]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x24]
add eax, ecx
rol edi, 1
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
mov dword [ebp + 0x5c], edi
movzx ecx, byte [ebp + 0x5f]
movzx edi, byte [ebp + 0x5d]
add eax, edx
mov edx, dword [esi + ecx*8 + 0x928]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x5e]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x5c]
xor edx, dword [esi + ecx*8 + 0x124]
xor eax, ebx
mov ebx, dword [ebp - 0x2c]
ror eax, 1
mov dword [ebp + 0x60], eax
movzx ecx, byte [ebp + 0x62]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, ah
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x63]
xor ecx, dword [esi + edi*8 + 0x124]
mov edi, dword [ebp + 0x54]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x54], edi
mov edi, dword [ebp - 0x28]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x57]
movzx edi, byte [ebp + 0x55]
add ebx, edx
mov edx, dword [esi + ecx*8 + 0x928]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
xor ebx, dword [ebp + 0x58]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror ebx, 1
mov dword [ebp + 0x58], ebx
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
movzx edi, bh
xor ecx, dword [esi + edi*8 + 0x924]
movzx edi, byte [ebp + 0x5b]
xor ecx, dword [esi + edi*8 + 0x124]
mov edi, dword [ebp + 0x5c]
mov ebx, dword [ebp - 0x34]
add ebx, ecx
add ebx, edx
rol edi, 1
xor edi, ebx
mov dword [ebp + 0x5c], edi
mov edi, dword [ebp - 0x30]
lea ebx, [edi + ecx*2]
movzx ecx, byte [ebp + 0x5d]
add ebx, edx
xor ebx, eax
movzx eax, byte [ebp + 0x5f]
mov edx, dword [esi + eax*8 + 0x928]
xor edx, dword [esi + ecx*8 + 0x128]
movzx eax, byte [ebp + 0x5e]
xor edx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5c]
xor edx, dword [esi + eax*8 + 0x124]
ror ebx, 1
mov dword [ebp + 0x60], ebx
movzx eax, byte [ebp + 0x62]
mov ecx, dword [esi + eax*8 + 0x928]
movzx edi, bl
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x54]
movzx eax, bh
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x63]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x3c]
add eax, ecx
add eax, edx
rol edi, 1
xor edi, eax
mov eax, dword [ebp - 0x38]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp + 0x58]
mov dword [ebp + 0x54], edi
movzx ecx, byte [ebp + 0x57]
mov edx, dword [esi + ecx*8 + 0x928]
movzx edi, byte [ebp + 0x55]
xor edx, dword [esi + edi*8 + 0x128]
movzx ecx, byte [ebp + 0x56]
xor edx, dword [esi + ecx*8 + 0x924]
movzx ecx, byte [ebp + 0x54]
xor edx, dword [esi + ecx*8 + 0x124]
ror eax, 1
mov dword [ebp + 0x58], eax
movzx ecx, byte [ebp + 0x5a]
mov ecx, dword [esi + ecx*8 + 0x928]
movzx edi, al
xor ecx, dword [esi + edi*8 + 0x128]
mov edi, dword [ebp + 0x5c]
movzx eax, ah
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, byte [ebp + 0x5b]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x44]
add eax, ecx
add eax, edx
rol edi, 1
xor edi, eax
mov eax, dword [ebp - 0x40]
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x64]
xor eax, dword [ebp + 0x54]
add ecx, edx
mov edx, dword [ebp + 0x74]
xor ecx, ebx
mov dword [ebp + 0x5c], edi
mov edi, dword [ebp + 0x6c]
ror ecx, 1
cmp byte [edi], 1
jne 0x452e28
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x60]
xor eax, dword [ebp + 0x58]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp + 0x5c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x58]
xor eax, ecx
jmp 0x452e6d
xor eax, dword [ebp + 0x40]
mov ebx, dword [edx]
mov dword [ebp + 0x40], ebx
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x60]
xor eax, dword [ebp + 0x58]
mov ebx, dword [edx + 4]
xor eax, dword [ebp + 0x44]
mov dword [ebp + 0x44], ebx
mov ebx, dword [ebp + 0x7c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp + 0x5c]
mov ebx, dword [edx + 8]
xor eax, dword [ebp + 0x48]
mov dword [ebp + 0x48], ebx
mov ebx, dword [ebp + 0x7c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x58]
xor eax, ecx
mov ecx, dword [edx + 0xc]
xor eax, dword [ebp + 0x4c]
mov dword [ebp + 0x4c], ecx
mov dword [ebx + 0xc], eax
add edx, 0x10
add ebx, 0x10
dec dword [ebp + 0x70]
mov dword [ebp + 0x74], edx
mov dword [ebp + 0x7c], ebx
jne 0x452676
cmp dword [ebp + 0x50], 2
jne 0x452ea3
mov eax, dword [ebp + 0x40]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x44]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x48]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x4c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x78]
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret