Function at 0x421640
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4679de
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 0x42167d
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.0042abc0
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.0042abc0
mov eax, dword [ebx + 0x120]
mov dl, byte [ebx + 0x8a]
push eax
mov byte [ebp + 0xb], dl
call fcn.0042abe0
add esp, 0xc
cmp byte [ebp + 0xb], 0
jne 0x421669
mov ecx, dword [ebx + 0x1a0]
push ecx
call fcn.0042abc0
add dword [ebx + 0x198], 1
mov edx, dword [ebx + 0x1a0]
push edx
adc dword [ebx + 0x19c], 0
call fcn.0042abe0
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 0x4217a5
push 0x469ca4
push esi
call fcn.00437410
add esp, 8
test eax, eax
jne 0x4217a5
lea eax, [ebx + 0x34]
lea edx, [eax + 1]
jmp 0x421710
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421710
sub eax, edx
je 0x4217a5
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push esi
mov ecx, ebx
call edx
test al, al
jne 0x4217a5
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 0x421740
sub eax, edx
inc eax
push eax
push esi
mov ecx, ebx
call fcn.00415d70
mov esi, eax
mov dword [ebp + 8], esi
lea edi, [esi - 1]
jmp 0x421760
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x421760
mov ax, word [0x469ca4]
mov ecx, dword [ebp - 0x1c]
mov word [edi], ax
mov edi, ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421776
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 0x421787
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 0x4217b4
push 0
push esi
mov ecx, ebx
call fcn.00415d70
mov esi, eax
mov dword [ebp + 8], esi
cmp dword [ebx + 0x104], 0
mov dword [ebp - 0x10], 0
jbe 0x42180e
mov eax, dword [ebp - 0x10]
jmp 0x4217d0
mov ecx, dword [ebx + 0x10c]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], 0
jne 0x421802
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x421802
mov edx, ecx
add edx, 4
push esi
push edx
call fcn.00439199
add esp, 8
test eax, eax
je 0x421981
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x104]
jb 0x4217d0
mov edx, dword [ebx + 0x110]
push edx
call fcn.0042abe0
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 0x421c66
mov ecx, dword [ebx + 0x58]
push edi
push edi
push str.location
push esi
call fcn.0040a090
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x421d82
xor eax, eax
cmp byte [ebp + 0xc], al
je 0x421866
mov ecx, dword [ebx + 0x58]
push edi
push edi
push str.hash
push esi
call fcn.0040a090
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.0041ef10
mov edi, eax
test edi, edi
je 0x421bae
push 0
lea ecx, [ebp - 0x3c]
call fcn.00432140
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
cmp byte [ebx + 0x8c], al
je 0x4218da
mov edx, dword [ebx + 0x124]
push edx
call fcn.0042abc0
mov eax, dword [ebx + 0x128]
push eax
call fcn.0042abc0
mov ecx, dword [ebx + 0x90]
mov byte [ecx], 1
mov edx, dword [ebx + 0x128]
push edx
call fcn.0042abe0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push edi
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00432210
mov edx, dword [ebx + 0x128]
push edx
mov edi, eax
call fcn.0042abc0
mov eax, dword [ebx + 0x90]
add esp, 4
cmp byte [eax], 0
je 0x421916
mov ecx, dword [ebx + 0x124]
push ecx
call fcn.0042abe0
add esp, 4
mov edx, dword [ebx + 0x128]
push edx
call fcn.0042abe0
mov eax, dword [ebp - 0x24]
add esp, 4
push eax
mov ecx, ebx
call fcn.00415cb0
test edi, edi
jne 0x4219c2
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.0041b200
mov ecx, ebx
call fcn.00414b40
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00431e40
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.0042abe0
add esp, 4
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00415f30
mov ecx, ebx
call fcn.00414b40
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.004184c0
mov edi, eax
push esi
mov ecx, ebx
mov dword [ebp + 0x10], edi
call fcn.00416060
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0x46f57c
push esi
mov dword [ebp + 0x14], eax
call fcn.0040a180
cmp byte [ebx + 0x44], 0
mov dword [ebp + 0xc], eax
je 0x4219f8
lea edi, [ebx + 0x34]
push 0x2ac
call fcn.004369bd
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x421a2d
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.00413500
mov dword [ebp + 0xc], eax
jmp 0x421a34
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.00415f30
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415f30
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00431e40
xor edi, edi
test edi, edi
je 0x421a97
push edi
push 0x470804
lea ecx, [ebp - 0xbc]
push str._s_u
push ecx
call fcn.00437223
add esp, 0x10
jmp 0x421aae
mov edx, dword [0x470804]
mov eax, dword [0x470808]
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.0040a090
mov dword [ebp + 0x10], eax
test eax, eax
je 0x421b9b
test edi, edi
je 0x421aed
push edi
push str.installhash
lea edx, [ebp - 0xbc]
push str._s_u
push edx
call fcn.00437223
add esp, 0x10
jmp 0x421b10
mov eax, dword [str.installhash]
mov ecx, dword [0x46a42c]
mov edx, dword [0x46a430]
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.0040a090
mov dword [ebp + 0x14], eax
test edi, edi
je 0x421b47
push edi
push str.installsize
lea ecx, [ebp - 0xbc]
push str._s_u
push ecx
call fcn.00437223
add esp, 0x10
jmp 0x421b6a
mov edx, dword [str.installsize]
mov eax, dword [0x46a420]
mov ecx, dword [0x46a424]
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.0040a290
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00414040
inc edi
cmp edi, 0xa
jb 0x421a77
cmp byte [ebp + 0x18], 0
jne 0x421bae
mov edx, dword [ebp + 0xc]
push 0
push edx
mov ecx, ebx
call fcn.004168c0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00415f30
cmp dword [ebx + 0x248], 0
mov edi, dword [ebp - 0x10]
je 0x421beb
xor esi, esi
cmp esi, dword [ebx + 0x248]
jb 0x421bd3
xor eax, eax
jmp 0x421bdc
mov ecx, dword [ebx + 0x250]
mov eax, dword [ecx + esi*4]
inc esi
test eax, eax
je 0x421beb
push eax
mov ecx, edi
call fcn.0040db00
jmp 0x421bc7
mov edx, dword [ebx + 0x1a0]
push edx
call fcn.0042abc0
mov eax, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov edx, eax
add esp, 4
or edx, ecx
je 0x421c20
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x19c], ecx
jmp 0x421c2b
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.0042abe0
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.0042abc0
cmp byte [ebx + 0x8a], 0
mov edx, dword [ebx + 0x120]
push edx
sete byte [ebp + 0xf]
call fcn.0042abe0
movzx eax, byte [ebp + 0xf]
add esp, 0xc
jmp 0x422065
push 0x2d
push esi
call fcn.004374b0
add esp, 8
cmp eax, edi
je 0x421ca4
inc eax
push edi
push eax
mov ecx, ebx
call fcn.00415d70
mov edi, eax
test edi, edi
je 0x421c8e
push edi
call fcn.0043809c
add esp, 4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421c93
sub eax, edx
cmp eax, 0x10
jb 0x421ca4
mov byte [edi + 0xf], cl
push edi
mov ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00415460
mov dword [ebp + 0x14], eax
mov ecx, ebx
test eax, eax
jne 0x421ccd
lea eax, [ebp - 0x14]
push eax
call fcn.00415f30
lea ecx, [ebp + 8]
push ecx
jmp 0x421d86
push 0
push esi
call fcn.00415d70
mov esi, eax
push 0x2d
push esi
mov dword [ebp - 0x20], esi
call fcn.004374b0
add esp, 8
test eax, eax
je 0x421cec
mov byte [eax], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421cf1
sub eax, edx
cmp eax, 0x104
jb 0x421d07
mov byte [esi + 0x103], cl
push 0xfc
push str.mupinfo.
mov ecx, ebx
mov dword [ebp - 0x1c], esi
call fcn.00415d70
mov dword [ebp + 0x10], eax
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x421d20
sub ecx, esi
mov edx, ecx
lea edi, [eax - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x421d30
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.0040a090
mov esi, eax
test esi, esi
jne 0x421da9
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415f30
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00415f30
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00415f30
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00415f30
mov ecx, ebx
call fcn.00414b40
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 0x421dc3
mov ecx, dword [ebp + 0x10]
push eax
push eax
push str.hash
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0040a090
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.00420d40
test eax, eax
je 0x421fed
mov edi, dword [ebp - 0x24]
push edi
mov ecx, ebx
call fcn.00415bc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x58]
push 0
push 0
push 0x46f57c
push eax
call fcn.0040a180
push 0x2ac
mov esi, eax
call fcn.004369bd
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x421e43
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.00413500
jmp 0x421e48
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 0x421e70
sub eax, edi
push eax
push str.mupinfo.
mov ecx, ebx
call fcn.00415d70
mov edi, eax
mov dword [ebp + 0xc], edi
mov ecx, esi
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421e90
sub ecx, esi
mov edx, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x421ea0
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 0x421ed8
push esi
push 0x470804
lea eax, [ebp - 0x13c]
push str._s_u
push eax
call fcn.00437223
add esp, 0x10
jmp 0x421ef0
mov ecx, dword [0x470804]
mov edx, dword [0x470808]
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.0040a090
mov dword [ebp - 0x20], eax
test eax, eax
je 0x421fe2
test esi, esi
je 0x421f32
push esi
push str.installhash
lea edx, [ebp - 0x13c]
push str._s_u
push edx
call fcn.00437223
add esp, 0x10
jmp 0x421f55
mov eax, dword [str.installhash]
mov ecx, dword [0x46a42c]
mov edx, dword [0x46a430]
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.0040a090
mov edi, eax
test esi, esi
je 0x421f8e
push esi
push str.installsize
lea edx, [ebp - 0x13c]
push str._s_u
push edx
call fcn.00437223
add esp, 0x10
jmp 0x421fb1
mov eax, dword [str.installsize]
mov ecx, dword [0x46a420]
mov edx, dword [0x46a424]
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.0040a290
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
push eax
push edi
push edx
call fcn.00414040
inc esi
cmp esi, 0xa
jb 0x421eb8
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00415f30
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00415f30
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00415f30
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415f30
cmp byte [ebp + 0x18], 0
mov edi, dword [ebp - 0x10]
jne 0x422021
push 0
push edi
mov ecx, ebx
call fcn.004168c0
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call fcn.00415f30
cmp dword [ebx + 0x248], 0
je 0x42205b
xor esi, esi
cmp esi, dword [ebx + 0x248]
jb 0x422043
xor eax, eax
jmp 0x42204c
mov edx, dword [ebx + 0x250]
mov eax, dword [edx + esi*4]
inc esi
test eax, eax
je 0x42205b
push eax
mov ecx, edi
call fcn.0040db00
jmp 0x422037
mov ecx, ebx
call fcn.00414b40
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