Function at 0x5009d468
Capabilities:
Get file attributes
Log keystrokes via application hook

Disassembly:
push ebp
mov eax, 0x16cc
lea ebp, [esp - 0x54]
call fcn.50260700
push ebx
xor ebx, ebx
push esi
push edi
lea ecx, [ebp - 0x1344]
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp - 8], ebx
call fcn.500a785c
mov eax, dword [0x5029a6e4]
mov dword [ebp + 8], eax
xor eax, eax
test byte [ebp + 0x69], 2
mov ecx, 0x8b
lea edi, [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ebx
rep stosd dword es:[edi], eax
mov dword [ebp], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
jne 0x5009d4ed
mov esi, 0x80070057
jmp 0x5009e3fe
lea eax, [ebp + 0x38]
push eax
mov eax, 0x5002a174
push eax
push eax
call fcn.501a5bb0
mov esi, eax
cmp esi, ebx
jl 0x5009e264
cmp dword [ebp + 0x38], ebx
je 0x5009e170
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp + 4]
push eax
call fcn.5019e0ec
mov esi, eax
cmp esi, ebx
jl 0x5009e264
push 0x50002380
push dword [ebp + 0x60]
call fcn.5003f10b
test eax, eax
je 0x5009d559
mov esi, dword [ebp + 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
cmp eax, ebx
mov dword [ebp + 0x28], eax
jne 0x5009d565
lea eax, [ebp - 8]
push eax
call fcn.50272bbe
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x74], ebx
mov esi, dword [ebp + 0x64]
je 0x5009d597
push dword [ebp + 0x74]
call dword [sym.imp.vsansi.dll_GetFileAttributesW]
test al, 0x10
je 0x5009d597
push dword [ebp + 0x74]
lea ecx, [ebp - 0x1344]
call fcn.500a6e2f
test eax, eax
je 0x5009d597
lea eax, [ebp - 0x1344]
mov dword [ebp + 0xc], eax
jmp 0x5009d5cf
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
push 0x50029f24
push esi
call dword [eax]
test eax, eax
jl 0x5009d5c8
cmp dword [ebp + 0x14], ebx
je 0x5009d5c8
push dword [ebp + 0x14]
call fcn.50062782
mov ecx, eax
call fcn.50059e56
cmp eax, ebx
je 0x5009d5c8
add eax, 0x80
jmp 0x5009d592
mov dword [ebp + 0xc], 0x50299638
lea eax, [ebp + 0x18]
push eax
mov eax, 0x5002a5b4
push eax
push eax
call fcn.501a5bb0
test eax, eax
jl 0x5009d5fa
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x5009d5fa
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
lea eax, [ebp + 0x50]
push eax
call dword [0x5029af38]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
and edx, 0x800000
push edx
push eax
call dword [ecx + 0x118]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
and edx, 1
push edx
push eax
call dword [ecx + 0x34]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x204]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x3c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov ecx, dword [ebp + 0x6c]
cmp ecx, ebx
jne 0x5009d7a3
mov esi, 0x333c
push esi
call fcn.5005698e
shr eax, 0x10
test ax, ax
push esi
je 0x5009d707
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push esi
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x5009d70c
call fcn.5005698e
push eax
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.MSVCR70.dll_wcscpy]
mov eax, dword [ebp + 0x64]
pop ecx
pop ecx
mov ecx, dword [eax]
lea edx, [ebp + 0x74]
push edx
push 0x50029f24
push eax
mov dword [ebp + 0x74], ebx
call dword [ecx]
test eax, eax
jl 0x5009d78d
cmp dword [ebp + 0x74], ebx
je 0x5009d79d
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0xfffff82d
push 0xfffffffffffffffe
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x5009d783
cmp dword [ebp - 0x14], ebx
je 0x5009d783
mov esi, dword [sym.imp.MSVCR70.dll_wcscat]
lea eax, [ebp - 0x4ec]
push 0x50006800
push eax
call esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x4ec]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x74]
cmp eax, ebx
je 0x5009d79d
mov dword [ebp + 0x74], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4ec]
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x74]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
push dword [ebp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
lea edx, [ebp + 0x3c]
push edx
push eax
call dword [ecx + 0xc8]
cmp dword [ebp + 0x3c], ebx
je 0x5009e170
mov edi, dword [ebp + 0x28]
jmp 0x5009d81b
cmp word [edi], bx
je 0x5009d81f
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push ebx
push edi
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov esi, dword [sym.imp.MSVCR70.dll_wcslen]
push edi
call esi
lea edi, [edi + eax*2 + 2]
push edi
call esi
pop ecx
pop ecx
lea edi, [edi + eax*2 + 2]
cmp edi, ebx
jne 0x5009d7eb
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x5009d887
cmp dword [eax], ebx
je 0x5009d887
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
xor edi, edi
cmp eax, ebx
mov dword [ebp + 0x74], eax
jle 0x5009d89e
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
lea edx, [ebp - 0x6f4]
push edx
push edi
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x7c]
push dword [eax]
lea eax, [ebp - 0x6f4]
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x5009d87b
inc edi
cmp edi, dword [ebp + 0x74]
jl 0x5009d83c
jmp 0x5009d89e
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
jmp 0x5009d89e
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc0]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.500a70fc
push eax
push dword [ebp + 0x50]
call dword [esi + 0xb8]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
lea edx, [ebp + 0x4c]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
push ebx
push 0xa
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xa
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xc
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xc
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xd
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xd
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xf
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0xf
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0x11
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ebx
push 0x11
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
lea edx, [ebp + 0x34]
push edx
push eax
call dword [ecx + 0xcc]
cmp dword [ebp + 0x34], ebx
je 0x5009e170
test byte [ebp + 0x6a], 0x48
mov dword [ebp - 0x74], 1
jne 0x5009da01
mov ecx, 0x50296c70
call fcn.500ee073
test eax, eax
jne 0x5009da01
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
lea edx, [ebp + 0x48]
push edx
push 0x50029fb4
push eax
call dword [ecx]
test eax, eax
jl 0x5009da01
cmp dword [ebp + 0x48], ebx
jne 0x5009da0d
cmp dword [ebp + 0x48], ebx
mov dword [ebp - 0x74], ebx
je 0x5009db8c
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x48], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x74], ebx
je 0x5009db8c
lea eax, [ebp + 0x2c]
push eax
call dword [0x5029af34]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
push 0xa
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov esi, 0x34d8
push esi
call fcn.5005698e
shr eax, 0x10
test ax, ax
push esi
je 0x5009da98
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push esi
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x5009da9d
call fcn.5005698e
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x34]
push dword [ebp + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
test byte [ebp + 0x69], 0x80
je 0x5009db8c
lea eax, [ebp + 0x30]
push eax
call dword [0x5029af34]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
push 0xa
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov esi, 0x33d6
push esi
call fcn.5005698e
shr eax, 0x10
test ax, ax
push esi
je 0x5009db52
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push esi
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x5009db57
call fcn.5005698e
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x34]
push dword [ebp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
lea eax, [ebp + 0x24]
push eax
call dword [0x5029af34]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
push 7
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov esi, 0x3400
push esi
call fcn.5005698e
shr eax, 0x10
test ax, ax
push esi
je 0x5009dc02
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push esi
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x5009dc07
call fcn.5005698e
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x34]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x110]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push 4
push 0x5009c495
push eax
call dword [ecx + 0x90]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
push ebx
push 0x500541fa
call dword [0x5029af28]
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push dword [0x5029a6cc]
push 0x5009b1ae
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov esi, dword [ebp + 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [0x5029a6e4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa4]
mov dword [0x5028e6a0], eax
jmp 0x5009e11e
mov eax, dword [ebp + 0x50]
push dword [ebp + 8]
mov dword [0x5028e8c0], eax
call fcn.50272bbe
mov eax, dword [ebp + 0x38]
push ebx
mov dword [0x5028e8c0], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
push dword [ebp + 8]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x88]
mov edi, eax
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
cmp edi, ebx
mov esi, edi
jl 0x5009e264
mov eax, dword [ebp - 0xc]
and eax, 0xff
cmp eax, 2
mov dword [0x5028e8b0], ebx
je 0x5009dd5f
cmp eax, 4
jne 0x5009e166
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
lea edx, [ebp + 0x20]
push edx
push eax
call dword [ecx + 0xc4]
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
lea edx, [ebp + 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x5009e170
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
shl esi, 2
push esi
push ebx
push dword [0x50297d50]
mov dword [ebp + 0x40], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp + 0x44], eax
je 0x5009e170
mov edi, dword [ebp + 0x44]
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
cmp dword [ebp + 0x40], ebx
rep stosb byte es:[edi], al
mov dword [ebp + 0x64], ebx
jle 0x5009e085
lea ecx, [ebp - 0xb14]
call fcn.500a785c
xor eax, eax
mov dword [ebp - 0x2bc], ebx
mov ecx, 0x81
lea edi, [ebp - 0x2b8]
rep stosd dword es:[edi], eax
mov esi, 0x50001f20
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, 0x104
push ebx
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], ebx
movsd dword es:[edi], dword [esi]
call fcn.500ab288
push dword [ebp + 0x64]
lea edx, [ebp + 0x74]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x5009df3a
mov eax, dword [ebp + 0x74]
cmp eax, ebx
jne 0x5009de4f
mov esi, 0x80004004
jmp 0x5009df4a
mov ecx, dword [eax]
push 3
lea edx, [ebp + 0x6c]
push edx
lea edx, [ebp - 0x2bc]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jl 0x5009df3a
lea eax, [ebp - 0x2bc]
push 0x50007e60
push eax
call dword [sym.imp.MSVCR70.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x5009debb
push 0x30000000
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0xf24]
push eax
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
je 0x5009debb
lea eax, [ebp - 0xf24]
push eax
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0xb14]
call fcn.500a6e2f
lea ecx, [ebp - 0xb14]
call fcn.50272bbe
push eax
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
mov dword [ebp + 0x6c], eax
add eax, eax
push eax
push ebx
push dword [0x50297d50]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp + 0x64]
mov edi, eax
cmp edi, ebx
mov eax, dword [ebp + 0x44]
lea edx, [eax + ecx*4]
mov dword [edx], edi
jne 0x5009df21
mov esi, 0x80004004
jmp 0x5009df3a
mov ecx, dword [ebp + 0x6c]
xor eax, eax
rep stosw word es:[edi], ax
lea eax, [ebp - 0x2bc]
push eax
push dword [edx]
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
mov eax, dword [ebp + 0x74]
cmp eax, ebx
je 0x5009df4a
mov dword [ebp + 0x74], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x50002380
lea eax, [ebp - 0x64]
push eax
call fcn.5002e451
test eax, eax
je 0x5009e06b
cmp dword [ebp - 0x88], ebx
jne 0x5009e06b
push 0x50008478
lea ecx, [ebp - 0xb14]
call fcn.50272bbe
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x5009e06b
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0xb14]
push eax
call fcn.50272bbe
test eax, eax
jl 0x5009e06b
push 0x50001f20
lea eax, [ebp - 0x1c]
push eax
call fcn.5003f10b
test eax, eax
je 0x5009e06b
cmp dword [ebp + 0x5c], 3
je 0x5009dfd2
cmp dword [ebp + 0x5c], 1
jne 0x5009e06b
call fcn.50062782
cmp dword [eax + 0x9c], ebx
je 0x5009e17a
mov edi, 0x34f1
push edi
call fcn.5005698e
shr eax, 0x10
test ax, ax
je 0x5009e02c
push edi
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push 0x34f1
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x5009e032
push edi
call fcn.5005698e
lea ecx, [ebp - 0x2bc]
push ecx
push eax
lea eax, [ebp - 0x1678]
push eax
call dword [sym.imp.vsansi.dll_wsprintfW]
add esp, 0xc
push ebx
push 0x24
lea eax, [ebp - 0x1678]
push eax
push ebx
call fcn.5004c00f
sub eax, 6
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jne 0x5009e17a
lea ecx, [ebp - 0xb14]
call fcn.501b7afc
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x40]
jl 0x5009dde1
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x48]
push edx
push 0x50029fb4
push eax
call dword [ecx]
cmp dword [ebp - 0x88], ebx
je 0x5009e0d0
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x5009e0d0
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x38]
lea edx, [ebp - 0x48]
push edx
push 3
push dword [0x5029a6e4]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push ebx
push 1
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x2c]
jmp 0x5009e0fb
cmp dword [ebp - 0x84], ebx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push dword [0x5029a6e4]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push ebx
je 0x5009e0f2
push 4
jmp 0x5009e0f4
push 1
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
cmp dword [ebp + 0x10], ebx
jne 0x5009e19e
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x5009e11e
mov dword [ebp + 0x48], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x4c], ebx
mov eax, 0x50001f20
mov esi, eax
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x38], ebx
mov esi, eax
mov eax, dword [ebp + 0x38]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp + 8]
push edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, ebx
jge 0x5009dce5
jmp 0x5009e264
mov esi, 0x8004000c
jmp 0x5009e264
mov esi, 0x8007000e
jmp 0x5009e264
lea eax, [ebp - 0x2bc]
push eax
push 0x5028e6a8
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
lea ecx, [ebp - 0xb14]
call fcn.501b7afc
jmp 0x5009e264
cmp dword [ebp + 0x10], 1
jne 0x5009e1ab
xor esi, esi
jmp 0x5009e264
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push 0x208
lea edx, [ebp - 0xd1c]
push edx
push eax
call dword [ecx + 0x30]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xd1c]
push eax
call fcn.500a6e2f
push 0x50002380
push dword [ebp + 0x60]
call fcn.5002e451
test eax, eax
je 0x5009e1fb
lea eax, [ebp - 0xd1c]
push eax
mov ecx, 0x50299a58
call fcn.500a6ec8
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp]
push esi
lea esi, [ebp - 0x6f4]
push esi
push eax
push ecx
call dword [edx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x5009e264
test byte [ebp + 0x68], 0x80
je 0x5009e24b
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
je 0x5009e24b
mov eax, dword [edi]
cmp eax, ebx
je 0x5009e23c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x6f4]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
mov ecx, 0x50296c70
call fcn.500ee073
test eax, eax
je 0x5009e264
push dword [ebp + 0x40]
push dword [ebp + 0x44]
call fcn.50272bbe
cmp dword [ebp - 0x70], ebx
je 0x5009e272
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x38]
cmp eax, ebx
je 0x5009e28f
mov dword [ebp + 0x38], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x5009e29f
mov dword [ebp + 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x5009e2af
mov dword [ebp + 0x50], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
je 0x5009e2bf
mov dword [ebp + 0x3c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
je 0x5009e2cf
mov dword [ebp + 0x4c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x34]
cmp eax, ebx
je 0x5009e2df
mov dword [ebp + 0x34], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5009e2ef
mov dword [ebp + 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x5009e2ff
mov dword [ebp + 0x1c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x5009e30f
mov dword [ebp + 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x5009e31f
mov dword [ebp + 0x48], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 4]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x38]
call edi
cmp dword [ebp + 0x28], ebx
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
je 0x5009e346
push dword [ebp + 0x28]
push ebx
push dword [0x50297d50]
call edi
cmp dword [ebp + 0x44], ebx
je 0x5009e381
xor eax, eax
cmp dword [ebp + 0x40], ebx
mov dword [ebp + 0x64], eax
jle 0x5009e375
mov ecx, dword [ebp + 0x44]
mov eax, dword [ecx + eax*4]
cmp eax, ebx
je 0x5009e369
push eax
push ebx
push dword [0x50297d50]
call edi
mov eax, dword [ebp + 0x64]
inc eax
cmp eax, dword [ebp + 0x40]
mov dword [ebp + 0x64], eax
jl 0x5009e355
push dword [ebp + 0x44]
push ebx
push dword [0x50297d50]
call edi
cmp dword [ebp - 0x78], ebx
jne 0x5009e38c
push ebx
call fcn.50272bbe
push 1
call fcn.50272bbe
cmp esi, 0x80070015
jne 0x5009e3f8
mov edi, 0x32cc
push edi
call fcn.5005698e
shr eax, 0x10
test ax, ax
je 0x5009e3e4
push edi
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push 0x32cc
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x5009e3ea
push edi
call fcn.5005698e
push ebx
push ebx
push ebx
push eax
push 0x80070015
call fcn.50272bbe
mov dword [0x5028e6a0], ebx
lea ecx, [ebp - 0x1344]
call fcn.501b7afc
mov eax, esi
lea esp, [ebp - 0x1684]
pop edi
pop esi
pop ebx
add ebp, 0x54
leave
ret 0x24