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

Disassembly:
mov eax, 0x260
call fcn.0041db60
mov eax, dword [0x529474]
xor eax, esp
mov dword [esp + 0x25c], eax
test dword [0x53fc70], 0x800000
mov ecx, dword [esp + 0x264]
mov eax, dword [esp + 0x268]
mov dword [esp + 0x194], ecx
jne 0x499e7e
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x1ec]
sub edi, edx
lea edx, [esp + 0x22c]
sub edx, ecx
mov dword [esp + 0x194], edx
lea edx, [esp + 0x22d]
sub edx, ecx
mov dword [esp + 0x1a8], edx
lea edx, [esp + 0x22e]
sub edx, ecx
mov dword [esp + 0x1a0], edx
lea edx, [esp + 0x22f]
sub edx, ecx
mov dword [esp + 0x184], edx
mov ecx, eax
lea edx, [esp + 0x22c]
sub ecx, edx
mov dword [esp + 0x2c], ecx
lea ecx, [eax + 2]
lea edx, [esp + 0x1ec]
sub eax, edx
mov esi, eax
mov dword [esp + 0x188], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], esi
jmp 0x498c07
mov edi, dword [esp + 0x188]
xor eax, eax
lea esp, [esp]
lea ecx, [esp + eax + 0x1ec]
mov dl, byte [edi + ecx]
mov byte [ecx], dl
mov cl, byte [esi + ecx]
xor cl, dl
mov byte [esp + eax + 0x22c], cl
add eax, 1
cmp eax, 0x40
jl 0x498c10
mov eax, 0x5138a8
mov dword [esp + 0xd4], eax
lea esp, [esp]
movzx edi, byte [esp + 0x217]
mov ebx, dword [edi*8 + 0x5130a8]
mov edi, dword [edi*8 + 0x5130ac]
mov dword [esp + 0x13c], edi
movzx edi, byte [esp + 0x210]
mov dword [esp + 0x138], ebx
mov ebx, dword [edi*8 + 0x5130a8]
mov edi, dword [edi*8 + 0x5130ac]
mov dword [esp + 0x48], edi
movzx edi, byte [esp + 0x209]
mov dword [esp + 0x44], ebx
mov ebx, dword [edi*8 + 0x5130a8]
mov edi, dword [edi*8 + 0x5130ac]
mov dword [esp + 0xe4], edi
movzx edi, byte [esp + 0x202]
mov dword [esp + 0xe0], ebx
mov ebx, dword [edi*8 + 0x5130a8]
mov edi, dword [edi*8 + 0x5130ac]
mov dword [esp + 0x154], edi
movzx edi, byte [esp + 0x1fb]
mov ebp, dword [edi*8 + 0x5130a8]
mov edi, dword [edi*8 + 0x5130ac]
mov dword [esp + 0x18c], ebp
mov edx, dword [eax]
mov dword [esp + 0x190], edi
shld edi, ebp, 8
xor edi, dword [esp + 0x154]
shl ebp, 8
xor ebp, ebx
shld edi, ebp, 8
xor edi, dword [esp + 0xe4]
mov eax, dword [eax + 4]
shl ebp, 8
xor ebp, dword [esp + 0xe0]
mov dword [esp + 0x150], ebx
shld edi, ebp, 8
xor edi, dword [esp + 0x48]
shl ebp, 8
xor ebp, dword [esp + 0x44]
mov dword [esp + 0x1b0], eax
movzx eax, byte [esp + 0x225]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shld edi, ebp, 8
shl ebp, 8
xor ebp, dword [esp + 0x138]
mov ebx, edi
mov edi, dword [esp + 0x13c]
xor ebx, edi
shld ebx, ebp, 8
mov dword [esp + 0x1ac], edx
movzx edx, byte [esp + 0x21e]
mov esi, dword [edx*8 + 0x5130a8]
mov edx, dword [edx*8 + 0x5130ac]
shl ebp, 8
xor ebp, esi
xor ebx, edx
shld ebx, ebp, 8
xor ebx, eax
shl ebp, 8
xor ebp, ecx
shrd ecx, eax, 8
shr eax, 8
xor eax, edx
xor ecx, esi
shrd ecx, eax, 8
xor ecx, dword [esp + 0x138]
shr eax, 8
xor eax, edi
shrd ecx, eax, 8
xor ecx, dword [esp + 0x44]
shr eax, 8
xor eax, dword [esp + 0x48]
shld ebx, ebp, 8
shrd ecx, eax, 8
xor ecx, dword [esp + 0xe0]
shr eax, 8
xor eax, dword [esp + 0xe4]
shl ebp, 8
shrd ecx, eax, 8
shr eax, 8
xor eax, dword [esp + 0x154]
xor ecx, dword [esp + 0x150]
shrd ecx, eax, 8
xor ecx, dword [esp + 0x18c]
shr eax, 8
xor eax, dword [esp + 0x190]
shrd ecx, eax, 8
xor ebp, ecx
shr eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x1ec]
xor ebp, dword [eax*8 + 0x5130a8]
xor ebx, dword [eax*8 + 0x5130ac]
xor dword [esp + 0x1ac], ebp
xor dword [esp + 0x1b0], ebx
movzx eax, byte [esp + 0x1ed]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x226]
mov ecx, dword [eax*8 + 0x5130ac]
mov edi, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x21f]
mov dword [esp + 0x174], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, dword [esp + 0x174]
xor ebx, edi
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0xf4], eax
xor ebp, dword [esp + 0xf4]
movzx eax, byte [esp + 0x218]
mov dword [esp + 0xf0], ecx
xor ebx, dword [esp + 0xf0]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0x68], eax
xor ebp, dword [esp + 0x68]
movzx eax, byte [esp + 0x211]
mov dword [esp + 0x64], ecx
xor ebx, dword [esp + 0x64]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0x114], eax
xor ebp, dword [esp + 0x114]
movzx eax, byte [esp + 0x20a]
mov dword [esp + 0x110], ecx
xor ebx, dword [esp + 0x110]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
xor ebx, dword [esp + 0x54]
movzx ecx, byte [esp + 0x203]
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
shr ebp, 8
xor ebp, dword [esp + 0x58]
mov dword [esp + 0x170], edi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0x58]
xor ebx, eax
shl eax, 8
xor eax, dword [esp + 0x54]
shrd ebx, ebp, 8
shld ecx, eax, 8
shl eax, 8
shr ebp, 8
xor eax, dword [esp + 0x110]
xor ecx, dword [esp + 0x114]
shld ecx, eax, 8
xor ecx, dword [esp + 0x68]
shl eax, 8
xor eax, dword [esp + 0x64]
shld ecx, eax, 8
xor ecx, dword [esp + 0xf4]
shl eax, 8
xor eax, dword [esp + 0xf0]
shld ecx, eax, 8
xor ecx, dword [esp + 0x174]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
xor ebp, ecx
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x1f4]
xor ebp, dword [eax*8 + 0x5130ac]
xor ebx, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x1f5]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x1ee]
mov ecx, dword [eax*8 + 0x5130ac]
mov edi, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x227]
mov dword [esp + 0x1b8], ebp
mov dword [esp + 0x1b4], ebx
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0x144], ecx
xor ebp, dword [esp + 0x144]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
xor ebx, edi
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0x104], eax
xor ebp, dword [esp + 0x104]
movzx eax, byte [esp + 0x220]
mov dword [esp + 0x100], ecx
xor ebx, dword [esp + 0x100]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0x88], eax
xor ebp, dword [esp + 0x88]
movzx eax, byte [esp + 0x219]
mov dword [esp + 0x84], ecx
xor ebx, dword [esp + 0x84]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
shr ebp, 8
mov dword [esp + 0x120], ecx
xor ebx, dword [esp + 0x120]
mov dword [esp + 0x124], eax
xor ebp, dword [esp + 0x124]
movzx eax, byte [esp + 0x212]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
mov dword [esp + 0x74], ecx
xor ebx, dword [esp + 0x74]
movzx ecx, byte [esp + 0x20b]
shr ebp, 8
mov dword [esp + 0x78], eax
xor ebp, dword [esp + 0x78]
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
shrd ebx, ebp, 8
mov dword [esp + 0x140], edi
shr ebp, 8
xor ebx, eax
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0x78]
shl eax, 8
xor eax, dword [esp + 0x74]
shrd ebx, ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x124]
shl eax, 8
xor eax, dword [esp + 0x120]
shr ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x88]
shl eax, 8
xor eax, dword [esp + 0x84]
shld ecx, eax, 8
xor ecx, dword [esp + 0x104]
shl eax, 8
xor eax, dword [esp + 0x100]
shld ecx, eax, 8
xor ecx, dword [esp + 0x144]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x1fc]
xor ebx, dword [eax*8 + 0x5130a8]
xor ebp, ecx
xor ebp, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x1fd]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x1f6]
mov edi, dword [eax*8 + 0x5130a8]
mov ecx, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x1ef]
mov dword [esp + 0x14c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x1c0], ebp
mov dword [esp + 0x12c], eax
movzx eax, byte [esp + 0x228]
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x128], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, dword [esp + 0x14c]
mov dword [esp + 0xa8], eax
movzx eax, byte [esp + 0x221]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
xor ebx, edi
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x128]
mov dword [esp + 0x134], eax
movzx eax, byte [esp + 0x21a]
shr ebp, 8
xor ebp, dword [esp + 0x12c]
mov dword [esp + 0x130], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x94], ecx
movzx ecx, byte [esp + 0x213]
shrd ebx, ebp, 8
mov dword [esp + 0x98], eax
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
shr ebp, 8
xor ebx, dword [esp + 0xa4]
mov dword [esp + 0x148], edi
xor ebp, dword [esp + 0xa8]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x130]
shr ebp, 8
xor ebp, dword [esp + 0x134]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x94]
shr ebp, 8
xor ebp, dword [esp + 0x98]
shrd ebx, ebp, 8
xor ebx, eax
shr ebp, 8
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0x98]
shl eax, 8
xor eax, dword [esp + 0x94]
shrd ebx, ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x134]
shl eax, 8
xor eax, dword [esp + 0x130]
shr ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0xa8]
shl eax, 8
xor eax, dword [esp + 0xa4]
shld ecx, eax, 8
xor ecx, dword [esp + 0x12c]
shl eax, 8
xor eax, dword [esp + 0x128]
shld ecx, eax, 8
xor ecx, dword [esp + 0x14c]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x204]
xor ebx, dword [eax*8 + 0x5130a8]
xor ebp, ecx
xor ebp, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x205]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x1fe]
mov ecx, dword [eax*8 + 0x5130ac]
mov edi, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x1f7]
mov dword [esp + 0x15c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x10c], eax
movzx eax, byte [esp + 0x1f0]
mov dword [esp + 0x108], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0xc8], eax
movzx eax, byte [esp + 0x229]
mov dword [esp + 0xc4], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x11c], eax
movzx eax, byte [esp + 0x222]
mov dword [esp + 0x118], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0xb4], ecx
movzx ecx, byte [esp + 0x21b]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1c8], ebp
mov dword [esp + 0x158], edi
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, dword [esp + 0x15c]
xor ebx, edi
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x108]
shr ebp, 8
xor ebp, dword [esp + 0x10c]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0xc4]
shr ebp, 8
xor ebp, dword [esp + 0xc8]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x118]
shr ebp, 8
xor ebp, dword [esp + 0x11c]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0xb4]
shr ebp, 8
xor ebp, dword [esp + 0xb8]
shrd ebx, ebp, 8
xor ebx, eax
shr ebp, 8
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0xb8]
shl eax, 8
xor eax, dword [esp + 0xb4]
shrd ebx, ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x11c]
shl eax, 8
xor eax, dword [esp + 0x118]
shr ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0xc8]
shl eax, 8
xor eax, dword [esp + 0xc4]
shld ecx, eax, 8
xor ecx, dword [esp + 0x10c]
shl eax, 8
xor eax, dword [esp + 0x108]
shld ecx, eax, 8
xor ecx, dword [esp + 0x15c]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x20c]
xor ebx, dword [eax*8 + 0x5130a8]
xor ebp, ecx
xor ebp, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x20d]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x206]
mov ecx, dword [eax*8 + 0x5130ac]
mov edi, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x1ff]
mov dword [esp + 0x16c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0x1f8]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x1f1]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], ebp
mov dword [esp + 0x168], edi
mov dword [esp + 0x18], ecx
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, dword [esp + 0x16c]
xor ebx, edi
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x30]
shr ebp, 8
xor ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x24]
movzx eax, byte [esp + 0x22a]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shr ebp, 8
xor ebp, dword [esp + 0x28]
mov dword [esp + 0x14], eax
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x18]
shr ebp, 8
xor ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x223]
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x10]
shr ebp, 8
xor ebp, dword [esp + 0x14]
shrd ebx, ebp, 8
xor ebx, eax
shr ebp, 8
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0x14]
shl eax, 8
xor eax, dword [esp + 0x10]
shrd ebx, ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x1c]
shl eax, 8
xor eax, dword [esp + 0x18]
shr ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x28]
shl eax, 8
xor eax, dword [esp + 0x24]
shld ecx, eax, 8
xor ecx, dword [esp + 0x34]
shl eax, 8
xor eax, dword [esp + 0x30]
shld ecx, eax, 8
xor ecx, dword [esp + 0x16c]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x214]
xor ebx, dword [eax*8 + 0x5130a8]
xor ebp, ecx
xor ebp, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x215]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x20e]
mov ecx, dword [eax*8 + 0x5130ac]
mov edi, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x207]
mov dword [esp + 0x17c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1d8], ebp
mov dword [esp + 0x178], edi
mov dword [esp + 0x6c], ecx
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x70], eax
movzx eax, byte [esp + 0x200]
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, dword [esp + 0x17c]
xor ebx, edi
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
movzx eax, byte [esp + 0x1f9]
shr ebp, 8
xor ebp, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
movzx eax, byte [esp + 0x1f2]
shr ebp, 8
xor ebp, dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
shr ebp, 8
xor ebp, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [esp + 0x22b]
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x3c]
shr ebp, 8
xor ebp, dword [esp + 0x40]
shrd ebx, ebp, 8
xor ebx, eax
shr ebp, 8
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0x40]
shl eax, 8
xor eax, dword [esp + 0x3c]
shrd ebx, ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x50]
shl eax, 8
xor eax, dword [esp + 0x4c]
shr ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x60]
shl eax, 8
xor eax, dword [esp + 0x5c]
shld ecx, eax, 8
xor ecx, dword [esp + 0x70]
shl eax, 8
xor eax, dword [esp + 0x6c]
shld ecx, eax, 8
xor ecx, dword [esp + 0x17c]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x21c]
xor ebx, dword [eax*8 + 0x5130a8]
xor ebp, ecx
xor ebp, dword [eax*8 + 0x5130ac]
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1e0], ebp
movzx eax, byte [esp + 0x21d]
mov edx, dword [eax*8 + 0x5130a8]
mov esi, dword [eax*8 + 0x5130ac]
movzx eax, byte [esp + 0x216]
mov ecx, dword [eax*8 + 0x5130ac]
mov edi, dword [eax*8 + 0x5130a8]
movzx eax, byte [esp + 0x20f]
mov dword [esp + 0x164], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov dword [esp + 0xb0], eax
movzx eax, byte [esp + 0x208]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
mov ebx, edx
mov ebp, esi
shrd ebx, ebp, 8
shr ebp, 8
xor ebp, dword [esp + 0x164]
xor ebx, edi
shrd ebx, ebp, 8
xor ebx, dword [esp + 0xac]
shr ebp, 8
xor ebp, dword [esp + 0xb0]
mov dword [esp + 0xa0], eax
movzx eax, byte [esp + 0x201]
shrd ebx, ebp, 8
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
xor ebx, dword [esp + 0x9c]
shr ebp, 8
xor ebp, dword [esp + 0xa0]
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x1fa]
shrd ebx, ebp, 8
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax*8 + 0x5130a8]
mov eax, dword [eax*8 + 0x5130ac]
xor ebx, dword [esp + 0x8c]
shr ebp, 8
xor ebp, dword [esp + 0x90]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
movzx ecx, byte [esp + 0x1f3]
mov eax, dword [ecx*8 + 0x5130a8]
mov ecx, dword [ecx*8 + 0x5130ac]
shrd ebx, ebp, 8
xor ebx, dword [esp + 0x7c]
shr ebp, 8
xor ebp, dword [esp + 0x80]
mov dword [esp + 0x160], edi
shrd ebx, ebp, 8
xor ebx, eax
shr ebp, 8
xor ebp, ecx
shld ecx, eax, 8
xor ecx, dword [esp + 0x80]
shl eax, 8
xor eax, dword [esp + 0x7c]
shrd ebx, ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0x90]
shl eax, 8
xor eax, dword [esp + 0x8c]
shr ebp, 8
shld ecx, eax, 8
xor ecx, dword [esp + 0xa0]
shl eax, 8
xor eax, dword [esp + 0x9c]
shld ecx, eax, 8
xor ecx, dword [esp + 0xb0]
shl eax, 8
xor eax, dword [esp + 0xac]
shld ecx, eax, 8
xor ecx, dword [esp + 0x164]
shl eax, 8
xor eax, edi
shld ecx, eax, 8
shl eax, 8
xor eax, edx
xor ecx, esi
shld ecx, eax, 8
shl eax, 8
xor ebx, eax
movzx eax, byte [esp + 0x224]
xor ebx, dword [eax*8 + 0x5130a8]
xor ebp, ecx
xor ebp, dword [eax*8 + 0x5130ac]
mov ecx, 0x10
lea esi, [esp + 0x1ac]
lea edi, [esp + 0x1ec]
mov dword [esp + 0x1e4], ebx
mov dword [esp + 0x1e8], ebp
mov eax, 2
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edx, [eax + 6]
jmp 0x499b50
lea esi, [eax - 3]
and esi, 7
movzx esi, byte [esp + esi*8 + 0x22d]
mov edi, dword [esi*8 + 0x5130a8]
mov ebx, dword [esi*8 + 0x5130ac]
lea esi, [eax - 4]
and esi, 7
movzx esi, byte [esp + esi*8 + 0x22e]
mov ebp, dword [esi*8 + 0x5130a8]
mov esi, dword [esi*8 + 0x5130ac]
mov dword [esp + 0xfc], esi
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x198], edi
shrd edi, ebx, 8
shr ebx, 8
xor ebx, dword [esp + 0xfc]
lea esi, [eax + 3]
and esi, 7
movzx esi, byte [esp + esi*8 + 0x22f]
mov dword [esp + 0xf8], ebp
mov ebp, dword [esi*8 + 0x5130a8]
mov esi, dword [esi*8 + 0x5130ac]
xor edi, dword [esp + 0xf8]
mov dword [esp + 0xec], esi
shrd edi, ebx, 8
shr ebx, 8
xor ebx, dword [esp + 0xec]
lea esi, [eax + 2]
and esi, 7
movzx esi, byte [esp + esi*8 + 0x230]
mov dword [esp + 0xe8], ebp
mov ebp, dword [esi*8 + 0x5130a8]
mov esi, dword [esi*8 + 0x5130ac]
xor edi, dword [esp + 0xe8]
mov dword [esp + 0xdc], esi
shrd edi, ebx, 8
lea esi, [eax + 1]
mov dword [esp + 0x180], esi
and esi, 7
movzx esi, byte [esp + esi*8 + 0x231]
shr ebx, 8
xor ebx, dword [esp + 0xdc]
mov dword [esp + 0xd8], ebp
mov ebp, dword [esi*8 + 0x5130a8]
xor edi, dword [esp + 0xd8]
mov esi, dword [esi*8 + 0x5130ac]
shrd edi, ebx, 8
mov dword [esp + 0xd0], esi
mov esi, eax
shr ebx, 8
xor ebx, dword [esp + 0xd0]
and esi, 7
movzx esi, byte [esp + esi*8 + 0x232]
mov dword [esp + 0xcc], ebp
xor edi, dword [esp + 0xcc]
mov ebp, dword [esi*8 + 0x5130a8]
mov esi, dword [esi*8 + 0x5130ac]
shrd edi, ebx, 8
shr ebx, 8
mov dword [esp + 0xc0], esi
xor ebx, dword [esp + 0xc0]
add eax, 0xffffffff
and eax, 7
movzx esi, byte [esp + eax*8 + 0x233]
mov eax, dword [esi*8 + 0x5130a8]
mov esi, dword [esi*8 + 0x5130ac]
xor edi, ebp
shrd edi, ebx, 8
shr ebx, 8
xor ebx, esi
shld esi, eax, 8
xor esi, dword [esp + 0xc0]
xor edi, eax
shl eax, 8
xor eax, ebp
shld esi, eax, 8
shrd edi, ebx, 8
shl eax, 8
shr ebx, 8
xor eax, dword [esp + 0xcc]
mov dword [esp + 0xbc], ebp
xor esi, dword [esp + 0xd0]
add ecx, 8
shld esi, eax, 8
xor esi, dword [esp + 0xdc]
shl eax, 8
xor eax, dword [esp + 0xd8]
shld esi, eax, 8
xor esi, dword [esp + 0xec]
shl eax, 8
xor eax, dword [esp + 0xe8]
shld esi, eax, 8
xor esi, dword [esp + 0xfc]
shl eax, 8
xor eax, dword [esp + 0xf8]
shld esi, eax, 8
xor esi, dword [esp + 0x19c]
shl eax, 8
xor eax, dword [esp + 0x198]
shld esi, eax, 8
shl eax, 8
xor edi, eax
movzx eax, byte [esp + ecx + 0x224]
xor edi, dword [eax*8 + 0x5130a8]
xor ebx, esi
xor ebx, dword [eax*8 + 0x5130ac]
xor dword [esp + ecx + 0x1a4], edi
xor dword [esp + ecx + 0x1a8], ebx
sub edx, 1
mov eax, dword [esp + 0x180]
jne 0x499b50
mov eax, dword [esp + 0xd4]
add eax, 8
cmp eax, 0x5138f8
mov ecx, 0x10
lea esi, [esp + 0x1ac]
lea edi, [esp + 0x22c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xd4], eax
jl 0x498c40
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1a4]
mov edi, dword [esp + 0x2c]
lea ebp, [edx + 0x10]
mov edx, dword [esp + 0x194]
lea esp, [esp]
lea esi, [edx + eax]
movzx ebx, byte [edi + esi]
xor bl, byte [eax]
add eax, 4
xor bl, byte [esi]
mov esi, dword [esp + 0x1a8]
mov byte [eax - 4], bl
movzx ebx, byte [esi + eax - 4]
xor bl, byte [ecx - 1]
mov esi, dword [esp + 0x1a0]
xor byte [eax - 3], bl
movzx ebx, byte [esi + eax - 4]
xor bl, byte [eax - 2]
mov esi, dword [esp + 0x184]
xor bl, byte [ecx]
add ecx, 4
mov byte [eax - 2], bl
movzx ebx, byte [esi + eax - 4]
xor bl, byte [ecx - 3]
xor byte [eax - 1], bl
sub ebp, 1
jne 0x499df0
mov esi, dword [esp + 0x20]
add esi, 0x40
add edi, 0x40
sub dword [esp + 0x27c], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edi
jne 0x498c00
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.004123d1
add esp, 0x260
ret
mov edx, dword [esp + 0x26c]
push edx
push eax
push ecx
call fcn.004a6a40
mov ecx, dword [esp + 0x268]
add esp, 0xc
xor ecx, esp
call fcn.004123d1
add esp, 0x260
ret