Function at 0x301399d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x3002450c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x80c], ecx
mov ecx, dword [ebp + 0x18]
xor edi, edi
cmp dword [esi + 8], edi
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x808], ecx
jne 0x30139a15
xor al, al
jmp 0x30139bc3
cmp eax, edi
je 0x30139a0e
cmp dword [esi], edi
jne 0x30139a39
push 8
call sym.OFFDIAG.exe_public_virtual:_void____thiscall_FlexUI::FlexMemoryManager::Alloc_int_
cmp eax, edi
je 0x30139a31
mov ecx, eax
call fcn.3015b212
jmp 0x30139a33
xor eax, eax
cmp eax, edi
mov dword [esi], eax
je 0x30139a0e
cmp byte [ebp + 0x10], 0
je 0x30139aa8
cmp ebx, edi
je 0x30139a48
cmp word [ebx], di
jne 0x30139a8d
lea ebx, [ebp - 0x804]
mov eax, ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, ebx
push eax
call fcn.30123986
dec eax
js 0x30139a8d
cmp eax, 0x3fe
jae 0x30139a8d
add eax, eax
cmp word [ebp + eax - 0x804], 0x5c
je 0x30139a8d
mov word [ebp + eax - 0x802], 0x5c
mov word [ebp + eax - 0x800], di
push dword [esi]
push 0xffffffffffffffff
push dword [ebp - 0x810]
push 0xffffffffffffffff
push ebx
call fcn.30162ae8
test eax, eax
jge 0x30139ab4
jmp 0x30139a0e
mov ecx, dword [esi]
push 0x30002678
call fcn.3015bafa
call sym.OFFDIAG.exe_public:_static_void___stdcall_NetUI::Node::StartDefer_void_
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x818], eax
movzx eax, byte [esi + 0x18]
and eax, 1
lea eax, [ebp - 0x814]
push eax
push 0
pop eax
setne al
mov ecx, esi
mov dword [ebp - 0x814], edi
push eax
push dword [esi + 8]
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::NUIDocument::CreateMarkupContainer_class_NetUI::Element___enum_NetUI::NUIDocument::CreateMarkupContainerFlags__struct_NetUI::IMarkupContainer___
mov ebx, eax
cmp ebx, edi
mov edi, dword [ebp - 0x814]
jl 0x30139b8b
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x50]
test byte [esi + 0x18], 2
je 0x30139b1e
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x60]
xor ebx, ebx
cmp dword [ebp - 0x80c], ebx
je 0x30139b35
push dword [ebp - 0x80c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
cmp dword [ebp - 0x808], ebx
je 0x30139b4a
push dword [ebp - 0x808]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
cmp byte [ebp + 0x10], 0
je 0x30139b67
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, ebx
jne 0x30139b5d
mov eax, 0x30002678
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 8]
jmp 0x30139b89
cmp dword [ebp + 0x1c], ebx
mov eax, dword [edi]
mov ecx, edi
jge 0x30139b7b
push dword [ebp - 0x810]
call dword [eax + 0x10]
jmp 0x30139b89
push 1
push dword [ebp + 0x1c]
push dword [ebp - 0x810]
call dword [eax + 0xc]
mov ebx, eax
push dword [ebp - 0x808]
mov ecx, esi
push dword [ebp - 0x80c]
push edi
push ebx
call fcn.30139876
push dword [ebp - 0x818]
call dword [sym.imp.USER32.dll_SetCursor]
call sym.OFFDIAG.exe_public:_static_void___stdcall_NetUI::Node::EndDefer_void_
test ebx, ebx
setge bl
test edi, edi
je 0x30139bc1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30136bd1
leave
ret 0x18