Function at 0x41b870
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44381f
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004226b0
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.004226b0
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push eax
push 0x44d564
lea ecx, [ebp - 0x2c]
call fcn.004225f0
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 6
sub esp, 0xc
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0041f590
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x194], 0
jne 0x41c178
push ecx
push 0
push 0
lea ecx, [ebp - 0x1a0]
call fcn.004204b0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004203d0
mov esi, dword [eax + 8]
add esi, dword [eax]
push 0
push 0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1a0]
add ecx, eax
call fcn.00420d60
sub esp, 0x18
mov ecx, esp
push 0
push 0
call fcn.00421ae0
lea ecx, [ebp - 0x1a0]
call fcn.004205b0
lea eax, [esi - 0x10]
cmp eax, 0x17d782f
ja 0x41c16d
push 0
push str..R5A
lea ecx, [ebp - 0x44]
call fcn.0041eb40
mov edi, dword [ebp - 0x34]
lea ecx, [edi - 4]
cmp eax, ecx
jne 0x41ba37
lea ecx, [ebp - 0x1a0]
call fcn.00420830
cmp ax, 0x4d
je 0x41ba6e
mov edi, dword [ebp - 0x34]
test ebx, ebx
jle 0x41c178
push 0
push str..R4A
lea ecx, [ebp - 0x44]
call fcn.0041eb40
lea ecx, [edi - 4]
cmp eax, ecx
jne 0x41c178
lea ecx, [ebp - 0x1a0]
call fcn.00420830
cmp ax, 0x4d
jne 0x41c178
xor ebx, ebx
mov dword [ebp - 0xc0], ebx
push ebx
push ebx
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1a0]
add ecx, eax
call fcn.00420d60
sub esp, 0x18
mov ecx, esp
push ebx
push ebx
call fcn.00421ae0
lea ecx, [ebp - 0x1a0]
call fcn.004205b0
mov dword [ebp - 0xd8], esi
test esi, esi
jle 0x41bc92
mov eax, esi
cdq
sub esp, 0x18
mov ecx, esp
push edx
push eax
call fcn.00421ae0
lea ecx, [ebp - 0x1a0]
call fcn.004205b0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00420760
push 0
push 0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1a0]
add ecx, eax
call fcn.00420d60
cmp word [ebp - 0xa8], 0x2a
jne 0x41bb06
inc ebx
jmp 0x41bb08
xor ebx, ebx
mov dword [ebp - 0xc0], ebx
cmp ebx, 2
jne 0x41bd22
mov dword [ebp - 0xb0], esi
push 0x44d564
lea ecx, [ebp - 0x5c]
call fcn.0041eed0
mov byte [ebp - 4], 8
push 0x44d564
lea ecx, [ebp - 0xa4]
call fcn.0041eed0
mov byte [ebp - 4], 9
lea eax, [esi + 2]
cdq
sub esp, 0x18
mov ecx, esp
push edx
push eax
call fcn.00421ae0
lea ecx, [ebp - 0x1a0]
call fcn.004205b0
nop dword [eax]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x194]
mov dword [ebp - 0xd0], eax
test al, 1
jne 0x41bb9e
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00420760
push dword [ebp - 0xa8]
push 1
lea ecx, [ebp - 0x5c]
call fcn.00422790
jmp 0x41bb60
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041ecd0
xor edx, edx
mov dword [ebp - 0xbc], edx
cmp edx, dword [ebp - 0x4c]
jae 0x41bc35
lea ebx, [ebp - 0x5c]
mov esi, ebx
mov eax, edx
cmp dword [ebp - 0xc4], 0
jle 0x41bbfb
cmp dword [ebp - 0x48], 8
cmovae ebx, dword [ebp - 0x5c]
mov edi, 0x45a178
cmp dword [0x45a18c], 8
cmovae edi, dword [0x45a178]
cmp dword [ebp - 0x48], 8
cmovae esi, dword [ebp - 0x5c]
xor edx, edx
div dword [0x45a188]
jmp 0x41bc1b
cmp dword [ebp - 0x48], 8
cmovae ebx, dword [ebp - 0x5c]
lea edi, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
cmovae edi, dword [ebp + 0x20]
cmp dword [ebp - 0x48], 8
cmovae esi, dword [ebp - 0x5c]
xor edx, edx
div dword [ebp + 0x30]
movzx ecx, word [edi + edx*2]
mov edx, dword [ebp - 0xbc]
movzx eax, word [ebx + edx*2]
xor ecx, eax
mov word [esi + edx*2], cx
inc edx
jmp 0x41bbaf
mov ecx, dword [ebp - 0x34]
dec ecx
mov dword [ebp - 0xd4], ecx
test ecx, ecx
jle 0x41bc61
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
cmp word [eax + ecx*2], 0x5c
jne 0x41bc38
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041ecd0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00423fd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.0041ee00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.0041ee00
mov ebx, dword [ebp - 0xc0]
cmp ebx, 2
jne 0x41c178
xor edi, edi
mov dword [ebp - 0xdc], edi
cmp edi, dword [ebp + 0x30]
jae 0x41bd28
lea esi, [ebp + 0x20]
mov ebx, dword [ebp + 0x34]
cmp ebx, 8
cmovae esi, dword [ebp + 0x20]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
mov eax, edi
xor edx, edx
div dword [ebp - 0x34]
mov ax, word [ecx + edx*2]
xor ax, word [esi + edi*2]
movzx eax, ax
mov ecx, 0x100
cmp ax, cx
jbe 0x41bd0e
lea ecx, [ebp + 0x20]
cmp ebx, 8
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
movzx eax, word [eax + edx*2]
and eax, 0x800000ff
jns 0x41bd07
dec eax
or eax, 0xffffff00
inc eax
xor ax, word [ecx + edi*2]
movzx eax, ax
push eax
push 1
lea ecx, [ebp - 0x8c]
call fcn.00422790
inc edi
jmp 0x41bc9d
dec esi
jmp 0x41baa5
push 0
push 0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1a0]
add ecx, eax
call fcn.00420d60
sub esp, 0x18
mov ecx, esp
push 0
push 0
call fcn.00421ae0
lea ecx, [ebp - 0x1a0]
call fcn.004205b0
sub esp, 0x18
mov ecx, esp
push 0
push 1
call fcn.00421ae0
lea ecx, [ebp - 0x1a0]
call fcn.004205b0
xor esi, esi
mov dword [ebp - 0xe0], esi
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x194]
mov dword [ebp - 0xe8], eax
test al, 1
jne 0x41bdbb
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00420760
push dword [ebp - 0xa8]
push 1
lea ecx, [ebp - 0x2c]
call fcn.00422790
inc esi
jmp 0x41bd76
mov eax, dword [ebp - 0xb0]
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ecd0
cmp dword [ebp - 0xc4], 0
jle 0x41be2f
xor edx, edx
mov dword [ebp - 0xc8], edx
cmp edx, dword [ebp - 0x1c]
jae 0x41bfc4
lea ebx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae ebx, dword [ebp - 0x2c]
mov edi, 0x45a178
cmp dword [0x45a18c], 8
cmovae edi, dword [0x45a178]
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae esi, dword [ebp - 0x2c]
mov eax, edx
xor edx, edx
div dword [0x45a188]
movzx ecx, word [edi + edx*2]
mov edx, dword [ebp - 0xc8]
movzx eax, word [ebx + edx*2]
xor ecx, eax
mov word [esi + edx*2], cx
inc edx
jmp 0x41bdd6
mov esi, dword [ebp - 0x1c]
mov ebx, esi
shr ebx, 1
mov ecx, ebx
and ecx, 0x80000001
jns 0x41be45
dec ecx
or ecx, 0xfffffffe
inc ecx
sub ebx, ecx
mov dword [ebp - 0xa8], ebx
mov eax, esi
cdq
idiv ebx
sub esi, edx
mov eax, esi
cdq
mov esi, ebx
idiv esi
mov dword [ebp - 0xac], eax
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xd0], 0xff
cmp ebx, eax
jge 0x41bf72
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xb0], edx
cmp edx, esi
jge 0x41bedf
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xb8]
imul eax, esi
add eax, edx
lea esi, [eax + eax]
cdq
idiv dword [ebp - 0xd0]
xor dx, word [esi + ecx]
movzx ecx, dx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
mov word [esi + eax], cx
mov edx, dword [ebp - 0xb0]
inc edx
mov dword [ebp - 0xe4], edx
mov esi, dword [ebp - 0xa8]
jmp 0x41be8a
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xb0], eax
cmp ecx, eax
jge 0x41bf5a
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
cmovae esi, edi
lea ecx, [ebp - 0x2c]
cmovae ecx, edi
mov eax, dword [ebp - 0xb8]
imul eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xb4]
add edx, eax
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb4]
mov ax, word [ecx + eax*2]
xor ax, word [esi + edx*2]
movzx ecx, ax
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, edi
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0xb4]
inc ecx
mov dword [ebp - 0xb4], ecx
mov esi, dword [ebp - 0xa8]
jmp 0x41bee7
mov ebx, dword [ebp - 0xb8]
inc ebx
mov dword [ebp - 0xb8], ebx
mov eax, dword [ebp - 0xac]
jmp 0x41be73
xor edx, edx
mov dword [ebp - 0xcc], edx
cmp edx, dword [ebp - 0x1c]
jae 0x41bfc4
lea ebx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae ebx, dword [ebp - 0x2c]
lea edi, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae edi, dword [ebp - 0x8c]
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae esi, dword [ebp - 0x2c]
mov eax, edx
xor edx, edx
div dword [ebp - 0x7c]
movzx ecx, word [edi + edx*2]
mov edx, dword [ebp - 0xcc]
movzx eax, word [ebx + edx*2]
xor ecx, eax
mov word [esi + edx*2], cx
inc edx
jmp 0x41bf74
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ebf0
mov ecx, dword [eax]
sub ecx, 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
sub ecx, eax
sar ecx, 1
push 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041ec20
sub esp, 0xc
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x250]
call fcn.0041f0e0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x244], 0
jne 0x41c15c
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x250]
call fcn.00425180
lea ecx, [ebp - 0x250]
call fcn.0041f010
lea ecx, [ebp - 0x1a0]
call fcn.0041f4c0
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call fcn.0042f44f
add esp, 8
test eax, eax
je 0x41c15c
push 0
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0xc4], 0
jle 0x41c080
push str..R5A
jmp 0x41c085
push str..R4A
call fcn.0041eb40
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041ea50
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xac], 0x2e
push 1
push ecx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x44]
call fcn.00422320
mov esi, eax
test esi, esi
jle 0x41c150
push dword [ebp - 0x34]
push esi
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041ea50
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00423fd0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.0041ee00
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call fcn.0042f44f
add esp, 8
test eax, eax
je 0x41c150
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x34]
add eax, esi
push 0x4501d8
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041ed10
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call fcn.0042f44f
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.0041ee00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x250]
call fcn.00403c20
jmp 0x41c178
lea ecx, [ebp - 0x1a0]
call fcn.0041f4c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a0]
call fcn.00403b70
mov dword [ebp - 4], 5
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41c1a7
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00423bf0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x41c1d4
inc eax
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x74]
call fcn.00423bf0
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41c201
inc eax
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00423bf0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x41c234
inc eax
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
call fcn.00423bf0
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41c263
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00423bf0
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x34]
cmp eax, 8
jb 0x41c293
inc eax
push eax
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.00423bf0
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
xor eax, eax
mov word [ebp + 0x20], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret