Function at 0x420850
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4661fe
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 0x42088d
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.00429750
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.00429750
mov eax, dword [ebx + 0x120]
mov dl, byte [ebx + 0x8a]
push eax
mov byte [ebp + 0xb], dl
call fcn.00429770
add esp, 0xc
cmp byte [ebp + 0xb], 0
jne 0x420879
mov ecx, dword [ebx + 0x1a0]
push ecx
call fcn.00429750
add dword [ebx + 0x198], 1
mov edx, dword [ebx + 0x1a0]
push edx
adc dword [ebx + 0x19c], 0
call fcn.00429770
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 0x4209b5
push 0x467cc0
push esi
call fcn.00434790
add esp, 8
test eax, eax
jne 0x4209b5
lea eax, [ebx + 0x34]
lea edx, [eax + 1]
jmp 0x420920
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420920
sub eax, edx
je 0x4209b5
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push esi
mov ecx, ebx
call edx
test al, al
jne 0x4209b5
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 0x420950
sub eax, edx
inc eax
push eax
push esi
mov ecx, ebx
call fcn.00414930
mov esi, eax
mov dword [ebp + 8], esi
lea edi, [esi - 1]
jmp 0x420970
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420970
mov ax, word [0x467cc0]
mov ecx, dword [ebp - 0x1c]
mov word [edi], ax
mov edi, ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420986
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 0x420997
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 0x4209c4
push 0
push esi
mov ecx, ebx
call fcn.00414930
mov esi, eax
mov dword [ebp + 8], esi
cmp dword [ebx + 0x104], 0
mov dword [ebp - 0x10], 0
jbe 0x420a1e
mov eax, dword [ebp - 0x10]
jmp 0x4209e0
mov ecx, dword [ebx + 0x10c]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], 0
jne 0x420a12
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x420a12
mov edx, ecx
add edx, 4
push esi
push edx
call fcn.0043643c
add esp, 8
test eax, eax
je 0x420b91
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x104]
jb 0x4209e0
mov edx, dword [ebx + 0x110]
push edx
call fcn.00429770
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 0x420e76
mov ecx, dword [ebx + 0x58]
push edi
push edi
push str.location
push esi
call fcn.004081e0
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x420f92
xor eax, eax
cmp byte [ebp + 0xc], al
je 0x420a76
mov ecx, dword [ebx + 0x58]
push edi
push edi
push str.hash
push esi
call fcn.004081e0
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.0041e070
mov edi, eax
test edi, edi
je 0x420dbe
push 0
lea ecx, [ebp - 0x3c]
call fcn.0042f4e0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
cmp byte [ebx + 0x8c], al
je 0x420aea
mov edx, dword [ebx + 0x124]
push edx
call fcn.00429750
mov eax, dword [ebx + 0x128]
push eax
call fcn.00429750
mov ecx, dword [ebx + 0x90]
mov byte [ecx], 1
mov edx, dword [ebx + 0x128]
push edx
call fcn.00429770
add esp, 0xc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push edi
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042f5b0
mov edx, dword [ebx + 0x128]
push edx
mov edi, eax
call fcn.00429750
mov eax, dword [ebx + 0x90]
add esp, 4
cmp byte [eax], 0
je 0x420b26
mov ecx, dword [ebx + 0x124]
push ecx
call fcn.00429770
add esp, 4
mov edx, dword [ebx + 0x128]
push edx
call fcn.00429770
mov eax, dword [ebp - 0x24]
add esp, 4
push eax
mov ecx, ebx
call fcn.00414870
test edi, edi
jne 0x420bd2
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.00419dd0
mov ecx, ebx
call fcn.00413700
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042ef20
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.00429770
add esp, 4
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00414af0
mov ecx, ebx
call fcn.00413700
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.00417080
mov edi, eax
push esi
mov ecx, ebx
mov dword [ebp + 0x10], edi
call fcn.00414c20
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0x46d0f0
push esi
mov dword [ebp + 0x14], eax
call fcn.004082d0
cmp byte [ebx + 0x44], 0
mov dword [ebp + 0xc], eax
je 0x420c08
lea edi, [ebx + 0x34]
push 0x2a0
call fcn.00433f70
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x420c3d
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.004120f0
mov dword [ebp + 0xc], eax
jmp 0x420c44
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.00414af0
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00414af0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042ef20
xor edi, edi
test edi, edi
je 0x420ca7
push edi
push 0x46e284
lea ecx, [ebp - 0xbc]
push str._s_u
push ecx
call fcn.004350cb
add esp, 0x10
jmp 0x420cbe
mov edx, dword [0x46e284]
mov eax, dword [0x46e288]
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.004081e0
mov dword [ebp + 0x10], eax
test eax, eax
je 0x420dab
test edi, edi
je 0x420cfd
push edi
push str.installhash
lea edx, [ebp - 0xbc]
push str._s_u
push edx
call fcn.004350cb
add esp, 0x10
jmp 0x420d20
mov eax, dword [str.installhash]
mov ecx, dword [0x468424]
mov edx, dword [0x468428]
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.004081e0
mov dword [ebp + 0x14], eax
test edi, edi
je 0x420d57
push edi
push str.installsize
lea ecx, [ebp - 0xbc]
push str._s_u
push ecx
call fcn.004350cb
add esp, 0x10
jmp 0x420d7a
mov edx, dword [str.installsize]
mov eax, dword [0x468418]
mov ecx, dword [0x46841c]
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.004083e0
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00412c70
inc edi
cmp edi, 0xa
jb 0x420c87
cmp byte [ebp + 0x18], 0
jne 0x420dbe
mov edx, dword [ebp + 0xc]
push 0
push edx
mov ecx, ebx
call fcn.00415480
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00414af0
cmp dword [ebx + 0x248], 0
mov edi, dword [ebp - 0x10]
je 0x420dfb
xor esi, esi
cmp esi, dword [ebx + 0x248]
jb 0x420de3
xor eax, eax
jmp 0x420dec
mov ecx, dword [ebx + 0x250]
mov eax, dword [ecx + esi*4]
inc esi
test eax, eax
je 0x420dfb
push eax
mov ecx, edi
call fcn.0040bc50
jmp 0x420dd7
mov edx, dword [ebx + 0x1a0]
push edx
call fcn.00429750
mov eax, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov edx, eax
add esp, 4
or edx, ecx
je 0x420e30
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x19c], ecx
jmp 0x420e3b
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.00429770
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.00429750
cmp byte [ebx + 0x8a], 0
mov edx, dword [ebx + 0x120]
push edx
sete byte [ebp + 0xf]
call fcn.00429770
movzx eax, byte [ebp + 0xf]
add esp, 0xc
jmp 0x421275
push 0x2d
push esi
call fcn.00434830
add esp, 8
cmp eax, edi
je 0x420eb4
inc eax
push edi
push eax
mov ecx, ebx
call fcn.00414930
mov edi, eax
test edi, edi
je 0x420e9e
push edi
call fcn.0043533f
add esp, 4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420ea3
sub eax, edx
cmp eax, 0x10
jb 0x420eb4
mov byte [edi + 0xf], cl
push edi
mov ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00414020
mov dword [ebp + 0x14], eax
mov ecx, ebx
test eax, eax
jne 0x420edd
lea eax, [ebp - 0x14]
push eax
call fcn.00414af0
lea ecx, [ebp + 8]
push ecx
jmp 0x420f96
push 0
push esi
call fcn.00414930
mov esi, eax
push 0x2d
push esi
mov dword [ebp - 0x20], esi
call fcn.00434830
add esp, 8
test eax, eax
je 0x420efc
mov byte [eax], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420f01
sub eax, edx
cmp eax, 0x104
jb 0x420f17
mov byte [esi + 0x103], cl
push 0xfc
push str.mupinfo.
mov ecx, ebx
mov dword [ebp - 0x1c], esi
call fcn.00414930
mov dword [ebp + 0x10], eax
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x420f30
sub ecx, esi
mov edx, ecx
lea edi, [eax - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420f40
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.004081e0
mov esi, eax
test esi, esi
jne 0x420fb9
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00414af0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00414af0
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00414af0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00414af0
mov ecx, ebx
call fcn.00413700
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 0x420fd3
mov ecx, dword [ebp + 0x10]
push eax
push eax
push str.hash
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004081e0
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.0041ff50
test eax, eax
je 0x4211fd
mov edi, dword [ebp - 0x24]
push edi
mov ecx, ebx
call fcn.00414780
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0x46d0f0
push eax
call fcn.004082d0
push 0x2a0
mov esi, eax
call fcn.00433f70
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x421053
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.004120f0
jmp 0x421058
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 0x421080
sub eax, edi
push eax
push str.mupinfo.
mov ecx, ebx
call fcn.00414930
mov edi, eax
mov dword [ebp + 0xc], edi
mov ecx, esi
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4210a0
sub ecx, esi
mov edx, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4210b0
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 0x4210e8
push esi
push 0x46e284
lea eax, [ebp - 0x13c]
push str._s_u
push eax
call fcn.004350cb
add esp, 0x10
jmp 0x421100
mov ecx, dword [0x46e284]
mov edx, dword [0x46e288]
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.004081e0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4211f2
test esi, esi
je 0x421142
push esi
push str.installhash
lea edx, [ebp - 0x13c]
push str._s_u
push edx
call fcn.004350cb
add esp, 0x10
jmp 0x421165
mov eax, dword [str.installhash]
mov ecx, dword [0x468424]
mov edx, dword [0x468428]
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.004081e0
mov edi, eax
test esi, esi
je 0x42119e
push esi
push str.installsize
lea edx, [ebp - 0x13c]
push str._s_u
push edx
call fcn.004350cb
add esp, 0x10
jmp 0x4211c1
mov eax, dword [str.installsize]
mov ecx, dword [0x468418]
mov edx, dword [0x46841c]
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.004083e0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
push eax
push edi
push edx
call fcn.00412c70
inc esi
cmp esi, 0xa
jb 0x4210c8
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00414af0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00414af0
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00414af0
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00414af0
cmp byte [ebp + 0x18], 0
mov edi, dword [ebp - 0x10]
jne 0x421231
push 0
push edi
mov ecx, ebx
call fcn.00415480
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00414af0
cmp dword [ebx + 0x248], 0
je 0x42126b
xor esi, esi
cmp esi, dword [ebx + 0x248]
jb 0x421253
xor eax, eax
jmp 0x42125c
mov edx, dword [ebx + 0x250]
mov eax, dword [edx + esi*4]
inc esi
test eax, eax
je 0x42126b
push eax
mov ecx, edi
call fcn.0040bc50
jmp 0x421247
mov ecx, ebx
call fcn.00413700
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