Function at 0x420d30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468c1e
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
jne 0x420d6d
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx + 0x110]
push eax
call fcn.0042a2b0
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.0042a2b0
mov eax, dword [ebx + 0x120]
mov dl, byte [ebx + 0x8a]
push eax
mov byte [ebp + 0xb], dl
call fcn.0042a2d0
add esp, 0xc
cmp byte [ebp + 0xb], 0
jne 0x420d59
mov ecx, dword [ebx + 0x1a0]
push ecx
call fcn.0042a2b0
add dword [ebx + 0x198], 1
mov edx, dword [ebx + 0x1a0]
push edx
adc dword [ebx + 0x19c], 0
call fcn.0042a2d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
add esp, 8
push edi
push esi
mov ecx, ebx
call edx
test al, al
jne 0x420e95
push 0x46aca4
push esi
call fcn.00436af0
add esp, 8
test eax, eax
jne 0x420e95
lea eax, [ebx + 0x34]
lea edx, [eax + 1]
jmp 0x420e00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420e00
sub eax, edx
je 0x420e95
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push esi
mov ecx, ebx
call edx
test al, al
jne 0x420e95
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
mov dword [ebp - 0x1c], eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420e30
sub eax, edx
inc eax
push eax
push esi
mov ecx, ebx
call fcn.00415460
mov esi, eax
mov dword [ebp + 8], esi
lea edi, [esi - 1]
jmp 0x420e50
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420e50
mov ax, word [0x46aca4]
mov ecx, dword [ebp - 0x1c]
mov word [edi], ax
mov edi, ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420e66
sub ecx, edi
mov dword [ebp - 0x1c], edi
mov edx, ecx
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420e77
mov esi, dword [ebp - 0x1c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
jmp 0x420ea4
push 0
push esi
mov ecx, ebx
call fcn.00415460
mov esi, eax
mov dword [ebp + 8], esi
cmp dword [ebx + 0x104], 0
mov dword [ebp - 0x10], 0
jbe 0x420efe
mov eax, dword [ebp - 0x10]
jmp 0x420ec0
mov ecx, dword [ebx + 0x10c]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], 0
jne 0x420ef2
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x420ef2
mov edx, ecx
add edx, 4
push esi
push edx
call fcn.00438879
add esp, 8
test eax, eax
je 0x421071
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x104]
jb 0x420ec0
mov edx, dword [ebx + 0x110]
push edx
call fcn.0042a2d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
add esp, 4
xor edi, edi
push esi
mov ecx, ebx
mov dword [ebp - 0x10], edi
call edx
test al, al
je 0x421356
mov ecx, dword [ebx + 0x58]
push edi
push edi
push str.location
push esi
call fcn.00409780
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x421472
xor eax, eax
cmp byte [ebp + 0xc], al
je 0x420f56
mov ecx, dword [ebx + 0x58]
push edi
push edi
push str.hash
push esi
call fcn.00409780
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push eax
push ecx
mov ecx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, ebx
call fcn.0041e600
mov edi, eax
test edi, edi
je 0x42129e
push 0
lea ecx, [ebp - 0x3c]
call fcn.00431820
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
cmp byte [ebx + 0x8c], al
je 0x420fca
mov edx, dword [ebx + 0x124]
push edx
call fcn.0042a2b0
mov eax, dword [ebx + 0x128]
push eax
call fcn.0042a2b0
mov ecx, dword [ebx + 0x90]
mov byte [ecx], 1
mov edx, dword [ebx + 0x128]
push edx
call fcn.0042a2d0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push edi
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004318f0
mov edx, dword [ebx + 0x128]
push edx
mov edi, eax
call fcn.0042a2b0
mov eax, dword [ebx + 0x90]
add esp, 4
cmp byte [eax], 0
je 0x421006
mov ecx, dword [ebx + 0x124]
push ecx
call fcn.0042a2d0
add esp, 4
mov edx, dword [ebx + 0x128]
push edx
call fcn.0042a2d0
mov eax, dword [ebp - 0x24]
add esp, 4
push eax
mov ecx, ebx
call fcn.004153a0
test edi, edi
jne 0x4210b2
fldz
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
push edi
push edi
push ecx
mov ecx, dword [ebp - 0x14]
fstp dword [esp]
push ecx
push 0x2f
push edx
push eax
mov ecx, ebx
call fcn.0041a8f0
mov ecx, ebx
call fcn.00414230
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00431520
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
inc dword [edi + 8]
mov eax, dword [ebx + 0x110]
push eax
call fcn.0042a2d0
add esp, 4
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00415620
mov ecx, ebx
call fcn.00414230
movzx eax, al
neg eax
pop edi
sbb eax, eax
and eax, dword [ebp - 0x14]
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
push esi
mov ecx, ebx
call fcn.00417bb0
mov edi, eax
push esi
mov ecx, ebx
mov dword [ebp + 0x10], edi
call fcn.00415750
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0x47062c
push esi
mov dword [ebp + 0x14], eax
call fcn.00409870
cmp byte [ebx + 0x44], 0
mov dword [ebp + 0xc], eax
je 0x4210e8
lea edi, [ebx + 0x34]
push 0x2ac
call fcn.0043609d
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42111d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push 1
push ecx
mov ecx, dword [ebp - 0x18]
push edi
push edx
push ecx
push esi
push ebx
mov ecx, eax
call fcn.00412db0
mov dword [ebp + 0xc], eax
jmp 0x421124
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
mov dl, byte [ebx + 0x17]
mov byte [eax + 0x23c], dl
mov cl, byte [ebx + 0x16]
lea edx, [ebp + 0x14]
mov byte [eax + 0x23d], cl
push edx
mov ecx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x10], eax
call fcn.00415620
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415620
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00431520
xor edi, edi
test edi, edi
je 0x421187
push edi
push 0x471a8c
lea ecx, [ebp - 0xbc]
push str._s_u
push ecx
call fcn.00436903
add esp, 0x10
jmp 0x42119e
mov edx, dword [0x471a8c]
mov eax, dword [0x471a90]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
push 0
push 0
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebx + 0x58]
push esi
call fcn.00409780
mov dword [ebp + 0x10], eax
test eax, eax
je 0x42128b
test edi, edi
je 0x4211dd
push edi
push str.installhash
lea edx, [ebp - 0xbc]
push str._s_u
push edx
call fcn.00436903
add esp, 0x10
jmp 0x421200
mov eax, dword [str.installhash]
mov ecx, dword [0x46b42c]
mov edx, dword [0x46b430]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebx + 0x58]
push 0
push 0
lea eax, [ebp - 0xbc]
push eax
push esi
call fcn.00409780
mov dword [ebp + 0x14], eax
test edi, edi
je 0x421237
push edi
push str.installsize
lea ecx, [ebp - 0xbc]
push str._s_u
push ecx
call fcn.00436903
add esp, 0x10
jmp 0x42125a
mov edx, dword [str.installsize]
mov eax, dword [0x46b420]
mov ecx, dword [0x46b424]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0
lea edx, [ebp - 0xbc]
push edx
push esi
call fcn.00409980
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004138f0
inc edi
cmp edi, 0xa
jb 0x421167
cmp byte [ebp + 0x18], 0
jne 0x42129e
mov edx, dword [ebp + 0xc]
push 0
push edx
mov ecx, ebx
call fcn.00415fb0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00415620
cmp dword [ebx + 0x248], 0
mov edi, dword [ebp - 0x10]
je 0x4212db
xor esi, esi
cmp esi, dword [ebx + 0x248]
jb 0x4212c3
xor eax, eax
jmp 0x4212cc
mov ecx, dword [ebx + 0x250]
mov eax, dword [ecx + esi*4]
inc esi
test eax, eax
je 0x4212db
push eax
mov ecx, edi
call fcn.0040d1f0
jmp 0x4212b7
mov edx, dword [ebx + 0x1a0]
push edx
call fcn.0042a2b0
mov eax, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov edx, eax
add esp, 4
or edx, ecx
je 0x421310
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x19c], ecx
jmp 0x42131b
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx + 0x1a0]
push eax
call fcn.0042a2d0
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.0042a2b0
cmp byte [ebx + 0x8a], 0
mov edx, dword [ebx + 0x120]
push edx
sete byte [ebp + 0xf]
call fcn.0042a2d0
movzx eax, byte [ebp + 0xf]
add esp, 0xc
jmp 0x421755
push 0x2d
push esi
call fcn.00436b90
add esp, 8
cmp eax, edi
je 0x421394
inc eax
push edi
push eax
mov ecx, ebx
call fcn.00415460
mov edi, eax
test edi, edi
je 0x42137e
push edi
call fcn.0043777c
add esp, 4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421383
sub eax, edx
cmp eax, 0x10
jb 0x421394
mov byte [edi + 0xf], cl
push edi
mov ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00414b50
mov dword [ebp + 0x14], eax
mov ecx, ebx
test eax, eax
jne 0x4213bd
lea eax, [ebp - 0x14]
push eax
call fcn.00415620
lea ecx, [ebp + 8]
push ecx
jmp 0x421476
push 0
push esi
call fcn.00415460
mov esi, eax
push 0x2d
push esi
mov dword [ebp - 0x20], esi
call fcn.00436b90
add esp, 8
test eax, eax
je 0x4213dc
mov byte [eax], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4213e1
sub eax, edx
cmp eax, 0x104
jb 0x4213f7
mov byte [esi + 0x103], cl
push 0xfc
push str.mupinfo.
mov ecx, ebx
mov dword [ebp - 0x1c], esi
call fcn.00415460
mov dword [ebp + 0x10], eax
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x421410
sub ecx, esi
mov edx, ecx
lea edi, [eax - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x421420
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, edx
mov edx, dword [ebp + 0x10]
push 0
and ecx, 3
push str.location
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00409780
mov esi, eax
test esi, esi
jne 0x421499
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415620
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00415620
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00415620
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00415620
mov ecx, ebx
call fcn.00414230
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
xor eax, eax
cmp byte [ebp + 0xc], al
je 0x4214b3
mov ecx, dword [ebp + 0x10]
push eax
push eax
push str.hash
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409780
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push esi
push 0
mov ecx, ebx
call fcn.00420430
test eax, eax
je 0x4216dd
mov edi, dword [ebp - 0x24]
push edi
mov ecx, ebx
call fcn.004152b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0x47062c
push eax
call fcn.00409870
push 0x2ac
mov esi, eax
call fcn.0043609d
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x421533
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
push 1
push esi
mov esi, dword [ebp - 0x20]
push ecx
push esi
push edi
push edx
push ebx
mov ecx, eax
call fcn.00412db0
jmp 0x421538
mov esi, dword [ebp - 0x20]
xor eax, eax
mov cl, byte [ebx + 0x17]
mov byte [eax + 0x23c], cl
mov dl, byte [ebx + 0x16]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov byte [eax + 0x23d], dl
mov eax, esi
mov dword [ebp - 4], 0xffffffff
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421560
sub eax, edi
push eax
push str.mupinfo.
mov ecx, ebx
call fcn.00415460
mov edi, eax
mov dword [ebp + 0xc], edi
mov ecx, esi
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421580
sub ecx, esi
mov edx, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x421590
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
test esi, esi
je 0x4215c8
push esi
push 0x471a8c
lea eax, [ebp - 0x13c]
push str._s_u
push eax
call fcn.00436903
add esp, 0x10
jmp 0x4215e0
mov ecx, dword [0x471a8c]
mov edx, dword [0x471a90]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], edx
mov ecx, dword [ebp + 0xc]
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409780
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4216d2
test esi, esi
je 0x421622
push esi
push str.installhash
lea edx, [ebp - 0x13c]
push str._s_u
push edx
call fcn.00436903
add esp, 0x10
jmp 0x421645
mov eax, dword [str.installhash]
mov ecx, dword [0x46b42c]
mov edx, dword [0x46b430]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
mov ecx, dword [ebp + 0xc]
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409780
mov edi, eax
test esi, esi
je 0x42167e
push esi
push str.installsize
lea edx, [ebp - 0x13c]
push str._s_u
push edx
call fcn.00436903
add esp, 0x10
jmp 0x4216a1
mov eax, dword [str.installsize]
mov ecx, dword [0x46b420]
mov edx, dword [0x46b424]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409980
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
push eax
push edi
push edx
call fcn.004138f0
inc esi
cmp esi, 0xa
jb 0x4215a8
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00415620
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00415620
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00415620
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415620
cmp byte [ebp + 0x18], 0
mov edi, dword [ebp - 0x10]
jne 0x421711
push 0
push edi
mov ecx, ebx
call fcn.00415fb0
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00415620
cmp dword [ebx + 0x248], 0
je 0x42174b
xor esi, esi
cmp esi, dword [ebx + 0x248]
jb 0x421733
xor eax, eax
jmp 0x42173c
mov edx, dword [ebx + 0x250]
mov eax, dword [edx + esi*4]
inc esi
test eax, eax
je 0x42174b
push eax
mov ecx, edi
call fcn.0040d1f0
jmp 0x421727
mov ecx, ebx
call fcn.00414230
movzx eax, al
mov ecx, dword [ebp - 0xc]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14