Function at 0x475e30
Capabilities:
Encode data using base64
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d91c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov ax, word [0x5cb040]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov word [ebp - 0x1f0], ax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1ee]
push esi
rep stosd dword es:[edi], eax
push str._STORMP2P__CKMPPlayer::OnPlayStatusChange___d_
lea ecx, [ebp - 0x1f0]
push 0x104
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [ebp - 0x1f0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov eax, dword [ebx + 0xbc]
push eax
call fcn.0047fe70
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x475ec9
mov eax, dword [eax]
cmp eax, edi
je 0x475ec9
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jne 0x475f06
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004126a0
cmp esi, edi
jne 0x475fce
mov ecx, dword [ebx + 0x36c]
mov ax, word [ebx + 0x36c]
shr ecx, 0x10
inc ecx
and eax, 0xffff
shl ecx, 0x10
or ecx, eax
mov dword [ebx + 0x36c], ecx
jmp 0x4760f7
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x475f14
call fcn.004127c0
jmp 0x475f16
xor eax, eax
push str.tasktypeP2PVOD
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0x14]
je 0x475ed3
call fcn.004126a0
cmp esi, 3
jne 0x475ed8
push 0x5d2aa0
lea ecx, [ebp - 0x2c]
call fcn.00410470
mov eax, dword [0x5cb0b4]
mov esi, 1
cmp eax, edi
mov dword [ebp - 4], esi
jne 0x475fab
cmp dword [0x5cb0b0], edi
jne 0x475fab
push 0x448
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, edi
mov byte [ebp - 4], 2
je 0x475f85
push edi
mov ecx, eax
call fcn.004141a0
jmp 0x475f87
xor eax, eax
mov dword [0x5cb0b0], eax
mov eax, dword [0x5b4fac]
push eax
push 0x414170
mov ecx, 0x5d0190
mov byte [ebp - 4], 1
call fcn.00406500
mov dword [0x5cb0b4], esi
mov ecx, dword [ebp - 0x2c]
mov esi, dword [0x5cb0b0]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
push 5
mov ecx, esi
call fcn.004111d0
jmp 0x4760f7
cmp esi, 6
je 0x4760d9
cmp esi, 9
je 0x4760d9
cmp esi, 4
jne 0x4760f7
mov dword [ebp - 0x28], 0
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
mov dword [ebp - 4], 3
call dword [edx + 0xac]
test eax, eax
jl 0x4760c3
mov ecx, dword [ebp - 0x28]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x1c], eax
je 0x47602c
mov edx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
push 0x5b5cc0
push ecx
call dword [edx]
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x584338]
mov ecx, dword [0x584334]
mov dword [ebp - 0x58], edx
mov edx, dword [0x584340]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [0x58433c]
mov dword [ebp - 0x50], edx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x30]
mov eax, dword [0x5b43d8]
mov ecx, dword [0x5b43dc]
mov edx, dword [0x5b43e0]
mov dword [ebp - 0x44], eax
mov eax, dword [0x5b43e4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x4760a8
mov ecx, 4
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x44]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov dword [0x5cb254], 1
je 0x4760b2
mov dword [0x5cb254], 0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x4760c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4760f7
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4760f7
mov eax, dword [ebx + 0x36c]
shr eax, 0x10
cmp eax, 2
jb 0x4760f1
mov dword [ebx + 0x36c], 0x10000
mov dword [0x5cb254], edi
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5b4724
push 1
push ebx
call fcn.004735e0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], 5
test eax, eax
je 0x47612d
mov edx, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [edx + 0xac]
mov eax, dword [0x5cb0b8]
test eax, eax
je 0x476686
mov dword [ebp - 0x20], 0
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov byte [ebp - 4], 6
call dword [edx + 0xc0]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x476675
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
cmp ecx, 7
jne 0x4761a8
mov edx, dword [esi]
lea eax, [ebp - 0x28]
xor edi, edi
push eax
push esi
mov dword [ebp - 0x28], edi
call dword [edx + 0x24]
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4761a6
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
push edx
push edi
push esi
mov dword [ebp - 0x10], 0
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x476227
mov eax, dword [ebp - 0x28]
inc edi
cmp edi, eax
jl 0x47617e
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x5cb258]
push eax
push esi
call fcn.004ea240
cmp esi, 7
jne 0x47636b
mov ecx, ebx
call fcn.00474940
mov eax, dword [ebx + 0xcc]
mov ecx, ebx
mov dword [ebx + 0xd0], eax
call fcn.004759e0
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edi
push 0x5d2a60
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00410470
mov eax, dword [0x5cb0cc]
mov byte [ebp - 4], 9
cmp eax, edi
jne 0x47625c
cmp dword [0x5cb0c8], edi
jne 0x47625c
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, edi
mov byte [ebp - 4], 0xa
je 0x476231
mov ecx, eax
call fcn.0045e9d0
jmp 0x476233
mov eax, 1
jmp 0x4761a8
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [ebp - 4], 9
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x5cb0c8]
mov byte [ebp - 4], 8
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x47633d
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x476340
push 0x5bd028
lea edx, [ebp - 0x28]
push eax
push edx
call fcn.00423a70
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp dword [ebp - 0x10], edi
je 0x47633d
push 0x5d2ac0
lea ecx, [ebp - 0x18]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [ebp - 4], 0xb
cmp eax, edi
jne 0x476321
cmp dword [0x5cb044], edi
jne 0x476321
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x24], eax
cmp eax, edi
mov byte [ebp - 4], 0xc
je 0x4762f7
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4762f9
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [ebp - 4], 0xb
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x5cb044]
mov byte [ebp - 4], 8
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x90]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 7
cmp ecx, edi
je 0x476354
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x476675
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x476675
cmp esi, 6
jne 0x47654a
lea ecx, [ebx + 0x104]
call fcn.0041d9b0
mov ecx, ebx
call fcn.004753c0
push 0x5d2a80
lea ecx, [ebp - 0x18]
call fcn.00410470
mov eax, dword [0x5cb0c0]
mov bl, 0xd
test eax, eax
mov byte [ebp - 4], bl
jne 0x4763f7
mov eax, dword [0x5cb0bc]
test eax, eax
jne 0x4763f7
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 0xe
je 0x4763cd
push 0
mov ecx, eax
call fcn.0041c900
jmp 0x4763cf
xor eax, eax
mov edx, dword [0x5b5894]
mov ecx, 0x5d0190
push edx
push 0x41c8d0
mov byte [ebp - 4], bl
mov dword [0x5cb0bc], eax
call fcn.00406500
mov dword [0x5cb0c0], 1
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x5cb0bc]
mov byte [ebp - 4], 6
mov eax, dword [ecx]
call dword [eax + 8]
push 0
mov ecx, esi
call fcn.0051c9d0
push 0x5d2a80
lea ecx, [ebp - 0x18]
call fcn.00410470
mov eax, dword [0x5cb0c0]
mov bl, 0xf
test eax, eax
mov byte [ebp - 4], bl
jne 0x476483
mov eax, dword [0x5cb0bc]
test eax, eax
jne 0x476483
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 0x10
je 0x476459
push 0
mov ecx, eax
call fcn.0041c900
jmp 0x47645b
xor eax, eax
mov ecx, dword [0x5b5894]
mov byte [ebp - 4], bl
push ecx
push 0x41c8d0
mov ecx, 0x5d0190
mov dword [0x5cb0bc], eax
call fcn.00406500
mov dword [0x5cb0c0], 1
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x5cb0bc]
mov byte [ebp - 4], 6
mov edx, dword [ecx]
call dword [edx + 8]
push 0
mov ecx, esi
call fcn.0051d000
push 0x5d2a80
lea ecx, [ebp - 0x18]
call fcn.00410470
mov eax, dword [0x5cb0c0]
mov bl, 0x11
test eax, eax
mov byte [ebp - 4], bl
jne 0x47650e
mov eax, dword [0x5cb0bc]
test eax, eax
jne 0x47650e
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 0x12
je 0x4764e5
push 0
mov ecx, eax
call fcn.0041c900
jmp 0x4764e7
xor eax, eax
mov dword [0x5cb0bc], eax
mov eax, dword [0x5b5894]
push eax
push 0x41c8d0
mov ecx, 0x5d0190
mov byte [ebp - 4], bl
call fcn.00406500
mov dword [0x5cb0c0], 1
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x5cb0bc]
mov byte [ebp - 4], 6
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.0051d080
call fcn.004bbc90
mov eax, dword [eax + 0x20]
push 0
push 0x2661
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [ebp + 8]
jmp 0x476675
cmp esi, 1
jne 0x476584
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0xffffffff
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
mov dword [ebx + 0xd8], 0
jmp 0x476675
cmp esi, 2
je 0x476636
cmp esi, 0xa
je 0x476636
cmp esi, 4
jne 0x476675
mov dword [ebp - 0x14], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov byte [ebp - 4], 0x13
call dword [eax + 0x80]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
test edx, edx
mov dword [ebp - 0x1c], ecx
je 0x4765d7
mov eax, dword [edx]
lea ecx, [ebp - 0x1c]
push ecx
push 0x5b8e28
push edx
call dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov byte [ebp - 4], 0x14
je 0x476615
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x476615
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x48]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov byte [ebp - 4], 0x13
je 0x476626
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov edx, dword [ebp - 0x14]
test edx, edx
mov byte [ebp - 4], 6
je 0x476675
mov eax, dword [edx]
push edx
call dword [eax + 8]
jmp 0x476675
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0xffffffff
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
cmp esi, 2
jne 0x47666a
mov ecx, ebx
call fcn.00474ec0
jmp 0x476675
mov ecx, dword [0x5cb258]
call fcn.004eaca0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test eax, eax
je 0x476686
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x16
cmp eax, edi
jne 0x4766b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], edi
jmp 0x476f0b
cmp eax, 1
jne 0x476b5e
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov edx, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov byte [ebp - 4], 0x19
cmp eax, edi
jne 0x476735
cmp dword [0x5cb044], edi
jne 0x476735
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x24], eax
cmp eax, edi
mov byte [ebp - 4], 0x1a
je 0x47670b
push edi
mov ecx, eax
call fcn.00414150
jmp 0x47670d
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [ebp - 4], 0x19
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [ebp - 4], 0x18
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [eax + 0x78]
test eax, eax
jl 0x476b39
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x476b39
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call esi
test eax, eax
jbe 0x476b39
lea edx, [ebp - 0x10]
mov ecx, ebx
push edx
call fcn.004726e0
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x476798
push eax
call esi
test eax, eax
jne 0x476b39
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov eax, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x30], ecx
call dword [eax + 4]
mov eax, dword [0x5cb0cc]
mov byte [ebp - 4], 0x20
cmp eax, edi
jne 0x476819
cmp dword [0x5cb0c8], edi
jne 0x476819
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x34], eax
cmp eax, edi
mov byte [ebp - 4], 0x21
je 0x4767ee
mov ecx, eax
call fcn.0045e9d0
jmp 0x4767f0
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [ebp - 4], 0x20
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x1f
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x476883
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x476883
push 0x5b68d0
lea edx, [ebp - 0x20]
push eax
push edx
call fcn.00423a70
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x476883
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
xor esi, esi
mov byte [ebp - 4], 0x22
cmp eax, esi
jne 0x4768a9
cmp dword [ebp - 0x14], esi
jne 0x476904
jmp 0x4768c0
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x476904
push eax
push ecx
call edi
add esp, 8
test eax, eax
sete al
test al, al
je 0x476904
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x23
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov edx, str.FILES
add esp, 4
test edx, edx
jne 0x4769b8
cmp eax, esi
je 0x476a0d
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x14]
push edx
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov byte [ebp - 4], 0x22
cmp dword [ebx + 0xe0], esi
je 0x476a58
cmp dword [ebx + 0x378], esi
jne 0x476a58
mov dword [ebp - 0x30], esi
mov eax, dword [ebx + 0x14]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x24
call dword [ecx + 0xac]
cmp eax, esi
jl 0x476a47
mov ecx, dword [ebp - 0x30]
xor eax, eax
cmp ecx, esi
mov dword [ebp - 0x34], eax
je 0x476958
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
push 0x5b5cc0
push ecx
call dword [eax]
mov eax, dword [ebp - 0x34]
cmp eax, esi
mov byte [ebp - 4], 0x25
je 0x476a39
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x476a36
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x4c]
mov edx, dword [ebx + 0xe0]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x54]
fmul qword [0x577de8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x3c]
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 0x41
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
jne 0x476a2a
mov edx, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x3c]
jmp 0x476a31
cmp eax, esi
je 0x4768ef
mov eax, str.FILES
test eax, eax
je 0x4769f6
push str.FILES
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00550140
mov eax, esp
push 0
push esi
push str.FILES
push eax
call fcn.00477950
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call edi
add esp, 8
test eax, eax
sete al
test al, al
je 0x4768ef
fld qword [ebp - 0x3c]
fmul qword [0x5798f0]
mov eax, dword [ebx + 0x14]
sub esp, 8
mov edx, dword [eax]
fstp qword [esp]
push eax
call dword [edx + 0x50]
jmp 0x476900
mov edx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x34]
cmp eax, esi
mov byte [ebp - 4], 0x24
je 0x476a47
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0x22
cmp eax, esi
je 0x476a58
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x28]
push 0x5b68d0
lea ecx, [ebp - 0x20]
push eax
push ecx
mov dword [ebx + 0x378], esi
call fcn.00423a70
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x476aa4
mov edx, dword [eax]
push 0x5be518
push eax
call dword [edx + 0x78]
mov eax, dword [ebp - 0x20]
push 0x5be518
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x20]
push 0x5be514
push eax
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebx + 0xf0]
lea esi, [ebx + 0xf0]
test eax, eax
je 0x476ac1
mov ecx, ebx
call fcn.004759e0
mov dword [esi], 0
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xb8]
cmp dword [esi], 0
je 0x476aef
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebx + 0xf8]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebx]
lea eax, [ebx + 0xf4]
push eax
push ebx
call dword [edx + 0xc8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x476b0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x476b1d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x18
push edx
call esi
mov ecx, ebx
call fcn.004745f0
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
mov byte [0x5bde38], 1
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
jmp 0x476f0b
cmp eax, 4
jne 0x476d3d
mov dword [ebx + 0x348], edi
mov ecx, ebx
mov dword [ebx + 0x34c], edi
call fcn.00474450
mov al, byte [0x5bde38]
test al, al
je 0x476f0b
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x28
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x476c01
cmp dword [0x5cb0c8], edi
jne 0x476c01
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2c], eax
cmp eax, edi
mov byte [ebp - 4], 0x29
je 0x476bd8
mov ecx, eax
call fcn.0045e9d0
jmp 0x476bda
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [ebp - 4], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x27
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x476cff
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x476cff
push 0x5bd028
lea edx, [ebp - 0x10]
push eax
push edx
call fcn.00423a70
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x476cff
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x18], edi
je 0x476cff
mov eax, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [ebp - 0x2c], 0x5d2ac0
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov bl, 0x2a
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x476cdc
cmp dword [0x5cb044], edi
jne 0x476cdc
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, edi
mov byte [ebp - 4], 0x2b
je 0x476cb2
push edi
mov ecx, eax
call fcn.00414150
jmp 0x476cb4
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [ebp - 4], bl
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [ebp - 4], 0x27
call dword [edx + 8]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x90]
call fcn.004bbc90
cmp eax, edi
je 0x476d11
push 1
mov ecx, eax
call fcn.005047e0
mov eax, dword [ebp - 0x10]
mov byte [0x5bde38], 0
cmp eax, edi
mov byte [ebp - 4], 0x26
je 0x476d29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x16
cmp eax, edi
je 0x476f0b
jmp 0x476f05
cmp eax, 5
jne 0x476d4e
mov ecx, ebx
call fcn.004742d0
jmp 0x476f0b
cmp eax, 9
jne 0x476f0b
mov ecx, dword [ebp + 8]
call fcn.004747d0
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x2e
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x476dd9
cmp dword [0x5cb0c8], edi
jne 0x476dd9
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2c], eax
cmp eax, edi
mov byte [ebp - 4], 0x2f
je 0x476daf
mov ecx, eax
call fcn.0045e9d0
jmp 0x476db1
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [ebp - 4], bl
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x2d
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x476eca
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x476eca
push 0x5bd028
lea edx, [ebp - 0x10]
push eax
push edx
call fcn.00423a70
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp dword [ebp - 0x18], edi
je 0x476eca
mov eax, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [ebp - 0x2c], ecx
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov bl, 0x30
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x476ea8
cmp dword [0x5cb044], edi
jne 0x476ea8
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, edi
mov byte [ebp - 4], 0x31
je 0x476e7e
push edi
mov ecx, eax
call fcn.00414150
jmp 0x476e80
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [ebp - 4], bl
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [ebp - 4], 0x2d
call dword [edx + 8]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x90]
mov esi, dword [ebp + 8]
mov byte [0x5bde38], 1
cmp dword [esi + 0xf0], edi
je 0x476ee9
mov ecx, esi
call fcn.004759e0
mov dword [esi + 0xf0], edi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x2c
cmp eax, edi
je 0x476efa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x16
cmp eax, edi
je 0x476f0b
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x33
cmp eax, 1
jne 0x477047
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push ecx
push edi
mov eax, dword [edi]
call dword [eax + 0x78]
test eax, eax
jl 0x477047
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x477047
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call esi
test eax, eax
jbe 0x477047
lea edx, [ebp - 0x4c]
mov ecx, edi
push edx
call fcn.004726e0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x476f9d
push eax
call esi
test eax, eax
jbe 0x476f8b
mov ecx, dword [edi + 0xc8]
lea eax, [edi + 0xc8]
test ecx, ecx
jne 0x476f8b
push eax
call fcn.0051b800
add esp, 4
jmp 0x477047
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x476f9d
push eax
call esi
test eax, eax
jne 0x477047
mov eax, dword [edi + 0xc8]
add edi, 0xc8
test eax, eax
jne 0x477047
lea ecx, [ebp - 0x88]
call fcn.00539870
mov esi, dword [ebp - 0x48]
push 0xc
mov byte [ebp - 4], 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 0x35
je 0x476fe4
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x476fe6
xor esi, esi
test esi, esi
mov byte [ebp - 4], 0x34
mov dword [ebp - 0x18], esi
jne 0x476ffb
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [ebp - 4], 0x36
je 0x47700c
mov ecx, esi
call fcn.004127c0
jmp 0x47700e
xor eax, eax
push eax
lea ecx, [ebp - 0x88]
call fcn.0053a470
test esi, esi
mov bl, al
mov byte [ebp - 4], 0x34
je 0x47702b
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x477038
push edi
call fcn.0051b800
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x33
call fcn.00539930
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x4773fd
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x4771fd
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call edi
test eax, eax
jbe 0x477203
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x477090
cmp eax, 7
jne 0x477203
push 0xffffffffffffffff
push str.itid
call fcn.00406c60
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 0x37
mov esi, dword [edi + 0xd4]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00447580
push 0xffffffffffffffff
push 0x5be354
call fcn.00406c60
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00447580
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [edi + 0xd0]
mov edi, dword [sym.imp.MSVCRT.dll__ltoa]
lea ecx, [ebp - 0xec]
push 0xa
push ecx
push edx
call edi
push 0xffffffffffffffff
push eax
call fcn.00406c60
add esp, 0x14
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00447580
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push 0x5be34c
call fcn.00406c60
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00447580
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xec]
push 0xa
push eax
mov edx, dword [ecx + 0xcc]
push edx
call edi
push 0xffffffffffffffff
push eax
call fcn.00406c60
add esp, 0x14
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00447580
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [edi + 0xc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [edi + 0xd4]
push eax
call esi
push 0
push 0
push 0xffffffffffffffff
push 0x5cabc0
push 0
push 0
call ebx
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x4771d9
push esi
push edi
push 0xffffffffffffffff
push 0x5cabc0
push 0
push 0
call ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0xd4], edi
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xcc], ecx
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov edx, dword [esi]
lea eax, [ebp - 0x24]
push eax
push esi
mov byte [ebp - 4], 0x39
call dword [edx + 0x78]
test eax, eax
jl 0x4773e7
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4773e7
push eax
call edi
test eax, eax
jbe 0x4773e7
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.004726e0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4773e7
push eax
call edi
test eax, eax
jbe 0x4773e7
mov eax, dword [ebp + 0xc]
dec eax
je 0x4773b8
dec eax
je 0x47734a
sub eax, 2
jne 0x4773e7
push 0
push 0
push 0xffffffffffffffff
push str.istat5tid
push 0
push 0
call ebx
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x4772a7
push esi
push edi
push 0xffffffffffffffff
push str.istat5tid
push 0
push 0
call ebx
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov byte [ebp - 4], 0x3b
mov dword [ebp - 0x2c], eax
call esi
test edi, edi
mov dword [ebp - 0x18], eax
jne 0x4772c8
xor esi, esi
jmp 0x4772cd
push edi
call esi
mov esi, eax
mov edx, dword [ebp - 0x18]
lea eax, [esi + edx]
push eax
push 0
mov dword [ebp - 0x30], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
je 0x47732e
lea eax, [esi + esi]
mov esi, dword [ebp - 0x10]
mov ecx, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
add ecx, ecx
lea edi, [ebx + eax]
mov edx, ecx
mov eax, dword [ebp - 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x10]
mov word [ebx + eax*2], 0
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, ebx
mov dword [ebp - 0x28], edi
mov edx, dword [ebp + 8]
push edi
mov eax, dword [edx + 0xc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4773e7
push 0
push 0
push 0xffffffffffffffff
push str.istat3tid
push 0
push 0
call ebx
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x47737c
push esi
push edi
push 0xffffffffffffffff
push str.istat3tid
push 0
push 0
call ebx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x3a
push eax
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00447580
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc8]
mov edx, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4773e7
mov eax, dword [esi + 0xd4]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
je 0x4773e7
test eax, eax
je 0x4773d0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x20]
push ecx
call edi
mov edx, dword [ebp - 0x20]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x33
push ecx
call esi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00475c20
mov esi, dword [esi + 0xbc]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 0x3c
je 0x477430
push esi
mov ecx, eax
call fcn.00412730
jmp 0x477432
xor eax, eax
test eax, eax
mov byte [ebp - 4], 0x33
mov dword [ebp - 0x1c], eax
jne 0x47744a
push 0x8007000e
call fcn.005505fa
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 0x3d
je 0x477463
mov eax, dword [eax]
test eax, eax
je 0x477463
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x477474
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x33
call fcn.004126a0
jmp 0x477553
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x477482
call fcn.004127c0
jmp 0x477484
xor eax, eax
push str.tasktypeP2PVOD
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov byte [ebp - 4], 0x33
test eax, eax
je 0x4774fb
lea ecx, [ebp - 0x1c]
call fcn.004126a0
mov edx, dword [0x5d2aa0]
mov ecx, 0x5d2aa0
mov dword [ebp - 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0b4]
mov bl, 0x3e
test eax, eax
mov byte [ebp - 4], bl
jne 0x477533
mov eax, dword [0x5cb0b0]
test eax, eax
jne 0x477533
push 0x448
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 0x3f
je 0x477509
mov ecx, esi
call fcn.00407150
mov dword [esi], vtable.CComObjectNoRef_class_CKMPP2PMngr_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CKMPP2PMngr_.0
jmp 0x47750b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x477553
call fcn.00412770
jmp 0x477553
xor esi, esi
mov eax, dword [0x5b4fac]
mov ecx, 0x5d0190
push eax
push 0x414170
mov byte [ebp - 4], bl
mov dword [0x5cb0b0], esi
call fcn.00406500
mov dword [0x5cb0b4], 1
mov edx, dword [0x5d2aa0]
mov esi, dword [0x5cb0b0]
mov ecx, 0x5d2aa0
mov byte [ebp - 4], 0x33
call dword [edx + 8]
push edi
mov ecx, esi
call fcn.0040e1f0
cmp edi, 4
jne 0x4778f8
mov eax, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], ecx
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov byte [ebp - 4], 0x40
test eax, eax
jne 0x4775de
mov eax, dword [0x5cb044]
test eax, eax
jne 0x4775de
push 0x380
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
mov byte [ebp - 4], 0x41
je 0x4775b2
mov ecx, esi
call fcn.00472270
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4775b4
xor esi, esi
mov ecx, dword [0x5b4b90]
mov byte [ebp - 4], 0x40
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], esi
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [ebp - 4], 0x33
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push esi
call dword [eax + 0x8c]
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x43
mov dword [ebp - 0x2c], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x44
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x477680
cmp dword [0x5cb0c8], edi
jne 0x477680
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, edi
mov byte [ebp - 4], 0x45
je 0x477657
mov ecx, eax
call fcn.0045e9d0
jmp 0x477659
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [ebp - 4], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [ebp - 4], 0x43
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4776d8
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4776d8
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edx, dword [eax]
push ecx
push 0x5b6738
push eax
call dword [edx]
cmp esi, edi
je 0x4776cb
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x5d2a80]
mov ecx, 0x5d2a80
mov dword [ebp - 0x2c], ecx
call dword [eax + 4]
mov eax, dword [0x5cb0c0]
mov bl, 0x46
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x477759
cmp dword [0x5cb0bc], edi
jne 0x477759
push 0x1044
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 0x47
je 0x47772e
mov ecx, esi
call fcn.0051b870
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
jmp 0x477730
xor esi, esi
mov ecx, dword [0x5b5894]
mov byte [ebp - 4], bl
push ecx
push 0x41c8d0
mov ecx, 0x5d0190
mov dword [0x5cb0bc], esi
call fcn.00406500
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [ebp - 4], 0x43
call dword [edx + 8]
mov ecx, esi
call fcn.0051bb90
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x6c], edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
push ecx
lea eax, [ebp - 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4778d6
cmp dword [ebp - 0x18], edi
jne 0x4778d6
cmp dword [ebp - 0x24], edi
je 0x4778d6
mov edx, dword [0x5d2a80]
mov ecx, 0x5d2a80
mov dword [ebp - 0x2c], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0c0]
mov bl, 0x48
cmp eax, edi
mov byte [ebp - 4], bl
jne 0x4778b7
cmp dword [0x5cb0bc], edi
jne 0x4778b7
push 0x1044
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
cmp esi, edi
mov byte [ebp - 4], 0x49
je 0x47781e
mov ecx, esi
call fcn.0051b870
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
jmp 0x477820
xor esi, esi
mov eax, dword [0x5d0198]
mov dword [0x5cb0bc], esi
xor esi, esi
mov byte [ebp - 4], bl
mov ebx, dword [0x5b5894]
lea edi, [eax - 1]
test edi, edi
jl 0x47785a
lea ecx, [ebp - 0x3c]
push esi
push ecx
mov ecx, 0x5d0190
call fcn.00480bb0
cmp ebx, dword [ebp - 0x38]
jge 0x477856
inc esi
cmp esi, edi
jle 0x47783d
test edi, edi
jge 0x477870
push 1
mov eax, 0x41c8d0
push ebx
push eax
push esi
mov ecx, 0x5d0190
call fcn.00417800
jmp 0x4778ab
mov edx, dword [0x5d0198]
xor edi, edi
dec edx
test edx, edx
jle 0x4778ab
mov eax, dword [0x5d0194]
cmp dword [eax + edi*8], 0x41c8d0
je 0x4778ab
push 1
mov eax, 0x41c8d0
push ebx
push eax
push esi
mov ecx, 0x5d0190
call fcn.00417800
mov ecx, dword [0x5d0198]
inc edi
dec ecx
cmp edi, ecx
jl 0x47787d
mov dword [0x5cb0c0], 1
xor edi, edi
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [ebp - 4], 0x43
call dword [edx + 8]
mov ecx, esi
call fcn.0051ceb0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x42
cmp eax, edi
je 0x4778e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x33
cmp eax, edi
je 0x4778f8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x104
call fcn.0041e7c0
mov edx, dword [ebp - 0x48]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [ebp - 0x4c]
push eax
call esi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x477930
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1fc]
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8