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

Disassembly:
push 0xffffffffffffffff
push 0x5e39cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
mov dword [esp + 0x54], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x2e0]
lea ecx, [esp + 0x90]
push eax
call fcn.00530fa0
lea ecx, [esp + 0x90]
mov dword [esp + 0x2d8], ebp
call fcn.005308e0
mov ecx, dword [0x677e28]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x58], ecx
cmp eax, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], ebp
jle 0x502e2b
mov edx, dword [0x677e28]
mov dword [esp + 0x48], edx
lea eax, [esp + 0x48]
lea ecx, [esp + 0x7c]
push eax
push ebp
push ecx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2e4], 2
call fcn.00530970
mov edi, dword [eax]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d8], 3
mov dword [esp + 0x20], 0x5ecdf0
mov dword [esp + 0x24], 0x5ecde8
call fcn.004018e0
mov eax, dword [esp + 0x50]
or al, 1
mov dword [esp + 0x50], eax
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x2dc], 4
call fcn.00401950
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2dc], 5
call fcn.00401a40
mov edx, dword [esp + 0x20]
push edi
mov byte [esp + 0x2dc], 6
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x24], 0x5ecdd4
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
lea edx, [eax - 0xc]
mov dword [esp + eax + 0x20], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
call fcn.0048f9c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d8], 8
call fcn.0059d7fd
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
call fcn.004900d0
mov eax, dword [eax]
push 0x66cc48
push eax
call fcn.0055fa9d
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
sete bl
call fcn.0059d7fd
test bl, bl
jne 0x502e77
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x74]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
call fcn.004900d0
mov eax, dword [eax]
push str..pdf
push eax
call fcn.0055fa9d
add esp, 8
lea ecx, [esp + 0x74]
test eax, eax
setne bl
call fcn.0059d7fd
test bl, bl
je 0x502d66
push 8
call fcn.0059dece
add esp, 4
test eax, eax
je 0x502aee
mov edx, dword [0x677e28]
mov edi, eax
mov dword [eax], edx
jmp 0x502af0
xor edi, edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x68]
call fcn.0059d7fd
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x24]
push eax
call fcn.0050d4e0
add esp, 4
test al, al
jne 0x502b6d
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x60]
call fcn.0059d7fd
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xc8]
push 0x104
push ecx
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0xc8]
push edx
jmp 0x502b97
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x78]
call fcn.0059d7fd
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x24]
push eax
mov ecx, edi
call fcn.0059d986
mov dword [edi + 4], 0
mov edx, dword [esi + 0x58]
push 0
push edx
mov ecx, esi
call fcn.00500ca0
mov eax, dword [esi + 0x58]
lea edx, [esp + 0x80]
mov dword [esp + 0x80], eax
push edx
lea ecx, [eax + 1]
lea eax, [esp + 0xc4]
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x190]
push eax
mov dword [esp + 0x8c], edi
call fcn.00505c40
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push ecx
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x70]
call fcn.0059d7fd
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x24]
push eax
call fcn.0050d4e0
add esp, 4
test al, al
jne 0x502d6b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x64]
call fcn.0059d7fd
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x24]
mov ecx, esi
push eax
call fcn.005012b0
cmp eax, 1
jne 0x502d6b
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x54]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x54]
call fcn.0059d7fd
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x24]
push eax
call fcn.0059d86b
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
push 0x104
push ecx
push edx
mov byte [esp + 0x2e4], 9
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x1cc]
lea ecx, [esp + 0x1c]
push eax
call fcn.0059d986
mov ebx, dword [esi + 0x58]
push 1
dec ebx
mov ecx, esi
push ebx
call fcn.0050be70
cmp eax, 1
mov dword [esp + 0x18], eax
jle 0x502cdf
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax - 1]
mov dword [esp + 0x14], edx
mov edi, 1
cmp eax, edi
jle 0x502d53
push 8
call fcn.0059dece
add esp, 4
test eax, eax
je 0x502d02
mov ecx, dword [0x677e28]
mov ebp, eax
mov dword [eax], ecx
jmp 0x502d04
xor ebp, ebp
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.0059d936
lea ecx, [esp + 0x88]
lea edx, [esp + 0xb8]
lea eax, [edi + ebx]
push ecx
push edx
lea ecx, [esi + 0x190]
mov dword [ebp + 4], edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebp
call fcn.00505c40
mov ecx, dword [esi + 0x58]
mov eax, dword [esp + 0x18]
inc edi
inc ecx
cmp edi, eax
mov dword [esi + 0x58], ecx
jl 0x502ce8
mov ebp, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d8], 8
call fcn.0059d7fd
jmp 0x502d6b
mov byte [esp + 0x13], 1
test ebp, ebp
jne 0x502da0
cmp dword [esp + 0x5c], 1
jle 0x502da0
mov ecx, dword [esi + 0x1a8]
test ecx, ecx
je 0x502da0
mov edi, dword [ecx]
push 1
push ebp
push 0x3f800000
push ebp
push ebp
call dword [edi + 0x170]
mov ecx, dword [esi + 0x1a8]
push eax
push ebp
call dword [edi + 0x128]
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2d8], 0xd
call fcn.0059d7fd
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2d8], 0xc
call fcn.0059d7fd
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d8], 0xb
call fcn.0059d7fd
lea ecx, [esp + 0x34]
mov byte [esp + 0x2d8], 0xa
call fcn.0059d7fd
lea ecx, [esp + 0x30]
mov byte [esp + 0x2d8], 2
call fcn.0059d7fd
lea ecx, [esp + 0x48]
mov byte [esp + 0x2d8], 1
call fcn.0059d7fd
mov eax, dword [esp + 0x5c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x4c], ebp
jl 0x502998
mov al, byte [esp + 0x13]
test al, al
je 0x502e2b
dec dword [esp + 0x14]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
mov dword [esi + 0x24], eax
mov byte [esp + 0x2d8], 0
call fcn.0059d7fd
lea ecx, [esp + 0x90]
mov dword [esp + 0x2d8], 0xffffffff
call fcn.00530880
mov al, 1
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2cc
ret 4
mov eax, dword [esi + 0x194]
lea edi, [esi + 0x190]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, edi
call fcn.00505c30
mov edx, dword [eax]
lea eax, [esp + 0x58]
push edx
push eax
mov ecx, edi
call fcn.00506280
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x24]
call fcn.0048fe30
lea ecx, [esp + 0x18]
call fcn.0059d7fd
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov ecx, esi
mov eax, dword [esp + edx + 0x24]
push eax
call fcn.00502fd0
lea ecx, [esp + 0x2c]
mov bl, al
mov byte [esp + 0x2d8], 2
call fcn.004019c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2d8], 1
call fcn.0059d7fd
lea ecx, [esp + 0x58]
mov byte [esp + 0x2d8], 0
call fcn.0059d7fd
lea ecx, [esp + 0x90]
mov dword [esp + 0x2d8], 0xffffffff
call fcn.00530880
mov al, bl
jmp 0x502e5c