Function at 0x4c2cc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8
push ebx
push ebp
mov ebp, dword [esp + 0xe4]
mov al, byte [ebp]
cmp al, 3
push esi
movzx ecx, al
push edi
mov edi, dword [esp + 0xf0]
mov esi, dword [edi + 0x50]
mov dword [esp + 0x40], ecx
jne 0x4c2df4
mov eax, dword [esp + 0xf8]
xor ecx, ecx
cmp eax, ecx
mov byte [ebp], 1
mov dword [esp + 0x14], ecx
jle 0x4c2de5
lea esi, [ebp + 1]
lea esp, [esp]
lea edx, [esp + 0x18]
push edx
push 0x80
push esi
push edi
push ebp
call fcn.004c20a0
mov ecx, dword [esp + 0x28]
and ecx, 7
mov ebx, 0x80
sar ebx, cl
mov ecx, dword [esp + 0x28]
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov dl, byte [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x108]
and cl, 7
sar esi, 3
mov al, byte [esi + eax]
and dl, 0x80
shr dl, cl
and al, bl
mov byte [esp + 0x43], cl
mov ecx, dword [esp + 0x110]
not bl
and bl, byte [esi + ecx]
xor dl, al
or dl, bl
mov byte [esi + ecx], dl
mov cl, 7
sub cl, byte [esp + 0x43]
add esp, 0x14
shr al, cl
mov bl, al
mov eax, 0xf
mov cl, byte [ebp + eax + 1]
mov dl, cl
add cl, cl
xor cl, bl
lea esi, [ebp + 1]
mov byte [esi + eax], cl
mov cl, byte [eax + ebp]
mov bl, cl
add cl, cl
shr dl, 7
xor cl, dl
mov byte [eax + ebp], cl
mov cl, byte [eax + ebp - 1]
mov dl, cl
add cl, cl
shr bl, 7
xor cl, bl
mov byte [eax + ebp - 1], cl
mov cl, byte [eax + ebp - 2]
mov bl, cl
shr dl, 7
add cl, cl
xor cl, dl
shr bl, 7
sub eax, 4
mov byte [eax + ebp + 2], cl
jns 0x4c2d82
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xf8]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4c2d10
pop edi
pop esi
mov byte [ebp], 3
pop ebp
pop ebx
add esp, 0xd8
ret
cmp byte [edi], 1
je 0x4c2e00
mov bl, 1
call fcn.004c1170
lea eax, [esi*8 + 0x20]
push eax
lea ecx, [edi + 0x84]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.004db700
add esp, 0xc
xor ecx, ecx
cmp dword [esp + 0x40], 2
jne 0x4c2e43
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
jmp 0x4c2e53
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xf8]
cmp eax, ecx
jle 0x4c3900
mov esi, dword [esp + 0xf4]
add eax, 0xffffffff
shr eax, 7
add eax, 1
mov dword [esp + 0x44], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov ebp, dword [esi + 8]
mov esi, dword [esi + 0xc]
xor esi, dword [esp + 0x64]
xor ecx, dword [esp + 0x58]
xor eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], esi
xor ebp, dword [esp + 0x60]
mov edx, ecx
shr edx, 0x18
mov esi, dword [edi + edx*8 + 0x928]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor esi, dword [edi + ebx*8 + 0x128]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor esi, dword [edi + edx*8 + 0x924]
movzx edx, cl
xor esi, dword [edi + edx*8 + 0x124]
mov edx, eax
shr edx, 0x10
mov ebx, eax
shr ebx, 8
movzx ebx, bl
movzx edx, dl
mov edx, dword [edi + edx*8 + 0x928]
xor edx, dword [edi + ebx*8 + 0x924]
mov ebx, eax
shr ebx, 0x18
xor edx, dword [edi + ebx*8 + 0x124]
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
movzx eax, al
xor edx, dword [edi + eax*8 + 0x128]
mov eax, dword [esp + 0xe0]
add eax, edx
add eax, esi
lea edx, [ebx + edx*2]
rol ebp, 1
xor ebp, eax
mov eax, ebp
add edx, esi
xor edx, dword [esp + 0x1c]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
mov esi, eax
shr esi, 0x18
mov esi, dword [edi + esi*8 + 0x928]
xor esi, dword [edi + ebx*8 + 0x128]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [edi + ebx*8 + 0x924]
movzx ebx, al
xor esi, dword [edi + ebx*8 + 0x124]
ror edx, 1
mov ebx, edx
shr ebx, 0x10
mov dword [esp + 0x14], eax
movzx ebx, bl
mov ebx, dword [edi + ebx*8 + 0x928]
mov eax, edx
shr eax, 8
movzx ebp, al
xor ebx, dword [edi + ebp*8 + 0x924]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [edi + ebp*8 + 0x124]
movzx ebp, dl
xor ebx, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0xd8]
add ebp, ebx
rol ecx, 1
add ebp, esi
xor ecx, ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x20]
lea ebx, [ecx + ebx*2]
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
add ebx, esi
mov esi, dword [edi + ecx*8 + 0x928]
mov ecx, dword [esp + 0x20]
xor ebx, dword [esp + 0x24]
shr eax, 8
shr ecx, 0x10
movzx ebp, al
xor esi, dword [edi + ebp*8 + 0x128]
movzx ecx, cl
xor esi, dword [edi + ecx*8 + 0x924]
movzx ecx, byte [esp + 0x20]
xor esi, dword [edi + ecx*8 + 0x124]
ror ebx, 1
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ebp, dword [edi + ecx*8 + 0x928]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ebp, dword [edi + eax*8 + 0x924]
mov eax, dword [esp + 0x14]
mov ecx, ebx
shr ecx, 0x18
xor ebp, dword [edi + ecx*8 + 0x124]
movzx ecx, bl
xor ebp, dword [edi + ecx*8 + 0x128]
mov ecx, dword [esp + 0xd0]
add ecx, ebp
add ecx, esi
rol eax, 1
xor eax, ecx
mov ecx, eax
mov eax, dword [esp + 0xd4]
lea eax, [eax + ebp*2]
add eax, esi
xor eax, edx
mov dword [esp + 0x10], ebx
mov edx, ecx
shr edx, 0x18
mov esi, dword [edi + edx*8 + 0x928]
mov ebx, ecx
shr ebx, 8
movzx ebp, bl
xor esi, dword [edi + ebp*8 + 0x128]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor esi, dword [edi + edx*8 + 0x924]
ror eax, 1
movzx edx, cl
xor esi, dword [edi + edx*8 + 0x124]
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov edx, dword [edi + edx*8 + 0x928]
mov ebx, eax
shr ebx, 8
movzx ebp, bl
xor edx, dword [edi + ebp*8 + 0x924]
mov ebp, eax
shr ebp, 0x18
xor edx, dword [edi + ebp*8 + 0x124]
movzx ebp, al
xor edx, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0x20]
rol ebp, 1
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0xc8]
add ebp, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
add ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x10]
lea edx, [edx + ebp*2]
add edx, esi
mov esi, dword [esp + 0x20]
xor edx, ebx
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx ebx, bl
shr esi, 0x18
mov esi, dword [edi + esi*8 + 0x928]
xor esi, dword [edi + ebx*8 + 0x128]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [edi + ebx*8 + 0x924]
movzx ebx, byte [esp + 0x20]
xor esi, dword [edi + ebx*8 + 0x124]
mov dword [esp + 0x10], eax
ror edx, 1
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebp, dword [edi + ebx*8 + 0x928]
mov eax, edx
shr eax, 8
movzx eax, al
xor ebp, dword [edi + eax*8 + 0x924]
mov eax, dword [esp + 0x10]
mov ebx, edx
shr ebx, 0x18
xor ebp, dword [edi + ebx*8 + 0x124]
movzx ebx, dl
xor ebp, dword [edi + ebx*8 + 0x128]
mov ebx, dword [esp + 0xc0]
add ebx, ebp
add ebx, esi
rol ecx, 1
xor ecx, ebx
mov ebx, dword [esp + 0xc4]
lea ebx, [ebx + ebp*2]
add ebx, esi
xor ebx, eax
mov dword [esp + 0x28], edx
mov eax, ecx
shr eax, 0x18
mov esi, dword [edi + eax*8 + 0x928]
mov edx, ecx
shr edx, 8
movzx ebp, dl
xor esi, dword [edi + ebp*8 + 0x128]
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor esi, dword [edi + eax*8 + 0x924]
ror ebx, 1
movzx eax, cl
xor esi, dword [edi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov eax, dword [edi + eax*8 + 0x928]
mov edx, ebx
shr edx, 8
movzx ebp, dl
xor eax, dword [edi + ebp*8 + 0x924]
mov ebp, ebx
shr ebp, 0x18
xor eax, dword [edi + ebp*8 + 0x124]
movzx ebp, bl
xor eax, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0x20]
rol ebp, 1
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0xb8]
add ebp, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add ebp, esi
xor eax, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
lea eax, [eax + ebp*2]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
shr ebx, 8
add eax, esi
xor eax, edx
mov edx, dword [esp + 0x20]
shr edx, 0x18
mov esi, dword [edi + edx*8 + 0x928]
mov edx, dword [esp + 0x20]
movzx ebp, bl
xor esi, dword [edi + ebp*8 + 0x128]
shr edx, 0x10
movzx edx, dl
xor esi, dword [edi + edx*8 + 0x924]
movzx edx, byte [esp + 0x20]
xor esi, dword [edi + edx*8 + 0x124]
ror eax, 1
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ebp, dword [edi + edx*8 + 0x928]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor ebp, dword [edi + ebx*8 + 0x924]
mov ebx, dword [esp + 0x10]
mov edx, eax
shr edx, 0x18
xor ebp, dword [edi + edx*8 + 0x124]
movzx edx, al
xor ebp, dword [edi + edx*8 + 0x128]
mov edx, dword [esp + 0xb0]
add edx, ebp
add edx, esi
rol ecx, 1
xor ecx, edx
mov edx, dword [esp + 0xb4]
lea edx, [edx + ebp*2]
add edx, esi
xor edx, ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov esi, ecx
shr esi, 0x18
mov esi, dword [edi + esi*8 + 0x928]
xor esi, dword [edi + ebx*8 + 0x128]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [edi + ebx*8 + 0x924]
movzx ebx, cl
xor esi, dword [edi + ebx*8 + 0x124]
ror edx, 1
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [edi + ebx*8 + 0x928]
mov dword [esp + 0x28], ecx
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [edi + ebp*8 + 0x924]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [edi + ebp*8 + 0x124]
movzx ebp, dl
xor ebx, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0x20]
rol ebp, 1
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0xa8]
add ebp, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
add ebp, esi
xor ebx, ebp
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0x20]
lea ebx, [ebx + ebp*2]
add ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x20]
shr eax, 0x18
mov esi, dword [edi + eax*8 + 0x928]
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx ebp, cl
xor esi, dword [edi + ebp*8 + 0x128]
ror ebx, 1
xor esi, dword [edi + eax*8 + 0x924]
movzx eax, byte [esp + 0x20]
xor esi, dword [edi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebp, dword [edi + eax*8 + 0x928]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor ebp, dword [edi + ecx*8 + 0x924]
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
xor ebp, dword [edi + eax*8 + 0x124]
movzx eax, bl
xor ebp, dword [edi + eax*8 + 0x128]
mov eax, dword [esp + 0xa0]
add eax, ebp
add eax, esi
rol ecx, 1
xor ecx, eax
mov eax, dword [esp + 0xa4]
lea eax, [eax + ebp*2]
add eax, esi
xor eax, edx
mov dword [esp + 0x28], ebx
mov edx, ecx
shr edx, 0x18
mov esi, dword [edi + edx*8 + 0x928]
mov ebx, ecx
shr ebx, 8
movzx ebp, bl
xor esi, dword [edi + ebp*8 + 0x128]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor esi, dword [edi + edx*8 + 0x924]
ror eax, 1
movzx edx, cl
xor esi, dword [edi + edx*8 + 0x124]
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov edx, dword [edi + edx*8 + 0x928]
mov ebx, eax
shr ebx, 8
movzx ebp, bl
xor edx, dword [edi + ebp*8 + 0x924]
mov ebp, eax
shr ebp, 0x18
xor edx, dword [edi + ebp*8 + 0x124]
movzx ebp, al
xor edx, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0x20]
rol ebp, 1
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x98]
add ebp, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add ebp, esi
xor edx, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
lea edx, [edx + ebp*2]
add edx, esi
mov esi, dword [esp + 0x20]
xor edx, ebx
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx ebx, bl
shr esi, 0x18
mov esi, dword [edi + esi*8 + 0x928]
xor esi, dword [edi + ebx*8 + 0x128]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [edi + ebx*8 + 0x924]
movzx ebx, byte [esp + 0x20]
xor esi, dword [edi + ebx*8 + 0x124]
mov dword [esp + 0x10], eax
ror edx, 1
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebp, dword [edi + ebx*8 + 0x928]
mov eax, edx
shr eax, 8
movzx eax, al
xor ebp, dword [edi + eax*8 + 0x924]
mov eax, dword [esp + 0x10]
mov ebx, edx
shr ebx, 0x18
xor ebp, dword [edi + ebx*8 + 0x124]
movzx ebx, dl
xor ebp, dword [edi + ebx*8 + 0x128]
mov ebx, dword [esp + 0x90]
add ebx, ebp
add ebx, esi
rol ecx, 1
xor ecx, ebx
mov ebx, dword [esp + 0x94]
lea ebx, [ebx + ebp*2]
add ebx, esi
xor ebx, eax
mov dword [esp + 0x28], edx
mov eax, ecx
shr eax, 0x18
mov esi, dword [edi + eax*8 + 0x928]
mov edx, ecx
shr edx, 8
movzx ebp, dl
xor esi, dword [edi + ebp*8 + 0x128]
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor esi, dword [edi + eax*8 + 0x924]
ror ebx, 1
movzx eax, cl
xor esi, dword [edi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov eax, dword [edi + eax*8 + 0x928]
mov edx, ebx
shr edx, 8
movzx ebp, dl
xor eax, dword [edi + ebp*8 + 0x924]
mov ebp, ebx
shr ebp, 0x18
xor eax, dword [edi + ebp*8 + 0x124]
movzx ebp, bl
xor eax, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0x20]
rol ebp, 1
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x88]
add ebp, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add ebp, esi
xor eax, ebp
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x28]
lea eax, [eax + ebp*2]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
shr ebx, 8
add eax, esi
xor eax, edx
mov edx, dword [esp + 0x20]
shr edx, 0x18
mov esi, dword [edi + edx*8 + 0x928]
mov edx, dword [esp + 0x20]
movzx ebp, bl
xor esi, dword [edi + ebp*8 + 0x128]
shr edx, 0x10
movzx edx, dl
xor esi, dword [edi + edx*8 + 0x924]
movzx edx, byte [esp + 0x20]
xor esi, dword [edi + edx*8 + 0x124]
ror eax, 1
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ebp, dword [edi + edx*8 + 0x928]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor ebp, dword [edi + ebx*8 + 0x924]
mov ebx, dword [esp + 0x10]
mov edx, eax
shr edx, 0x18
xor ebp, dword [edi + edx*8 + 0x124]
movzx edx, al
xor ebp, dword [edi + edx*8 + 0x128]
mov edx, dword [esp + 0x80]
add edx, ebp
add edx, esi
rol ecx, 1
xor ecx, edx
mov edx, dword [esp + 0x84]
lea edx, [edx + ebp*2]
add edx, esi
xor edx, ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov esi, ecx
shr esi, 0x18
mov esi, dword [edi + esi*8 + 0x928]
xor esi, dword [edi + ebx*8 + 0x128]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [edi + ebx*8 + 0x924]
movzx ebx, cl
xor esi, dword [edi + ebx*8 + 0x124]
ror edx, 1
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [edi + ebx*8 + 0x928]
mov dword [esp + 0x28], ecx
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [edi + ebp*8 + 0x924]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [edi + ebp*8 + 0x124]
movzx ebp, dl
xor ebx, dword [edi + ebp*8 + 0x128]
mov ebp, dword [esp + 0x20]
rol ebp, 1
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x78]
add ebp, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
add ebp, esi
xor ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
lea ebx, [ebx + ebp*2]
add ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x20]
shr eax, 0x18
mov esi, dword [edi + eax*8 + 0x928]
mov eax, dword [esp + 0x20]
shr ecx, 8
shr eax, 0x10
movzx ebp, cl
xor esi, dword [edi + ebp*8 + 0x128]
movzx eax, al
xor esi, dword [edi + eax*8 + 0x924]
movzx eax, byte [esp + 0x20]
xor esi, dword [edi + eax*8 + 0x124]
ror ebx, 1
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebp, dword [edi + eax*8 + 0x928]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor ebp, dword [edi + ecx*8 + 0x924]
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
xor ebp, dword [edi + eax*8 + 0x124]
movzx eax, bl
xor ebp, dword [edi + eax*8 + 0x128]
mov eax, dword [esp + 0x70]
add eax, ebp
add eax, esi
rol ecx, 1
xor ecx, eax
mov eax, dword [esp + 0x74]
lea eax, [eax + ebp*2]
add eax, esi
xor eax, edx
mov edx, ecx
shr edx, 0x18
mov esi, dword [edi + edx*8 + 0x928]
mov edx, ecx
shr edx, 0x10
mov dword [esp + 0x10], ebx
mov ebx, ecx
movzx edx, dl
shr ebx, 8
mov dword [esp + 0x18], ecx
movzx ebp, bl
xor esi, dword [edi + ebp*8 + 0x128]
movzx ecx, cl
xor esi, dword [edi + edx*8 + 0x924]
ror eax, 1
xor esi, dword [edi + ecx*8 + 0x124]
mov edx, eax
shr edx, 0x10
movzx ecx, dl
mov edx, eax
shr edx, 8
movzx ebp, dl
mov edx, dword [edi + ecx*8 + 0x928]
xor edx, dword [edi + ebp*8 + 0x924]
mov ebp, dword [esp + 0x68]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [edi + ecx*8 + 0x124]
movzx ecx, al
xor edx, dword [edi + ecx*8 + 0x128]
mov ecx, dword [esp + 0x20]
add ebp, edx
add ebp, esi
rol ecx, 1
xor ecx, ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
lea edx, [ebp + edx*2]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xec]
add edx, esi
xor edx, ebx
ror edx, 1
cmp byte [ebp], 1
jne 0x4c387a
mov esi, dword [esp + 0x48]
xor esi, dword [esp + 0x18]
mov ebx, dword [esp + 0xfc]
mov dword [ebx], esi
mov esi, dword [esp + 0x4c]
xor esi, eax
mov eax, dword [esp + 0x50]
xor eax, ecx
mov ecx, dword [esp + 0x54]
xor ecx, edx
mov dword [ebx + 4], esi
mov esi, dword [esp + 0xf4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x4c38da
mov esi, dword [esp + 0xf4]
mov ebx, dword [esi]
mov ecx, dword [esp + 0x48]
xor ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xfc]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x4c]
xor ecx, eax
mov eax, dword [esi + 4]
xor ecx, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x20]
mov dword [ebx + 4], ecx
xor eax, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x54]
xor eax, edx
xor eax, dword [esp + 0x3c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [ebx + 0xc], eax
add esi, 0x10
add ebx, 0x10
sub dword [esp + 0x44], 1
mov dword [esp + 0xf4], esi
mov dword [esp + 0xfc], ebx
jne 0x4c2e76
mov eax, dword [esp + 0xf8]
cmp dword [esp + 0x40], 2
jne 0x4c3923
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret