Function at 0x6004fc9b
Capabilities:
Check if file exists
Get file size

Disassembly:
mov eax, 0x6009b270
call fcn.60095eb0
mov eax, 0x1690
call fcn.600960a0
push ebx
mov dword [ebp - 0x28], ecx
push esi
push edi
lea ecx, [ebp - 0x98]
call fcn.60050bd2
xor ebx, ebx
push 5
push 1
mov ecx, 0x600be498
mov dword [ebp - 4], ebx
call fcn.600418d1
mov edi, 0x600be3f8
mov ecx, edi
call fcn.6005ef59
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push 0x80000003
call esi
mov dword [ebp - 0x2c], eax
mov eax, dword [0x600bf12c]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x6004fd73
fld qword [ebp - 0x50]
fcomp qword [0x600a15a8]
fnstsw ax
sahf
jae 0x6004fd29
push ebx
push 0x40
push 0xf0b6
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_int__unsigned_int__unsigned_int_]
jmp 0x6004fd73
mov eax, dword [0x600bf12c]
lea edx, [ebp - 0x36]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0xb28], ebx
jne 0x6004fd95
push 1
push 0x7f02
push 1
lea ecx, [ebp - 0x48]
call fcn.6000769f
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.600569ac
cmp eax, ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
jge 0x6004fd87
lea ecx, [ebp - 0x48]
call fcn.6001a3d2
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.6005ef62
push dword [ebp - 0x2c]
call esi
jmp 0x60050baf
cmp byte [ebp - 0x40], bl
je 0x6004fd95
push dword [ebp - 0x44]
call dword [0x600bdde0]
fld qword [ebp - 0x50]
mov eax, dword [ebp - 0x28]
push ecx
push ecx
lea ecx, [ebp - 0x154]
fstp qword [esp]
push dword [eax + 0xb28]
push dword [eax + 0xb2c]
push dword [ebp + 8]
call fcn.60050d95
push ebx
mov byte [ebp - 4], 3
call dword [0x600bdd18]
push eax
lea ecx, [ebp - 0x154]
call fcn.60058bf0
cmp eax, 1
jne 0x60050b8a
mov eax, dword [0x600bf128]
mov dword [ebp - 0x24], ebx
cmp eax, ebx
je 0x6004fdf4
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x600baf68
push eax
call dword [ecx]
mov edi, dword [0x600bdc38]
mov byte [ebp - 4], 4
mov eax, 0x104
mov esi, 0xf17d
cmp dword [ebp + 8], 1
jne 0x6005011b
cmp dword [ebp - 0x11c], 0xffffffff
je 0x6004fe2d
cmp dword [ebp - 0x11c], 0xfffffffe
je 0x6004fe2d
cmp dword [ebp - 0x11c], 0xfffffffd
jne 0x6004fe8d
push eax
lea eax, [ebp - 0x994]
push eax
push 0xf17c
call fcn.60055c83
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x68c]
push 0x28
push ecx
push esi
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6004fe82
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 5
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.60005fa7
lea eax, [ebp - 0x68c]
jmp 0x6004ff4d
cmp word [ebp - 0x36], bx
push eax
lea eax, [ebp - 0x994]
push eax
je 0x6004fef5
push 0xf019
call fcn.60055c83
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x1c4]
push 0x10
mov esi, 0xf13f
push ecx
push esi
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6004feed
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 6
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.60005fa7
lea eax, [ebp - 0x1c4]
jmp 0x6004ff4d
push 0xf01a
call fcn.60055c83
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x1e4]
push 0x10
mov esi, 0xf0a3
push ecx
push esi
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6004ff47
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 7
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.60005fa7
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1a4]
push eax
call sub.WMMUtil.dll_Ordinal_111
mov eax, dword [ebp - 0x28]
lea esi, [eax + 0x868]
mov eax, dword [eax + 0x868]
cmp dword [eax - 8], ebx
jle 0x6004ffb0
push eax
lea eax, [ebp - 0xb9c]
push eax
call sub.WMMUtil.dll_Ordinal_111
mov esi, dword [esi]
lea eax, [ebp - 0xe9c]
push ebx
push eax
push ebx
push ebx
push esi
call dword [sym.imp.MSVCRT.dll__wsplitpath]
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xe9c]
push eax
push ebx
lea eax, [ebp - 0xb9c]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__wmakepath]
add esp, 0x28
jmp 0x60050018
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x78c]
push 0x80
push ecx
push 0x79
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6004fff8
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push 0x79
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 8
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.60005fa7
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x78c]
push eax
push ebx
lea eax, [ebp - 0xb9c]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__wmakepath]
add esp, 0x14
lea eax, [ebp - 0x994]
push ebx
push eax
lea eax, [ebp - 0xb9c]
push 0x806
push eax
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x131c]
push eax
push ebx
call fcn.600593bc
mov dword [ebp - 0x131c], 0x600a159c
mov eax, dword [0x600be400]
lea ecx, [ebp - 0xc9c]
push 0x80
mov esi, 0x8d
push ecx
push esi
push eax
mov byte [ebp - 4], 9
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x60050098
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 0xa
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.60005fa7
mov esi, 0x600be3f8
lea eax, [ebp - 0xc9c]
mov ecx, esi
mov dword [ebp - 0x12d0], eax
call fcn.6005f963
mov dword [ebp - 0x12d4], eax
call dword [0x600bdd18]
push eax
lea ecx, [ebp - 0x131c]
call fcn.60059465
cmp eax, 1
jne 0x600506be
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_111
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
cmp eax, 0xfe
push ebx
jle 0x6005010b
push 0x40
push 0xf129
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_int__unsigned_int__unsigned_int_]
jmp 0x600500b6
mov ecx, esi
call fcn.6005f96a
mov byte [ebp - 4], 4
jmp 0x60050470
mov eax, dword [0x600b767c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xc
call fcn.60050cb2
mov eax, dword [0x600b767c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x5ec]
push 0x80
push ecx
push 0xf140
push eax
mov byte [ebp - 4], 0xe
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6005018f
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push 0xf140
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 0xf
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.60005fa7
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x4ec]
push 0x80
push ecx
push 0xf141
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x600501dd
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push 0xf141
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 0x10
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.60005fa7
cmp dword [ebp - 0x11c], 0xffffffff
je 0x600501fc
cmp dword [ebp - 0x11c], 0xfffffffe
je 0x600501fc
cmp dword [ebp - 0x11c], 0xfffffffd
jne 0x60050280
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x63c]
push 0x28
push ecx
push esi
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6005023f
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str.Failed_to_load_resource_string__d
push eax
mov byte [ebp - 4], 0x11
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.60005fa7
lea eax, [ebp - 0x5ec]
test eax, eax
je 0x60050255
lea eax, [ebp - 0x5ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x5ec]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.60005fd3
lea eax, [ebp - 0x63c]
lea ecx, [ebp - 0x30]
push eax
call fcn.60010f2a
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push eax
jmp 0x6005031d
cmp word [ebp - 0x36], bx
je 0x600502ca
lea eax, [ebp - 0x5ec]
test eax, eax
je 0x6005029c
lea eax, [ebp - 0x5ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x5ec]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.60005fd3
lea eax, [ebp - 0x5ec]
test eax, eax
je 0x600502c2
lea eax, [ebp - 0x5ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x5ec]
jmp 0x6005030c
lea eax, [ebp - 0x4ec]
test eax, eax
je 0x600502e0
lea eax, [ebp - 0x4ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x4ec]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.60005fd3
lea eax, [ebp - 0x4ec]
test eax, eax
je 0x60050306
lea eax, [ebp - 0x4ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x4ec]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.60005fd3
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.60010e69
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0x868]
cmp dword [esi - 8], ebx
je 0x6005034a
cmp esi, ebx
jne 0x60050338
xor eax, eax
jmp 0x6005033e
push esi
call sub.WMMUtil.dll_Ordinal_113
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.60005fd3
jmp 0x60050377
mov eax, dword [0x600b767c]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0x12
push eax
mov edx, dword [eax - 8]
push edx
call fcn.60005fd3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.60006a88
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x20]
push eax
call fcn.6005128c
mov esi, 0x600be3f8
mov ecx, esi
call fcn.6005f1c2
push eax
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_111
lea eax, [ebp - 0x3ec]
lea ecx, [ebp - 0xc0]
push eax
call fcn.60023759
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc0]
call fcn.60023780
push ebx
call dword [0x600bdd18]
push eax
lea ecx, [ebp - 0xc0]
call fcn.60058ba0
cmp eax, 2
je 0x6005067c
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0xc0]
push eax
call fcn.600237c1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.60051353
push dword [ebp - 0x20]
lea eax, [ebp - 0x3ec]
push eax
call dword [0x600bdc54]
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp eax, 0xfe
pop ecx
jle 0x60050429
push ebx
push 0x40
push 0xf129
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_int__unsigned_int__unsigned_int_]
jmp 0x600503bc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.60005fa7
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x16
call fcn.60005fa7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
call fcn.60005fa7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.60005fa7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.60005fa7
mov esi, 0x600be3f8
lea eax, [ebp - 0x3ec]
mov ecx, esi
push eax
call fcn.6005ec95
test eax, eax
jne 0x60050b44
lea eax, [ebp - 0x3ec]
mov ecx, esi
push eax
call fcn.6005eb73
test eax, eax
jne 0x60050b44
lea eax, [ebp - 0x3ec]
mov ecx, esi
push eax
call fcn.6005e968
test eax, eax
jne 0x60050b44
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_59
cmp eax, 0xffffffff
je 0x600504e7
mov ecx, eax
and ecx, 1
test cl, cl
je 0x600504db
and al, 0xfe
push eax
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_152
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_32
cmp dword [ebp - 0x24], ebx
je 0x600506ed
push dword [ebp - 0x108]
call edi
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10c]
call edi
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x110]
call edi
mov dword [ebp - 0x20], eax
push dword [ebp - 0x114]
call edi
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x118]
call edi
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1b
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
call dword [ecx + 0x14]
push dword [ebp - 0x10]
mov esi, dword [0x600bdc40]
mov dword [ebp - 0x18], eax
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call esi
cmp dword [ebp - 0x18], ebx
jl 0x600506ed
cmp dword [ebp - 0x11c], 0xfffffffd
je 0x600505c1
cmp dword [ebp - 0x11c], 0xfffffffe
je 0x600505ac
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x11c]
shl eax, 5
mov ecx, dword [ecx + 0xb28]
add eax, ecx
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], edx
jmp 0x600505d6
mov ecx, 0x2d0
mov dword [ebp - 0x40], 0x1e0
mov dword [ebp - 0x58], 0x51763
jmp 0x600505d4
mov ecx, 0x2d0
mov dword [ebp - 0x40], 0x240
mov dword [ebp - 0x58], 0x61a80
xor eax, eax
push eax
mov edx, dword [ebp - 0x24]
push dword [ebp - 0x58]
mov edx, dword [edx]
push dword [ebp - 0x40]
push ecx
push dword [ebp - 0x11c]
push dword [ebp - 0x24]
call dword [edx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x600506ed
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_32
cmp eax, ebx
jne 0x60050707
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [ebp - 0x14], eax
je 0x60050707
mov eax, dword [0x600b767c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3ec]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x1c]
push 0xf0a7
push eax
call fcn.60010e20
add esp, 0xc
mov eax, dword [ebp - 0x28]
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBoxWithError_struct_HWND_____unsigned_short_int_const___unsigned_int__unsigned_int_]
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jne 0x600506e8
call fcn.60005fa7
mov eax, 0x104
mov esi, 0xf17d
jmp 0x6004fe08
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.60005fa7
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x14
call fcn.60005fa7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x13
call fcn.60005fa7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.60005fa7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.60005fa7
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x600506cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.600514fa
mov byte [ebp - 4], bl
mov ecx, esi
jmp 0x60050ba1
call fcn.60005fa7
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x60050b8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x60050b8a
lea eax, [ebp - 0x3ec]
push eax
call edi
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1d
push dword [edx + 4]
mov ecx, dword [eax]
push dword [ebp - 0x14]
push eax
call dword [ecx + 0xc]
push dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
call esi
cmp edi, ebx
jl 0x60050a2f
lea eax, [ebp - 0x3ec]
push ebx
push eax
call fcn.60065ec4
test eax, eax
je 0x60050a2f
mov eax, dword [0x600b767c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3ec]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x60050776
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x3ec]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.60005fd3
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x34]
push eax
call fcn.600235c6
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x78]
push eax
call fcn.600060a9
push ebx
push 0x80
push 3
push ebx
push ebx
lea eax, [ebp - 0x3ec]
push 0x80000000
push eax
call sub.WMMUtil.dll_Ordinal_18
mov esi, eax
cmp esi, ebx
je 0x6005081b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x14]
xor edi, edi
xor edx, edx
or ecx, edi
or edx, eax
push ecx
push edx
lea eax, [ebp - 0x4ec]
push 0x600bb14c
push eax
call sub.WMMUtil.dll_Ordinal_165
lea eax, [ebp - 0x4ec]
add esp, 0x10
test eax, eax
je 0x60050804
lea eax, [ebp - 0x4ec]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x4ec]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.60005fd3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
fld qword [ebp - 0x50]
call sub.MSVCRT.dll__ftol
push eax
lea eax, [ebp - 0x70]
push 0x600b7f10
push eax
call fcn.600060f9
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x8c]
push eax
call fcn.600060a9
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x88]
push eax
call fcn.600060a9
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x7c]
push eax
call fcn.600060a9
lea eax, [ebp - 0x108]
lea ecx, [ebp - 0x84]
push eax
call fcn.600060a9
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x80]
push eax
call fcn.600060a9
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x98]
call fcn.60029650
mov eax, dword [ebp + 8]
dec eax
je 0x600509a9
dec eax
je 0x600508cf
dec eax
jne 0x60050a23
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x3ec]
push eax
call fcn.6002ad7b
mov dword [ebp - 0x18], eax
jmp 0x6005099b
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x3ec]
push eax
call fcn.600222ba
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x60050992
mov esi, dword [0x600bdbd8]
mov edi, 0xf003f
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
push edi
lea ecx, [ebp - 0x10]
push dword [0x6009e468]
mov byte [ebp - 4], 0x23
push 0x80000001
call fcn.6001080d
cmp eax, ebx
jne 0x60050947
push edi
push str.Publishing
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.6001080d
cmp eax, ebx
jne 0x60050947
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push 0x600b8b48
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call sub.WMMUtil.dll_Ordinal_143
push ebx
push 0x40
push 0xf0f8
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_int__unsigned_int__unsigned_int_]
cmp dword [ebp + 8], ebx
je 0x60050964
push dword [ebp + 8]
call esi
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0x21
je 0x60050975
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x3ec]
push eax
call fcn.600222ba
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x600508f7
cmp eax, 1
jne 0x60050a23
lea eax, [ebp - 0x3ec]
push eax
call sub.WMMUtil.dll_Ordinal_32
jmp 0x60050a23
push ebx
call dword [0x600bdcb4]
push ebx
push 4
push 0xf067
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_int__unsigned_int__unsigned_int_]
cmp eax, 6
jne 0x60050a23
push 0x3c
lea eax, [ebp - 0xd4]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xc8], str.open
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x3ec]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], 1
call sub.WMMUtil.dll_Ordinal_158
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
jmp 0x600506e8
cmp edi, 0xc00d0018
jne 0x60050ad4
lea eax, [ebp - 0x3ec]
lea ecx, [ebp - 0x14]
push eax
call fcn.600092c3
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1f
call fcn.6005112c
lea eax, [ebp - 0x169c]
push 0x400
push eax
push 0xf166
push dword [0x600be400]
call sub.WMMUtil.dll_Ordinal_107
mov eax, dword [0x600b767c]
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x169c]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp + 8]
push eax
call fcn.600060f9
add esp, 0xc
push ebx
push 0x40
push dword [ebp + 8]
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_short_int_const___unsigned_int__unsigned_int_]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1f
call fcn.60005fa7
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1e
call fcn.60005fa7
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.60005fa7
jmp 0x60050afb
cmp edi, 0x80040217
jne 0x60050ae6
push ebx
push 0x40
push 0xf132
jmp 0x60050af3
cmp edi, 1
je 0x60050afb
push ebx
push 0x40
push 0xf007
push 0xffffffffffffffff
call dword [sym.imp.WMMUtil.dll_unsigned_int___stdcall_MPMessageBox_struct_HWND_____unsigned_int__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x60050b0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.600514fa
mov ecx, 0x600be3f8
mov byte [ebp - 4], bl
call fcn.6005ef62
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.6005143e
mov eax, edi
jmp 0x60050bc1
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x60050b55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.600514fa
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.6005ef62
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.6005143e
xor eax, eax
jmp 0x60050bc1
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.600514fa
mov byte [ebp - 4], bl
mov ecx, 0x600be3f8
call fcn.6005ef62
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.6005143e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4