Function at 0x42cd46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b0d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x30], ebx
test edi, edi
jne 0x42cd7e
xor eax, eax
jmp 0x42d4a6
push dword [ebx + 0xfc]
call fcn.0043d96d
pop ecx
mov esi, ebx
call fcn.00425f21
test al, al
je 0x42cd77
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x60]
test al, al
jne 0x42ce32
push 0x462b68
push edi
call fcn.00445cf0
pop ecx
pop ecx
test eax, eax
jne 0x42ce32
cmp dword [ebx + 0xbc], eax
je 0x42ce32
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x60]
test al, al
jne 0x42ce32
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax]
mov eax, dword [eax]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cdd7
sub eax, esi
inc eax
push eax
push edi
mov edi, ebx
call fcn.0042c787
mov edi, eax
mov dword [esp + 0xc], edi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42cdf1
mov esi, 0x462b68
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ce0c
mov edi, dword [esp + 0xc]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x42ce1a
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42ce40
push 0
push edi
mov edi, ebx
call fcn.0042c787
mov dword [esp + 0xc], eax
xor edi, edi
cmp dword [ebx + 0xf0], edi
jbe 0x42ce7f
mov eax, dword [ebx + 0xf8]
mov esi, dword [eax + edi*4]
cmp dword [esi + 4], 0
jne 0x42ce76
mov eax, dword [esi]
mov dword [esp + 0x28], eax
test eax, eax
je 0x42ce76
push dword [esp + 0xc]
add eax, 4
push eax
call fcn.00447c00
pop ecx
pop ecx
test eax, eax
je 0x42ced3
inc edi
cmp edi, dword [ebx + 0xf0]
jb 0x42ce4a
push dword [ebx + 0xfc]
call fcn.0043d981
mov esi, dword [esp + 0x10]
mov eax, dword [ebx]
and dword [esp + 0x30], 0
pop ecx
push esi
mov ecx, ebx
call dword [eax + 0x60]
test al, al
je 0x42d1ad
mov eax, dword [ebx + 0x40]
push 0
push str.location
push esi
call fcn.0043941f
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42cf04
lea edi, [esp + 0xc]
mov eax, ebx
call fcn.0042c8e8
mov esi, ebx
call fcn.004261af
jmp 0x42cd77
inc dword [esi + 8]
push dword [ebx + 0xfc]
call fcn.0043d981
pop ecx
lea edi, [esp + 0xc]
mov eax, ebx
call fcn.0042c8e8
mov esi, ebx
call fcn.004261af
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [esp + 0x28]
jmp 0x42d4a6
xor eax, eax
cmp byte [ebp + 0xc], al
je 0x42cf1a
push eax
mov eax, dword [ebx + 0x40]
push str.hash
push esi
call fcn.0043941f
xor edi, edi
push edi
push edi
push edi
push edi
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x4c]
push dword [ebp + 0x10]
mov esi, ebx
push eax
push dword [esp + 0x34]
call fcn.00429464
mov esi, eax
cmp esi, edi
je 0x42d489
cmp byte [ebx + 0x74], 0
mov dword [esp + 0x18], edi
je 0x42cf73
push dword [ebx + 0x110]
call fcn.0043d96d
pop ecx
lea edi, [ebx + 0x114]
push dword [edi]
call fcn.0043d96d
mov eax, dword [ebx + 0x78]
pop ecx
mov byte [eax], 1
push dword [edi]
call fcn.0043d981
pop ecx
lea eax, [esp + 0x18]
push eax
push esi
push dword [esp + 0x3c]
lea eax, [esp + 0x14c]
call fcn.0043e0b3
lea edi, [ebx + 0x114]
push dword [edi]
mov esi, eax
call fcn.0043d96d
mov eax, dword [ebx + 0x78]
cmp byte [eax], 0
pop ecx
je 0x42cfad
push dword [ebx + 0x110]
call fcn.0043d981
pop ecx
push dword [edi]
call fcn.0043d981
pop ecx
push dword [esp + 0x34]
mov edi, ebx
call fcn.0042c6f1
test esi, esi
jne 0x42cfe5
fldz
push esi
push esi
push ecx
fstp dword [esp]
push dword [esp + 0x20]
xor eax, eax
push 0x2f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.00426b90
jmp 0x42cec7
push dword [esp + 0xc]
call fcn.004285e8
push dword [esp + 0xc]
mov dword [esp + 0x20], eax
call fcn.0042ca65
push 0
push 0x45f570
push dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push dword [ebx + 0x40]
call fcn.00439460
push 0x2ac
mov esi, eax
call fcn.00445998
pop ecx
mov dword [esp + 0x38], eax
and dword [esp + 0x15c], 0
test eax, eax
je 0x42d049
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push ebx
push eax
call fcn.004329b6
jmp 0x42d04b
xor eax, eax
or dword [esp + 0x15c], 0xffffffff
mov cl, byte [ebx + 0x15]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov byte [eax + 0x244], cl
lea edi, [esp + 0x20]
mov eax, ebx
call fcn.0042c8e8
lea edi, [esp + 0x1c]
mov eax, ebx
call fcn.0042c8e8
and dword [esp + 0x10], 0
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x42d0a7
push dword [esp + 0x10]
lea eax, [esp + 0xc4]
push 0x4604d0
push str._s_u
push eax
call fcn.0044688b
add esp, 0x10
jmp 0x42d0bf
mov eax, dword [0x4604d0]
mov dword [esp + 0xc0], eax
mov eax, dword [0x4604d4]
mov dword [esp + 0xc4], eax
push esi
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x14]
mov eax, dword [ebx + 0x40]
call fcn.0043941f
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x42d19a
cmp dword [esp + 0x10], esi
je 0x42d106
push dword [esp + 0x10]
lea eax, [esp + 0xc4]
push str.installhash
push str._s_u
push eax
call fcn.0044688b
add esp, 0x10
jmp 0x42d115
mov esi, str.installhash
lea edi, [esp + 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x14]
mov eax, dword [ebx + 0x40]
call fcn.0043941f
cmp dword [esp + 0x10], 0
mov dword [esp + 0x28], eax
je 0x42d156
push dword [esp + 0x10]
lea eax, [esp + 0xc4]
push str.installsize
push str._s_u
push eax
call fcn.0044688b
add esp, 0x10
jmp 0x42d165
mov esi, str.installsize
lea edi, [esp + 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x10]
push dword [ebx + 0x40]
call fcn.00439515
push eax
push dword [esp + 0x2c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.0043487a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xa
jb 0x42d07f
cmp byte [ebp + 0x18], 0
jne 0x42d489
push dword [esp + 0x14]
jmp 0x42d47c
push esi
mov edi, ebx
call fcn.004285e8
push eax
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.00427ced
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x42d1d9
lea edi, [esp + 0x18]
mov eax, ebx
call fcn.0042c8e8
jmp 0x42cebc
push esi
call fcn.0042ca65
push 0xfc
push str.mupinfo.
mov dword [esp + 0x2c], eax
call fcn.0042c787
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d1fe
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x42d208
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, eax
mov eax, dword [esp + 0x20]
push str.location
push dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043941f
mov edi, eax
test edi, edi
jne 0x42d253
lea edi, [esp + 0x14]
mov eax, ebx
call fcn.0042c8e8
lea edi, [esp + 0x24]
mov eax, ebx
call fcn.0042c8e8
jmp 0x42d1c9
xor eax, eax
xor esi, esi
cmp byte [ebp + 0xc], al
je 0x42d26f
mov eax, dword [esp + 0x1c]
push esi
push str.hash
push dword [esp + 0x1c]
call fcn.0043941f
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
push esi
lea eax, [esp + 0x5c]
push eax
push edi
push esi
mov eax, ebx
call fcn.0042b1e1
cmp eax, esi
je 0x42d451
mov edi, dword [esp + 0x34]
push edi
mov esi, ebx
call fcn.0042c69d
push 0
push 0x45f570
push dword [esp + 0x14]
push dword [ebx + 0x40]
call fcn.00439460
push 0x2ac
mov esi, eax
call fcn.00445998
pop ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x15c], 1
test eax, eax
je 0x42d2e5
push esi
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push edi
push dword [esp + 0x1c]
push ebx
push eax
call fcn.004329b6
jmp 0x42d2e7
xor eax, eax
or dword [esp + 0x15c], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d2fe
sub eax, esi
push eax
push str.mupinfo.
mov edi, ebx
call fcn.0042c787
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d320
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x42d32a
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
and dword [esp + 0x10], 0
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 0
je 0x42d369
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push 0x4604d0
push str._s_u
push eax
call fcn.0044688b
add esp, 0x10
jmp 0x42d37b
mov eax, dword [0x4604d0]
mov dword [esp + 0x40], eax
mov eax, dword [0x4604d4]
mov dword [esp + 0x44], eax
push 0
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x28]
call fcn.0043941f
mov dword [esp + 0x38], eax
test eax, eax
je 0x42d446
cmp dword [esp + 0x10], 0
je 0x42d3bf
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push str.installhash
push str._s_u
push eax
call fcn.0044688b
add esp, 0x10
jmp 0x42d3cb
mov esi, str.installhash
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x28]
call fcn.0043941f
cmp dword [esp + 0x10], 0
mov dword [esp + 0x3c], eax
je 0x42d407
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push str.installsize
push str._s_u
push eax
call fcn.0044688b
add esp, 0x10
jmp 0x42d413
mov esi, str.installsize
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00439515
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x34]
call fcn.0043487a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xa
jb 0x42d345
lea edi, [esp + 0x20]
mov eax, ebx
call fcn.0042c8e8
lea edi, [esp + 0x24]
mov eax, ebx
call fcn.0042c8e8
lea edi, [esp + 0x18]
mov eax, ebx
call fcn.0042c8e8
lea edi, [esp + 0x14]
mov eax, ebx
call fcn.0042c8e8
cmp byte [ebp + 0x18], 0
jne 0x42d489
push dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
xor ebx, ebx
call fcn.0042e317
mov ebx, esi
lea edi, [esp + 0xc]
mov eax, ebx
call fcn.0042c8e8
mov esi, ebx
call fcn.004261af
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x154]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14