Function at 0x58ef20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3718
call fcn.00535b30
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x14d8], 0
mov dword [ebp - 0x14d4], 0
mov dword [ebp - 0x14dc], 0
mov dword [ebp - 4], 0
push 0x5141
mov eax, dword [ebp + 8]
push eax
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x14dc], eax
push 0x5141
mov ecx, dword [ebp + 8]
push ecx
call fcn.005832a0
add esp, 8
mov dword [ebp - 4], eax
push 0
push 0x14b4
push 0
lea edx, [ebp - 0x14c0]
push edx
call fcn.005286a0
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
movsx edx, word [ecx + 2]
test edx, edx
jne 0x58f315
mov byte [ebp - 0x35c0], 0
push 0x63
push 0
lea eax, [ebp - 0x35bf]
push eax
call fcn.00532490
add esp, 0xc
mov byte [ebp - 0x1558], 0
push 0x63
push 0
lea ecx, [ebp - 0x1557]
push ecx
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x35d8], 0
mov dword [ebp - 0x35d4], 0
mov dword [ebp - 0x35c8], 0
mov dword [ebp - 0x35c4], 0
mov byte [ebp - 0x3558], 0
push 0x1fff
push 0
lea edx, [ebp - 0x3557]
push edx
call fcn.00532490
add esp, 0xc
mov byte [ebp - 0x14ec], 0
xor eax, eax
mov byte [ebp - 0x14eb], al
mov ecx, dword [ebp + 8]
push ecx
call fcn.005854e0
add esp, 4
mov dword [ebp - 0x35cc], eax
mov edx, dword [ebp + 8]
push edx
call fcn.005855e0
add esp, 4
mov dword [ebp - 0x35d0], eax
push 0x5141
mov eax, dword [ebp + 8]
push eax
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x35d8], eax
push 0x3b
push 0x6992c0
lea ecx, [ebp - 0x14ec]
push ecx
call fcn.00535a83
add esp, 0xc
mov edx, dword [ebp - 0x35d0]
movsx eax, byte [edx]
test eax, eax
je 0x58f0a8
mov ecx, dword [ebp - 0x35d0]
mov dword [ebp - 0x3700], ecx
jmp 0x58f0b4
mov edx, dword [ebp - 0x35cc]
mov dword [ebp - 0x3700], edx
mov eax, dword [ebp - 0x3700]
push eax
push str._s_LICENSE_FILE
lea ecx, [ebp - 0x35c0]
push ecx
call fcn.00535a83
add esp, 0xc
mov edx, dword [ebp - 0x35d0]
movsx eax, byte [edx]
test eax, eax
je 0x58f0ea
mov ecx, dword [ebp - 0x35d0]
mov dword [ebp - 0x3704], ecx
jmp 0x58f0f6
mov edx, dword [ebp - 0x35cc]
mov dword [ebp - 0x3704], edx
mov eax, dword [ebp - 0x3704]
push eax
push str._s_LF
lea ecx, [ebp - 0x1558]
push ecx
call fcn.00535a83
add esp, 0xc
push 0x5140
mov edx, dword [ebp - 0x35d8]
push edx
push str.LM_LICENSE_FILE
mov eax, dword [ebp + 8]
push eax
call fcn.0057d450
add esp, 0x10
mov dword [ebp - 0x35d4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x13c]
and edx, 0x10
je 0x58f178
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x2000000
jne 0x58f178
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0057e050
add esp, 8
mov dword [ebp - 0x35c8], eax
mov eax, dword [ebp - 0x35c8]
mov dword [ebp - 0x35c4], eax
jmp 0x58f1fc
push 0x2000
lea ecx, [ebp - 0x3558]
push ecx
lea edx, [ebp - 0x35c0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0057d450
add esp, 0x10
mov dword [ebp - 0x35c8], eax
cmp dword [ebp - 0x35c8], 0
jne 0x58f1fc
lea ecx, [ebp - 0x1558]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0057d940
add esp, 8
mov dword [ebp - 0x35c8], eax
cmp dword [ebp - 0x35c8], 0
jne 0x58f1fc
lea eax, [ebp - 0x35c0]
push eax
call fcn.005c4350
add esp, 4
push 0x2000
lea ecx, [ebp - 0x3558]
push ecx
lea edx, [ebp - 0x35c0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0057d450
add esp, 0x10
mov dword [ebp - 0x35c8], eax
cmp dword [ebp - 4], 0
je 0x58f2bc
cmp dword [ebp - 0x35c8], 0
jne 0x58f21c
cmp dword [ebp - 0x35d4], 0
je 0x58f2bc
cmp dword [ebp - 0x35d4], 0
je 0x58f233
mov ecx, dword [ebp - 0x35d4]
mov dword [ebp - 0x3708], ecx
jmp 0x58f23d
mov dword [ebp - 0x3708], 0x6ad998
cmp dword [ebp - 0x35c8], 0
je 0x58f25d
cmp dword [ebp - 0x35d4], 0
je 0x58f25d
lea edx, [ebp - 0x14ec]
mov dword [ebp - 0x370c], edx
jmp 0x58f267
mov dword [ebp - 0x370c], 0x6ad999
cmp dword [ebp - 0x35c8], 0
je 0x58f27e
mov eax, dword [ebp - 0x35c8]
mov dword [ebp - 0x3710], eax
jmp 0x58f288
mov dword [ebp - 0x3710], 0x6ad99a
lea ecx, [ebp - 0x14ec]
push ecx
mov edx, dword [ebp - 0x3708]
push edx
mov eax, dword [ebp - 0x370c]
push eax
mov ecx, dword [ebp - 0x3710]
push ecx
lea edx, [ebp - 0x14ec]
push edx
push str._s_s_s_s_s
mov eax, dword [ebp - 4]
push eax
call fcn.00535a83
add esp, 0x1c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14d8], ecx
cmp dword [ebp - 0x14d8], 0
je 0x58f2e5
mov edx, dword [ebp - 0x14d8]
movsx eax, byte [edx]
test eax, eax
jne 0x58f2e5
mov dword [ebp - 0x14d8], 0
cmp dword [ebp - 0x35c4], 0
je 0x58f2fd
mov ecx, dword [ebp - 0x35c4]
push ecx
call fcn.005834f0
add esp, 4
cmp dword [ebp - 0x35d8], 0
je 0x58f315
mov edx, dword [ebp - 0x35d8]
push edx
call fcn.005834f0
add esp, 4
cmp dword [0x6992bc], 0xffffffff
jne 0x58f334
push str.FLEXLM_USE_FINDER
mov eax, dword [ebp + 8]
push eax
call fcn.0057d940
add esp, 8
mov dword [0x6992bc], eax
cmp dword [ebp - 0x14d8], 0
jne 0x58f352
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd4]
movsx eax, word [edx + 0x10de]
cmp eax, 1
jne 0x58f35b
cmp dword [0x6992bc], 0
je 0x58f36d
mov ecx, dword [ebp + 8]
push ecx
call fcn.005d1e00
add esp, 4
mov dword [ebp - 0x14d8], eax
cmp dword [ebp - 0x14d8], 0
jne 0x58f399
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
movsx ecx, word [eax + 8]
test ecx, ecx
je 0x58f399
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14d8], ecx
cmp dword [ebp - 0x14d8], 0
jne 0x58f3d6
push 0xc7
lea edx, [ebp - 0x36a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx eax, byte [ebp - 0x36a0]
cmp eax, 0x41
jne 0x58f3cc
mov dword [ebp - 0x14d8], str.A:_flexlmlicense.dat
jmp 0x58f3d6
mov dword [ebp - 0x14d8], str.C:_flexlmlicense.dat
mov ecx, dword [ebp + 8]
push ecx
call fcn.00578580
add esp, 4
mov edx, dword [ebp - 0x14dc]
push edx
mov eax, dword [ebp - 0x14d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00590080
add esp, 0xc
mov dword [ebp - 0x14d8], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffff48
jne 0x58f449
cmp dword [ebp - 4], 0
je 0x58f423
mov eax, dword [ebp - 4]
push eax
call fcn.005834f0
add esp, 4
cmp dword [ebp - 0x14dc], 0
je 0x58f43b
mov ecx, dword [ebp - 0x14dc]
push ecx
call fcn.005834f0
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x58fc19
mov eax, dword [ebp - 0x14d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00591410
add esp, 8
mov dword [ebp - 0x14cc], eax
call fcn.00534f8e
mov dword [eax], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14cc]
mov dword [edx + 0xec], eax
push 0
mov ecx, dword [ebp - 0x14d8]
push ecx
call fcn.00527f10
add esp, 8
add eax, 3
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x14e8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14e8]
mov dword [eax + 0xf4], ecx
mov edx, dword [ebp - 0x14cc]
lea eax, [edx*4 + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x14c4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14c4]
mov dword [edx + 0xe4], eax
mov ecx, dword [ebp - 0x14cc]
imul ecx, ecx, 0x434
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x14e0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14e0]
mov dword [eax + 0xf0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14e0]
mov dword [edx + 0xf0], eax
mov dword [ebp - 0x14cc], 0
push 0
mov ecx, dword [ebp - 0x14d8]
push ecx
mov edx, dword [ebp - 0x14e8]
push edx
call fcn.00527900
add esp, 0xc
cmp dword [ebp - 0x14e8], 0
je 0x58f647
mov eax, dword [ebp - 0x14e8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x58f647
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14cc]
cmp eax, dword [edx + 0xec]
jle 0x58f574
jmp 0x58f647
mov ecx, dword [ebp - 0x14cc]
mov edx, dword [ebp - 0x14c4]
mov eax, dword [ebp - 0x14e8]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x14cc]
imul ecx, ecx, 0x434
mov edx, dword [ebp - 0x14e0]
mov dword [edx + ecx + 4], 0
mov eax, dword [ebp - 0x14cc]
imul eax, eax, 0x434
mov ecx, dword [ebp - 0x14e0]
movzx edx, byte [ecx + eax + 0x10]
or edx, 2
mov eax, dword [ebp - 0x14cc]
imul eax, eax, 0x434
mov ecx, dword [ebp - 0x14e0]
mov byte [ecx + eax + 0x10], dl
mov edx, dword [ebp - 0x14cc]
add edx, 1
imul edx, edx, 0x434
add edx, dword [ebp - 0x14e0]
mov eax, dword [ebp - 0x14cc]
imul eax, eax, 0x434
mov ecx, dword [ebp - 0x14e0]
mov dword [ecx + eax], edx
mov edx, dword [ebp - 0x14e8]
push edx
call fcn.0058fca0
add esp, 4
mov dword [ebp - 0x14e8], eax
cmp dword [ebp - 0x14e8], 0
je 0x58f633
mov eax, dword [ebp - 0x14e8]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14e8]
add ecx, 1
mov dword [ebp - 0x14e8], ecx
mov edx, dword [ebp - 0x14cc]
add edx, 1
mov dword [ebp - 0x14cc], edx
jmp 0x58f540
cmp dword [ebp - 0x14cc], 0
jle 0x58f67f
mov eax, dword [ebp - 0x14cc]
mov ecx, dword [ebp - 0x14c4]
mov dword [ecx + eax*4], 0
mov edx, dword [ebp - 0x14cc]
sub edx, 1
imul edx, edx, 0x434
mov eax, dword [ebp - 0x14e0]
mov dword [eax + edx], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xe8], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe4]
cmp dword [edx + eax*4], 0
je 0x58f98e
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.005d1630
add esp, 8
mov dword [ebp - 0x14e0], eax
cmp dword [ebp - 0x14e0], 0
je 0x58f974
mov ecx, dword [ebp - 0x14e0]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14e4], edx
mov eax, dword [ebp - 0x14d4]
add eax, 1
mov dword [ebp - 0x14d4], eax
push 0
push 0x14b4
push 0
lea ecx, [ebp - 0x14c0]
push ecx
call fcn.005286a0
add esp, 0x10
lea edx, [ebp - 0x14c0]
push edx
mov eax, dword [ebp - 0x14e0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005d08c0
add esp, 0xc
mov dword [ebp - 0x14c8], eax
push 0
push 0x50
push 0
lea edx, [ebp - 0x36f0]
push edx
call fcn.005286a0
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x80
push eax
lea ecx, [ebp - 0x36f0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00576680
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0xfffffff3
jne 0x58f779
lea ecx, [ebp - 0x36f0]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x80
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00576680
add esp, 0xc
lea ecx, [ebp - 0x36f0]
push ecx
call fcn.00576610
add esp, 4
mov dword [ebp - 0x14cc], 0
mov edx, dword [ebp - 0x14c8]
mov dword [ebp - 0x14d0], edx
jmp 0x58f7c1
mov eax, dword [ebp - 0x14d0]
mov ecx, dword [eax + 0x408]
mov dword [ebp - 0x14d0], ecx
mov edx, dword [ebp - 0x14cc]
add edx, 1
mov dword [ebp - 0x14cc], edx
cmp dword [ebp - 0x14d0], 0
je 0x58f7cc
jmp 0x58f7a0
cmp dword [ebp - 0x14cc], 0
jle 0x58f8e6
call fcn.00534f8e
mov dword [eax], 0
mov eax, dword [ebp - 0x14cc]
imul eax, eax, 0x424
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x14d0], eax
push 0
mov edx, dword [ebp - 0x14cc]
imul edx, edx, 0x424
push edx
mov eax, dword [ebp - 0x14c8]
push eax
mov ecx, dword [ebp - 0x14d0]
push ecx
call fcn.00528390
add esp, 0x10
mov dword [ebp - 0x36f8], 0
jmp 0x58f843
mov edx, dword [ebp - 0x36f8]
add edx, 1
mov dword [ebp - 0x36f8], edx
mov eax, dword [ebp - 0x36f8]
cmp eax, dword [ebp - 0x14cc]
jge 0x58f881
mov ecx, dword [ebp - 0x36f8]
add ecx, 1
imul ecx, ecx, 0x424
add ecx, dword [ebp - 0x14d0]
mov edx, dword [ebp - 0x36f8]
imul edx, edx, 0x424
mov eax, dword [ebp - 0x14d0]
mov dword [eax + edx + 0x408], ecx
jmp 0x58f834
mov ecx, dword [ebp - 0x36f8]
sub ecx, 1
imul ecx, ecx, 0x424
mov edx, dword [ebp - 0x14d0]
mov dword [edx + ecx + 0x408], 0
push 8
mov eax, dword [ebp + 8]
push eax
call fcn.005832a0
add esp, 8
mov dword [ebp - 0x36f4], eax
mov ecx, dword [ebp - 0x36f4]
mov edx, dword [ebp - 0x14d0]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x36f4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x158]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x36f4]
mov dword [eax + 0x158], ecx
jmp 0x58f8f0
mov dword [ebp - 0x14d0], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe8]
push eax
mov ecx, dword [ebp - 0x14d0]
push ecx
mov edx, dword [ebp - 0x14e0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00585750
add esp, 0x10
mov ecx, dword [ebp - 0x14c4]
add ecx, 4
mov dword [ebp - 0x14c4], ecx
cmp dword [ebp - 0x14e4], 1
jne 0x58f974
mov edx, dword [ebp - 0x14e0]
cmp dword [edx + 4], 3
jne 0x58f974
mov eax, dword [ebp - 0x14e0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x36fc], ecx
mov edx, dword [ebp - 0x14e0]
mov eax, dword [ebp - 0x14e4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x14e0]
push ecx
call fcn.005c2e60
add esp, 4
mov edx, dword [ebp - 0x14e0]
mov eax, dword [ebp - 0x36fc]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0xe8], edx
jmp 0x58f68c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x13c]
and edx, 4
jne 0x58f9df
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d40]
and edx, 0x10
jne 0x58f9df
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov dword [ecx + 0x1d6c], 0
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.005cf500
add esp, 8
test eax, eax
jne 0x58f9df
mov dword [ebp - 0x14d4], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0xe8], 0
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ceca0
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.005cce20
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005ceca0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00590be0
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.00591910
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0xe8], 0
jmp 0x58fa50
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0xe8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe4]
cmp dword [ecx + edx*4], 0
je 0x58fa8b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe8]
imul eax, eax, 0x434
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xf0]
push eax
call fcn.005c2e60
add esp, 4
jmp 0x58fa3b
mov edx, dword [ebp + 8]
mov dword [edx + 0xe8], 0
cmp dword [0x6ad994], 0
je 0x58faa7
call dword [0x6ad994]
cmp dword [ebp - 0x14dc], 0
je 0x58fabf
mov eax, dword [ebp - 0x14dc]
push eax
call fcn.005834f0
add esp, 4
cmp dword [ebp - 4], 0
je 0x58fad1
mov ecx, dword [ebp - 4]
push ecx
call fcn.005834f0
add esp, 4
cmp dword [ebp - 0x14d4], 0
je 0x58fb9f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffffff
je 0x58fb3e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0xffffffc3
je 0x58fb3e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0xfffffff1
je 0x58fb3e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffffe2
je 0x58fb3e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0xffffffa0
je 0x58fb3e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0xffffffc2
je 0x58fb3e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffffef
je 0x58fb3e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0xfffffff0
jne 0x58fb99
cmp dword [ebp + 8], 0
je 0x58fb99
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x58fb65
xor edx, edx
je 0x58fb65
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x3714], ecx
jmp 0x58fb6f
mov dword [ebp - 0x3714], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3714]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00576350
add esp, 0x1c
xor eax, eax
jmp 0x58fc19
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x58fbb8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x80]
jmp 0x58fc19
cmp dword [ebp + 8], 0
je 0x58fc16
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x58fbdf
xor edx, edx
je 0x58fbdf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x3718], ecx
jmp 0x58fbe9
mov dword [ebp - 0x3718], 0xffffffff
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3718]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x168
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.00576350
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret