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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov dword [esp + 0x10], edx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [str.SoftwareClasses]
mov dword [esp + 0x40], eax
test eax, eax
je 0x476d0a
mov esi, ecx
push eax
call fcn.00520e34
add esp, 4
lea ebx, [esp + 0x40]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0x5eaf0c
mov dword [ebx + 0xc], 1
movzx eax, byte [esi + 0xb]
test al, al
mov ecx, dword [esi]
cmovns ecx, esi
mov dword [ebx + 0x10], ecx
cmovs eax, dword [esi + 4]
mov dword [ebx + 0x14], eax
lea eax, [esp + 0x34]
push ebx
push 3
push eax
call fcn.00466c20
add esp, 0xc
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc]
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov ecx, eax
push edi
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
push eax
call fcn.005850c0
mov dword [ebx], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x475dc8
mov dword [esp + 0x40], 0
mov dword [eax], esi
add eax, 4
mov dword [ecx + 4], eax
jmp 0x475dce
push ebx
call fcn.0047ac50
mov esi, dword [esp + 0x40]
mov dword [esp + 0x40], 0
test esi, esi
mov edi, dword [esp + 0xc]
je 0x475e1d
cmp byte [esi + 0x27], 0
jns 0x475df3
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x475e04
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x475e14
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
lea eax, [edi + 0x18]
push dword [edi + 0x24]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00569800
add esp, 0xc
mov edi, dword [str.DefaultIcon]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
movzx ebx, byte [esp + 0x3f]
mov eax, ebx
test bl, bl
jns 0x475e54
mov eax, dword [esp + 0x38]
mov dword [esp], eax
push edi
call fcn.00520e34
add esp, 4
mov ecx, eax
test bl, bl
jns 0x475e6e
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esi, [eax + ecx]
cmp esi, 0x7ffffff0
mov ebx, dword [esp + 0x10]
jae 0x476cf8
mov dword [esp + 8], edi
cmp esi, 4
mov dword [esp + 0x14], ecx
ja 0x475e9a
lea edi, [esp + 0x28]
mov byte [edi + 0xb], al
jmp 0x475ec3
add esi, 8
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov eax, dword [esp]
mov dword [esp + 0x28], edi
or esi, 0x80000000
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
test eax, eax
je 0x475ede
mov eax, dword [esp]
add eax, eax
push eax
push dword [esp + 8]
push edi
call fcn.00506d50
mov eax, dword [esp + 0xc]
add esp, 0xc
mov word [edi + eax*2], 0
lea edi, [esp + 0x28]
mov ecx, edi
push dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.004de0e0
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov ecx, eax
lea eax, [esp + 0x40]
push eax
push edi
call fcn.005850c0
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x475f2e
mov dword [esp + 0x18], 0
mov dword [eax], esi
add eax, 4
mov dword [ebx + 4], eax
jmp 0x475f3a
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test esi, esi
je 0x475f85
cmp byte [esi + 0x27], 0
jns 0x475f5b
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x475f6c
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x475f7c
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x475f98
push dword [esp + 0x28]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x475fab
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov edi, dword [str._shellopencommand]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
movzx ebx, byte [esp + 0x3f]
mov eax, ebx
test bl, bl
jns 0x475fce
mov eax, dword [esp + 0x38]
mov dword [esp], eax
push edi
call fcn.00520e34
add esp, 4
test bl, bl
jns 0x475fe4
mov edx, dword [esp + 0x34]
jmp 0x475fe8
lea edx, [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp]
lea esi, [ecx + eax]
cmp esi, 0x7ffffff0
jae 0x476d01
mov dword [esp + 8], eax
mov dword [esp + 4], edi
cmp esi, 4
ja 0x476014
lea edi, [esp + 0x40]
mov byte [edi + 0xb], cl
jmp 0x476042
add esi, 8
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
mov edi, edx
call fcn.0050397a
mov edx, edi
mov ecx, dword [esp + 4]
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0xc]
add eax, 0x28
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x476063
lea eax, [ecx + ecx]
push eax
push edx
push edi
call fcn.00506d50
mov ecx, dword [esp + 0xc]
add esp, 0xc
mov word [edi + ecx*2], 0
lea edi, [esp + 0x40]
mov ecx, edi
push dword [esp + 8]
push dword [esp + 8]
call fcn.004de0e0
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov ecx, eax
push dword [esp + 0x14]
push edi
call fcn.005850c0
mov dword [esp + 0x28], esi
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4760b2
mov dword [esp + 0x28], 0
mov dword [eax], esi
add eax, 4
mov dword [ebx + 4], eax
jmp 0x4760be
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.0047ac50
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], 0
test esi, esi
je 0x47610d
cmp byte [esi + 0x27], 0
jns 0x4760e3
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x4760f4
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x476104
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x476120
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
movzx eax, byte [edi + 0x7f]
test al, al
jns 0x47612b
mov eax, dword [edi + 0x78]
test eax, eax
je 0x47635d
mov edi, dword [str._shellopencommand]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
movzx ebx, byte [esp + 0x3f]
mov esi, ebx
test bl, bl
jns 0x476156
mov esi, dword [esp + 0x38]
push edi
call fcn.00520e34
add esp, 4
test bl, bl
mov dword [esp], edi
jns 0x47616c
mov edx, dword [esp + 0x34]
jmp 0x476170
lea edx, [esp + 0x34]
lea ebx, [esp + 0x28]
mov ecx, esi
lea edi, [esi + eax]
cmp edi, 0x7ffffff0
jae 0x476cf8
cmp edi, 4
mov dword [esp + 4], eax
ja 0x476194
mov byte [esp + 0x33], cl
jmp 0x4761c0
add edi, 8
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
mov ebx, edx
call fcn.0050397a
mov edx, ebx
add esp, 4
mov ebx, eax
mov ecx, esi
mov dword [esp + 0x28], eax
or edi, 0x80000000
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0xc]
test ecx, ecx
je 0x4761d8
lea eax, [esi + esi]
push eax
push edx
push ebx
call fcn.00506d50
mov ecx, esi
add esp, 0xc
mov word [ebx + ecx*2], 0
lea ecx, [esp + 0x28]
push dword [esp + 4]
push dword [esp + 4]
call fcn.004de0e0
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov eax, dword [str.DelegateExecute]
mov dword [esp + 8], eax
push eax
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
lea eax, [edi + 0x74]
mov dword [esp + 4], eax
cmp ebx, 5
mov dword [esp], esi
jae 0x476253
mov byte [esp + 0x4b], bl
cmp ebx, 3
jne 0x476b24
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x40]
lea esi, [esp + 0x28]
jmp 0x47628f
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
lea esi, [esp + 0x28]
mov eax, ebx
add eax, ebx
push eax
push dword [esp + 0xc]
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
mov edi, dword [esp]
mov ecx, edi
push dword [esp + 4]
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00585140
mov dword [esp + 0x18], edi
cmp byte [esp + 0x4b], 0
jns 0x4762c0
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x4762e2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [eax], ecx
add eax, 4
mov dword [edi + 4], eax
jmp 0x4762ee
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test esi, esi
je 0x476339
cmp byte [esi + 0x27], 0
jns 0x47630f
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x476320
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x476330
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x47634c
push dword [esp + 0x28]
call fcn.005039aa
add esp, 4
mov eax, dword [edi + 4]
mov eax, dword [eax - 4]
mov dword [eax + 0x2c], 1
mov edi, dword [esp + 0xc]
call fcn.004f03e0
cmp eax, 5
jl 0x4764c0
movzx eax, byte [edi + 0x3f]
test al, al
jns 0x476376
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4764c0
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov eax, dword [str.AppUserModelId]
mov dword [esp + 8], eax
push eax
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
mov dword [esp], esi
lea eax, [edi + 0x34]
cmp ebx, 5
mov dword [esp + 4], eax
jae 0x4763dd
lea esi, [esp + 0x40]
mov byte [esi + 0xb], bl
cmp ebx, 3
jne 0x476bda
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
jmp 0x476415
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0050397a
add esp, 4
mov esi, eax
mov dword [esp + 0x40], eax
or edi, 0x80000000
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push dword [esp + 0xc]
push esi
call fcn.00506d50
add esp, 0xc
mov word [esi + ebx*2], 0
lea esi, [esp + 0x40]
lea eax, [esp + 0x34]
mov edi, dword [esp]
mov ecx, edi
push dword [esp + 4]
push esi
push eax
call fcn.00585140
mov dword [esp + 0x28], edi
cmp byte [esi + 0xb], 0
jns 0x476449
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x47646b
mov edx, dword [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [eax], edx
add eax, 4
mov dword [ecx + 4], eax
jmp 0x476475
lea eax, [esp + 0x28]
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], 0
test esi, esi
je 0x4764c0
cmp byte [esi + 0x27], 0
jns 0x476496
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x4764a7
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x4764b7
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
mov edi, dword [str.Application]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
movzx ebx, byte [esp + 0x3f]
mov eax, ebx
test bl, bl
jns 0x4764e3
mov eax, dword [esp + 0x38]
mov dword [esp], eax
push edi
call fcn.00520e34
add esp, 4
test bl, bl
jns 0x4764f9
mov edx, dword [esp + 0x34]
jmp 0x4764fd
lea edx, [esp + 0x34]
mov ecx, dword [esp]
lea esi, [ecx + eax]
cmp esi, 0x7ffffff0
jae 0x476cf8
mov dword [esp + 4], edi
mov ebx, eax
cmp esi, 4
ja 0x476523
lea edi, [esp + 0x28]
mov byte [edi + 0xb], cl
jmp 0x476550
add esi, 8
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
mov edi, edx
call fcn.0050397a
mov edx, edi
add esp, 4
mov edi, eax
mov ecx, dword [esp]
mov dword [esp + 0x28], eax
or esi, 0x80000000
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x476568
mov eax, dword [esp]
add eax, eax
push eax
push edx
push edi
call fcn.00506d50
mov ecx, dword [esp + 0xc]
add esp, 0xc
mov word [edi + ecx*2], 0
lea ecx, [esp + 0x28]
push ebx
push dword [esp + 8]
call fcn.004de0e0
mov edi, dword [esp + 0xc]
movzx eax, byte [edi + 0x3f]
test al, al
jns 0x47658b
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4766d9
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov eax, dword [str.AppUserModelId]
mov dword [esp + 8], eax
push eax
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
lea eax, [edi + 0x34]
cmp ebx, 5
mov dword [esp], esi
mov dword [esp + 4], eax
jae 0x4765f2
lea edi, [esp + 0x40]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x476b39
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
jmp 0x47662a
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push dword [esp + 0xc]
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
lea esi, [esp + 0x40]
mov edi, dword [esp]
mov ecx, edi
push dword [esp + 4]
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00585140
mov dword [esp + 0x18], edi
cmp byte [esi + 0xb], 0
jns 0x47665e
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov edi, dword [esp + 0xc]
jae 0x476684
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [eax], edx
add eax, 4
mov dword [ecx + 4], eax
jmp 0x47668e
lea eax, [esp + 0x18]
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test esi, esi
je 0x4766d9
cmp byte [esi + 0x27], 0
jns 0x4766af
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x4766c0
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x4766d0
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
movzx eax, byte [edi + 0x57]
test al, al
jns 0x4766e4
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x476b6d
movzx eax, byte [edi + 0x4b]
test al, al
jns 0x4766f7
mov eax, dword [edi + 0x44]
test eax, eax
je 0x476845
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov eax, dword [str.ApplicationName]
mov dword [esp + 8], eax
push eax
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
lea eax, [edi + 0x40]
cmp ebx, 5
mov dword [esp], esi
mov dword [esp + 4], eax
jae 0x47675e
lea edi, [esp + 0x40]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x476b46
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
jmp 0x476796
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push dword [esp + 0xc]
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
lea esi, [esp + 0x40]
mov edi, dword [esp]
mov ecx, edi
push dword [esp + 4]
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00585140
mov dword [esp + 0x18], edi
cmp byte [esi + 0xb], 0
jns 0x4767ca
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov edi, dword [esp + 0xc]
jae 0x4767f0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [eax], edx
add eax, 4
mov dword [ecx + 4], eax
jmp 0x4767fa
lea eax, [esp + 0x18]
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test esi, esi
je 0x476845
cmp byte [esi + 0x27], 0
jns 0x47681b
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x47682c
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x47683c
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
movzx eax, byte [edi + 0x67]
test al, al
jns 0x476850
mov eax, dword [edi + 0x60]
test eax, eax
je 0x47699e
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov eax, dword [str.ApplicationDescription]
mov dword [esp + 8], eax
push eax
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
lea eax, [edi + 0x5c]
mov dword [esp + 4], eax
cmp ebx, 5
mov dword [esp], esi
jae 0x4768b7
lea edi, [esp + 0x40]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x476b53
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
jmp 0x4768ef
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push dword [esp + 0xc]
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
lea esi, [esp + 0x40]
mov edi, dword [esp]
mov ecx, edi
push dword [esp + 4]
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00585140
mov dword [esp + 0x18], edi
cmp byte [esi + 0xb], 0
jns 0x476923
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov edi, dword [esp + 0xc]
jae 0x476949
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [eax], edx
add eax, 4
mov dword [ecx + 4], eax
jmp 0x476953
lea eax, [esp + 0x18]
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test esi, esi
je 0x47699e
cmp byte [esi + 0x27], 0
jns 0x476974
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x476985
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x476995
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
movzx eax, byte [edi + 0x73]
test al, al
jns 0x4769a9
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x476aeb
push 0x30
call fcn.0050397a
add esp, 4
mov dword [esp], eax
mov esi, dword [str.ApplicationCompany]
push esi
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
add edi, 0x68
mov dword [esp + 0xc], edi
cmp eax, 5
jae 0x476a07
lea edi, [esp + 0x40]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x476b60
movzx eax, word [esi + 4]
mov word [esp + 0x44], ax
mov eax, dword [esi]
mov dword [esp + 0x40], eax
jmp 0x476a44
mov dword [esp + 4], esi
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push esi
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
lea esi, [esp + 0x40]
mov edi, dword [esp]
mov ecx, edi
push dword [esp + 0xc]
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00585140
mov dword [esp + 0x18], edi
cmp byte [esi + 0xb], 0
jns 0x476a78
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x476a96
mov dword [esp + 0x18], 0
mov dword [eax], edi
add eax, 4
mov dword [ecx + 4], eax
jmp 0x476aa0
lea eax, [esp + 0x18]
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test esi, esi
je 0x476aeb
cmp byte [esi + 0x27], 0
jns 0x476ac1
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x476ad2
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x476ae2
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x476afe
push dword [esp + 0x28]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x3f], 0
jns 0x476b11
push dword [esp + 0x34]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00504b53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x40]
test ebx, ebx
lea esi, [esp + 0x28]
jne 0x47627d
jmp 0x47628f
test ebx, ebx
jne 0x476618
jmp 0x47662a
test ebx, ebx
jne 0x476784
jmp 0x476796
test ebx, ebx
jne 0x4768dd
jmp 0x4768ef
test ebx, ebx
jne 0x476a35
jmp 0x476a44
lea eax, [edi + 0x4c]
lea ecx, [esp + 0x18]
push dword [edi + 0x58]
push eax
push ecx
call fcn.00569800
add esp, 0xc
push 0x30
call fcn.0050397a
add esp, 4
mov esi, eax
mov edi, dword [str.ApplicationIcon]
push edi
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x476d01
mov ebx, eax
mov dword [esp + 4], edi
cmp eax, 5
mov dword [esp], esi
jae 0x476be7
lea edi, [esp + 0x40]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x476ceb
mov ecx, dword [esp + 4]
movzx eax, word [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
jmp 0x476c1f
test ebx, ebx
jne 0x476403
jmp 0x476415
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
or esi, 0x80000000
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov eax, ebx
add eax, ebx
push eax
push dword [esp + 8]
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
lea esi, [esp + 0x40]
mov edi, dword [esp]
mov ecx, edi
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00585140
mov dword [esp + 0x24], edi
cmp byte [esi + 0xb], 0
jns 0x476c54
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov edi, dword [esp + 0xc]
jae 0x476c7a
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [eax], edx
add eax, 4
mov dword [ecx + 4], eax
jmp 0x476c84
lea eax, [esp + 0x24]
push eax
call fcn.0047ac50
mov esi, dword [esp + 0x24]
mov dword [esp + 0x24], 0
test esi, esi
je 0x476ccf
cmp byte [esi + 0x27], 0
jns 0x476ca5
push dword [esi + 0x1c]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0x17], 0
jns 0x476cb6
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x476cc6
push dword [esi]
call fcn.005039aa
add esp, 4
push esi
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x23], 0
jns 0x4766ec
push dword [esp + 0x18]
call fcn.005039aa
add esp, 4
jmp 0x4766ec
test ebx, ebx
jne 0x476c0d
jmp 0x476c1f
lea ecx, [esp + 0x28]
call fcn.0055adb0
lea ecx, [esp + 0x40]
call fcn.0055adb0
int3