Function at 0x41c8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475b23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa3c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 8]
xor edi, edi
push 0x4922c4
push eax
mov dword [ebp - 4], edi
call fcn.004472b6
add esp, 8
test eax, eax
jne 0x41c90c
lea ecx, [ebx + 8]
push ecx
lea ecx, [ebp + 8]
call fcn.0045c7bd
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x328]
push edx
push eax
mov dword [ebp - 0x88], edi
call fcn.00461e39
test eax, eax
je 0x41c952
mov al, byte [ebp - 0x318]
test al, 1
je 0x41c952
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x328]
and al, 0xfe
push ecx
push edx
mov byte [ebp - 0x318], al
call fcn.00461f9e
mov dword [ebp - 0x88], 1
push 0x48c754
push edi
lea ecx, [ebp + 8]
call fcn.0045cab4
push eax
call fcn.00447d77
add esp, 8
cmp eax, edi
mov dword [ebp - 0x6c], eax
je 0x41ca09
lea esi, [ebx + 0x230]
mov dword [ebp - 0x78], edi
push esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0xa0], edi
call fcn.00432fa0
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 4]
push 0x486000
push eax
add ebx, 0x2b4
push 0x446f8c
push 3
push ebx
mov dword [esi], 0x420530
call fcn.00447d8c
add esp, 0x18
test eax, eax
je 0x41ca2d
lea ecx, [ebp - 0x210]
push ecx
call fcn.004351d0
mov eax, dword [ebp - 0x78]
add esp, 4
cmp eax, edi
je 0x41c9da
push eax
call fcn.0045cc58
add esp, 4
mov eax, dword [ebp - 0x74]
cmp eax, edi
je 0x41c9ea
push eax
call fcn.0045cc58
add esp, 4
mov eax, dword [ebp - 0xa0]
cmp eax, edi
je 0x41c9fd
push eax
call fcn.0045cc58
add esp, 4
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00447cc9
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0045c6d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x168
lea eax, [ebp - 0x210]
push 0x3e
push eax
call fcn.00435100
mov ebx, dword [ebp - 0x70]
lea ecx, [ebp - 0x210]
push ecx
lea eax, [ebx + 0x80]
push eax
call fcn.00435500
mov eax, dword [ebx + 0x5f8]
add esp, 0x14
cmp eax, edi
je 0x41ca71
lea edx, [ebp - 0x210]
mov ecx, ebx
push edx
call fcn.0041d600
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x6c]
push edx
mov cl, byte [eax + 4]
lea eax, [ebp - 0x210]
push eax
mov byte [ebp - 0x15e], cl
call fcn.00435b40
mov ecx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x210]
lea edx, [ecx*4]
mov ecx, dword [ebp - 0x20c]
push edx
push 1
push eax
call dword [ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xa4]
add esp, 0x14
cmp eax, edi
jle 0x41cb2a
mov dword [ebp - 0x2c], 0
mov esi, dword [ebx + 0x144]
mov edx, dword [ebp - 0x2c]
add esi, edx
mov edx, dword [ebp - 0x20c]
add edx, 0x14
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x44], edx
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call fcn.00432440
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x1c]
add esp, 8
push eax
push ecx
push edx
call fcn.00432440
mov ecx, dword [ebp - 0x44]
add esp, 8
push eax
push 0
lea eax, [ebp - 0x210]
push 1
push eax
call dword [ecx]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
add ecx, 0x54
mov dword [edx + edi*4], eax
mov eax, dword [ebx + 0xa4]
inc edi
mov dword [ebp - 0x2c], ecx
cmp edi, eax
jl 0x41cac3
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x210]
push eax
call dword [ecx + 0x18]
mov esi, dword [ebp + 0xc]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41cb55
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x41cb55
mov byte [ebp - 0x14c], 0
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x210]
push edx
push eax
call fcn.004354a0
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
add esp, 8
lea ecx, [ebx + 0x24]
mov dword [ebp - 0xa8], ecx
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
push edx
mov edx, dword [ebx + 0x18c]
lea eax, [ebp - 0x210]
push eax
push edx
call fcn.0041e790
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41d36e
mov edi, dword [ebx + 0x190]
mov esi, dword [ebx + 0x194]
mov eax, dword [ebx + 0x9c]
mov ecx, dword [ebx + 0xa0]
shl edi, 3
shl esi, 3
push edi
push eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x54], esi
call fcn.00432430
mov edx, dword [ebp - 0x7c]
push esi
push edx
mov dword [ebp - 0x50], eax
call fcn.00432430
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x190]
imul eax, dword [ebp - 0x50]
mov ecx, dword [ebx + 0x194]
mov dword [ebp - 0x68], eax
imul ecx, eax
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x84], ecx
xor ecx, ecx
add esp, 0x10
cmp eax, ecx
mov dword [ebp - 0x38], ecx
jle 0x41cc53
mov eax, dword [ebx + 0x144]
add eax, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x50]
mov edx, dword [edx]
shl eax, 6
imul edx, eax
mov dword [ebp + ecx*4 - 0x9c], eax
mov eax, dword [ebp - 0x38]
add eax, edx
mov edx, dword [ebx + 0xa4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
inc ecx
add eax, 0x54
cmp ecx, edx
mov dword [ebp - 0x2c], eax
jl 0x41cc1e
mov eax, dword [ebp - 0x38]
lea ecx, [eax + eax]
push ecx
call fcn.0045cc2f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
imul eax, edi
lea edi, [eax + eax*2]
mov edx, edi
mov dword [ebp - 0xa4], edi
imul edx, esi
push edx
call fcn.0045cc2f
lea ecx, [esi - 1]
mov dword [ebp - 0x44], eax
imul ecx, edi
mov dword [ebp - 0x74], eax
add ecx, eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], ecx
push eax
call fcn.0045cc2f
add esp, 0xc
mov dword [ebp - 0x38], eax
lea ecx, [ebx + 0x2f4]
lea eax, [ebx + 0x80]
push edi
push ecx
push eax
lea ecx, [ebp - 0xa48]
call fcn.00419f90
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 1
test eax, eax
mov dword [ebp - 0x34], 0
jbe 0x41d334
mov eax, dword [ebx + 0xa4]
mov edx, dword [ebx + 0x5f4]
mov edi, dword [ebp - 0x2c]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], esi
jle 0x41cdc4
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 0x144]
mov edx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x14], edi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0xc]
shl edx, 6
mov esi, ecx
mov dword [ebp - 0x18], edx
imul esi, edx
imul esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
lea esi, [edx + esi*2]
xor edx, edx
test ecx, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
jle 0x41cd7e
imul ecx, dword [ebp - 0x34]
add ecx, edx
mov edx, dword [eax + 0x20]
cmp ecx, edx
jae 0x41cd7e
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x9c]
add ecx, ecx
mov dword [ebp - 0x3c], ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
lea esi, [ecx + edx*2]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
add edi, edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], esi
inc edx
mov dword [ebp - 0x14], edi
cmp edx, ecx
mov dword [ebp - 0x28], edx
jl 0x41cd2f
mov ecx, dword [eax + 0x20]
mov edi, dword [ebp - 0x10]
imul ecx, dword [eax + 0x1c]
shl ecx, 7
add edi, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + ecx*4 - 0x9c]
imul edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x1c], ecx
lea edi, [eax + edx*2]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0xa4]
add edx, 0x54
cmp ecx, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], edx
jl 0x41ccfa
xor esi, esi
mov eax, dword [ebx + 0xa4]
mov ecx, dword [ebx + 0x5f4]
cmp eax, esi
mov dword [ebp - 0x20], ecx
jle 0x41ce87
mov dword [ebp - 0x10], esi
mov edi, dword [ebx + 0x144]
mov ecx, dword [ebp - 0x10]
add edi, ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [edi + 8]
imul eax, dword [ebp - 0x60]
push eax
call fcn.00432430
mov edx, dword [edi + 0xc]
mov ecx, dword [ebp - 0x54]
imul edx, dword [ebp - 0x7c]
push ecx
push edx
mov dword [ebp - 0x18], eax
call fcn.00432430
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebx + 0x194]
add esp, 0x10
inc ecx
imul edx, ecx
cmp edx, eax
mov eax, 1
jg 0x41ce2a
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x5f8]
mov ecx, dword [ebp - 0x90]
push edx
mov edx, dword [edi + 0xc]
imul edx, dword [edi + 0x1c]
imul edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
shl edx, 7
add edx, ecx
lea ecx, [ebp - 0xa48]
push edx
push esi
call fcn.0041a280
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x10]
imul eax, dword [edi + 0x1c]
mov edi, dword [ebp - 0x20]
add ecx, 0x54
shl eax, 7
add edi, eax
mov eax, dword [ebx + 0xa4]
inc esi
mov dword [ebp - 0x20], edi
cmp esi, eax
mov dword [ebp - 0x10], ecx
jl 0x41cdde
mov ecx, dword [ebp - 0x44]
push 8
push ecx
lea ecx, [ebp - 0xa48]
call fcn.0041ae70
mov ecx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x38]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [ebp - 0x10], 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x54]
test eax, eax
jbe 0x41cf9b
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xa4]
neg eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jae 0x41cf9b
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x20]
mov esi, dword [edx + 0x1c]
sub ecx, ebx
mov dword [ebp - 0x20], 0
sub ecx, eax
dec ecx
imul ecx, dword [edx + 0x24]
cdq
and edx, 7
add ecx, esi
add eax, edx
mov edx, dword [ebp - 0x38]
mov esi, eax
mov eax, dword [ebp - 0x60]
sar esi, 3
imul esi, dword [ebp - 0x68]
add esi, edx
test eax, eax
jle 0x41cf74
mov bl, byte [ecx + 2]
mov dl, byte [edi + 2]
mov al, byte [edi + 1]
xor bl, dl
mov dl, byte [ecx + 1]
add edi, 3
xor dl, al
mov al, byte [ecx]
or bl, dl
mov dl, byte [edi - 3]
xor al, dl
add ecx, 3
or bl, al
mov eax, dword [ebp - 0x20]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, esi
mov dl, byte [eax]
or dl, bl
mov byte [eax], dl
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x60]
inc eax
cmp eax, edx
mov dword [ebp - 0x20], eax
jl 0x41cf31
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x70]
add edx, ecx
mov ecx, dword [ebp - 0x54]
inc eax
inc esi
cmp eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x4c], edx
jb 0x41cee4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], 0
test eax, eax
jbe 0x41d1ba
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], 0
lea edx, [eax + eax*2]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebx + 0x194]
xor edi, edi
test eax, eax
jle 0x41d003
mov ecx, dword [ebx + 0x190]
xor esi, esi
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x41cff5
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x38]
imul eax, ecx
add eax, esi
add eax, edx
mov edx, ecx
cmp byte [eax], 0
je 0x41cff1
mov edi, 1
inc eax
dec edx
jne 0x41cfe7
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
add esi, edx
dec eax
mov dword [ebp - 0x14], eax
jne 0x41cfd4
test edi, edi
je 0x41d19d
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
inc edx
imul edx, dword [ebp - 0x54]
mov esi, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
sub esi, edx
mov edi, dword [ecx + 0x1c]
imul esi, eax
mov edx, dword [ebp - 0x24]
add esi, edi
add esi, edx
push eax
push esi
lea ecx, [ebp - 0xa48]
call fcn.0041b280
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xa4]
test eax, eax
jle 0x41d19d
mov dword [ebp - 0x14], 0
mov esi, dword [ebx + 0x144]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x190]
add esi, ecx
cdq
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], esi
idiv ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x194]
cdq
idiv esi
test esi, esi
mov dword [ebp - 0x8c], eax
jle 0x41d168
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x80], edx
xor esi, esi
test ecx, ecx
jle 0x41d13d
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x41d104
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x64]
test eax, eax
jle 0x41d0f6
mov eax, dword [ebx + 0x190]
mov edx, dword [ebp - 0x38]
imul eax, dword [ebp - 0x10]
add eax, esi
add eax, edx
mov edx, dword [ebp - 0x64]
add eax, edi
cmp byte [eax], 0
je 0x41d0f2
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x18], 1
inc eax
dec edx
jne 0x41d0e3
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
add edi, edx
dec eax
mov dword [ebp - 0x3c], eax
jne 0x41d0c6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41d12e
imul ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x28]
add ecx, esi
mov edx, dword [ebp - 0x1c]
shl ecx, 7
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x4c]
push ecx
push esi
push edx
lea ecx, [ebp - 0xa48]
call fcn.0041b590
mov eax, dword [ebp - 0x30]
inc esi
mov ecx, dword [eax + 8]
cmp esi, ecx
jl 0x41d0af
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x4c]
add esi, edx
mov edx, dword [ebp - 0x50]
add edi, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], esi
inc eax
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x4c], eax
cmp eax, esi
mov dword [ebp - 0x80], edi
jl 0x41d0a5
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + eax*4 - 0x9c]
imul ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1c], eax
lea ecx, [edx + ecx*2]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0xa4]
add edx, 0x54
cmp eax, ecx
mov dword [ebp - 0x14], edx
jl 0x41d05a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
inc eax
add esi, edx
cmp eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esi
jb 0x41cfbd
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xa4]
test eax, eax
jle 0x41d322
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x9c]
sub eax, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x5c], eax
mov esi, dword [ebx + 0x144]
mov edx, dword [ebp - 0x30]
add esi, edx
push 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], edx
push eax
imul eax, dword [ebp - 0x34]
mov edx, dword [ebx + 0x84]
push eax
mov eax, dword [ebp - 0x5c]
lea edi, [ebp + ecx*4 - 0x9c]
mov ecx, dword [eax + edi]
lea eax, [ebx + 0x80]
push ecx
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
xor edx, edx
div dword [esi + 8]
mov edx, dword [ebp - 0x60]
push eax
push edx
call fcn.00432430
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x64], eax
add esp, 0x1c
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x3c], eax
jle 0x41d2f5
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
imul ecx, dword [ebp - 0x34]
mov edx, dword [esi + 0x20]
add ecx, eax
cmp ecx, edx
jae 0x41d2f5
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x14]
test ecx, ecx
jbe 0x41d2c3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
add ecx, eax
mov eax, 8
mov edi, dword [edx]
add edx, 0x10
mov dword [ecx], edi
mov edi, dword [edx - 0xc]
mov dword [ecx + 4], edi
mov edi, dword [edx - 8]
mov dword [ecx + 8], edi
mov edi, dword [edx - 4]
mov dword [ecx + 0xc], edi
add ecx, 0x10
dec eax
jne 0x41d28c
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add ecx, 0x80
dec eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
jne 0x41d27d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp + ecx*4 - 0x9c]
lea edi, [ebp + ecx*4 - 0x9c]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + edx*2]
mov ecx, dword [ebp - 0x28]
add ecx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x41d258
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
imul eax, dword [esi + 0xc]
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x30]
inc eax
add edx, 0x54
cmp eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], edx
jl 0x41d1ea
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, ecx
mov dword [ebp - 0x34], eax
jb 0x41ccd5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0045cc58
mov ecx, dword [ebp - 0x44]
xor esi, esi
push ecx
mov dword [ebp - 0x78], esi
call fcn.0045cc58
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x74], esi
push edx
call fcn.0045cc58
add esp, 0xc
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], 0
call fcn.0041a270
jmp 0x41d496
mov ecx, dword [ebx + 0xa4]
mov esi, dword [ebx + 0x5f4]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0x18], eax
jle 0x41d496
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov edi, dword [ebx + 0x144]
mov ecx, dword [ebp - 0x14]
add edi, ecx
mov dword [ebp - 0x40], 0
mov eax, dword [edi + 0x20]
test eax, eax
jbe 0x41d46f
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
push 1
mov ecx, dword [ebx + 0x84]
push edx
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [edx]
push eax
lea eax, [ebx + 0x80]
push eax
call dword [ecx + 0x20]
mov edx, dword [edi + 0xc]
add esp, 0x14
xor ecx, ecx
test edx, edx
mov dword [ebp - 0x58], ecx
jle 0x41d459
mov dword [ebp - 0x24], eax
xor eax, eax
mov edx, dword [ebp - 0x40]
add edx, ecx
cmp edx, dword [edi + 0x20]
jae 0x41d459
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x44], eax
cmp edx, eax
jbe 0x41d445
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax]
add eax, ecx
mov ecx, 8
mov edx, dword [esi]
add esi, 0x10
mov dword [eax], edx
mov edx, dword [esi - 0xc]
mov dword [eax + 4], edx
mov edx, dword [esi - 8]
mov dword [eax + 8], edx
mov edx, dword [esi - 4]
mov dword [eax + 0xc], edx
add eax, 0x10
dec ecx
jne 0x41d407
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ecx, dword [edi + 0x1c]
inc eax
add edx, 0x80
cmp eax, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
jb 0x41d3f8
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov edx, dword [ebp - 0x24]
inc ecx
add edx, 4
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x24], edx
mov edx, dword [edi + 0xc]
cmp ecx, edx
jl 0x41d3e1
mov eax, dword [ebp - 0x40]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x20]
add eax, edx
cmp eax, ecx
mov dword [ebp - 0x40], eax
jb 0x41d3ad
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebx + 0xa4]
inc eax
add edi, 0x54
add edx, 4
cmp eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edx
jl 0x41d390
lea eax, [ebp - 0x210]
push eax
call fcn.00435240
lea ecx, [ebp - 0x210]
push ecx
call fcn.004351d0
mov edx, dword [ebp + 0xc]
add esp, 8
cmp dword [edx], 0
je 0x41d4db
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004480de
add esp, 4
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x14]
push edx
lea edx, [ebx + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00447cc9
mov eax, dword [ebp - 0x88]
add esp, 4
test eax, eax
je 0x41d520
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x328]
push ecx
push edx
call fcn.00461e39
mov dl, byte [ebp - 0x318]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x328]
or dl, 1
push eax
push ecx
mov byte [ebp - 0x318], dl
call fcn.00461f9e
lea edx, [ebp + 8]
lea ecx, [ebx + 8]
push edx
call fcn.0045c7bd
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0045c445
mov ecx, dword [ebp - 0xa8]
call fcn.0041d940
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0045c6d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8