Function at 0x5b7b90
Capabilities:
Get common file path
Get thread local storage value
Write file on windows

Disassembly:
mov eax, dword [0x6eecc0]
sub esp, 0x310
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5b8804
mov ecx, dword [eax + 0xb38]
test ecx, ecx
je 0x5b8804
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
push 2
push 0x6c
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov al, byte [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x5b7c06
lea eax, [esp + 0x10c]
push 0x6723a0
push eax
call esi
lea ecx, [esp + 8]
lea edx, [esp + 0x10c]
push ecx
push edx
call esi
push 0
push 0x80
push 4
push 0
push 3
lea eax, [esp + 0x120]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x5b8804
push ebx
push ebp
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x10]
push 0
push ecx
push 2
push 0x67522c
push esi
call ebx
lea edx, [esp + 0x21c]
push edx
call fcn.005b7620
add esp, 4
lea eax, [esp + 0x21c]
push eax
push 2
push 0xc0
call fcn.005bf5c0
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edi, dword [esp + 0x324]
mov edx, dword [edi + 4]
push edx
push 2
push 0xc1
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 8]
push ecx
push 2
push 0xc2
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 8]
push 0x104
push eax
push esi
call fcn.005b05f0
mov ecx, dword [edi + 0xc]
add esp, 0xc
push ecx
push 2
push 0xc3
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0xc]
push 0x4e20
push eax
push esi
call fcn.005b05f0
mov ecx, dword [edi + 0x10]
add esp, 0xc
push ecx
push 2
push 0xc4
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x14]
push eax
push 2
push 0xc5
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call ebx
mov edx, dword [edi + 0x18]
push edx
push 2
push 0xc6
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x1c]
push ecx
push 2
push 0xc7
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x20]
push eax
push 2
push 0xc8
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x24]
push edx
push 2
push 0xc9
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x28]
push ecx
push 2
push 0xca
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x2c]
push eax
push 2
push 0xcb
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x30]
push edx
push 2
push 0xcc
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x34]
push ecx
push 2
push 0xcd
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x34]
push 0x104
push eax
push esi
call fcn.005b05f0
mov ecx, dword [edi + 0x38]
add esp, 0xc
push ecx
push 2
push 0xce
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x3c]
push eax
push 2
push 0xcf
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x40]
push edx
push 2
push 0xd0
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x44]
push ecx
push 2
push 0xd1
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x48]
push eax
push 2
push 0xd2
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x4c]
push edx
push 2
push 0xd3
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x50]
push ecx
push 2
push 0xd4
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x54]
push eax
push 2
push 0xd5
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x58]
push edx
push 2
push 0xd6
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x58]
push 0x1000
push ecx
push esi
call fcn.005b05f0
mov edx, dword [edi + 0x5c]
add esp, 0xc
push edx
push 2
push 0xd7
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x60]
push ecx
push 2
push 0xd8
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x60]
push 0x20
push eax
push esi
call fcn.005b05f0
mov ecx, dword [edi + 0x64]
add esp, 0xc
push ecx
push 2
push 0xd9
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x68]
push eax
push 2
push 0xda
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x6c]
push edx
push 2
push 0xdb
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x6c]
push 0x1000
push ecx
push esi
call fcn.005b05f0
mov edx, dword [edi + 0x70]
add esp, 0xc
push edx
push 2
push 0xdc
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x74]
push ecx
push 2
push 0xdd
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x74]
push 0x1000
push eax
push esi
call fcn.005b05f0
mov ecx, dword [edi + 0x78]
add esp, 0xc
push ecx
push 2
push 0xde
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x7c]
push eax
push 2
push 0xdf
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x80]
push edx
push 2
push 0xe0
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0x84]
push ecx
push 2
push 0xe1
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x84]
push 0x1000
push eax
push esi
call fcn.005b05f0
mov ecx, dword [edi + 0x8c]
add esp, 0xc
push ecx
push 2
push 0xe2
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0x90]
push eax
push 2
push 0xe3
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x90]
push 0x41
push edx
push esi
call fcn.005b05f0
mov eax, dword [edi + 0x94]
add esp, 0xc
push eax
push 2
push 0xe4
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0x98]
push edx
push 2
push 0xe5
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
xor ecx, ecx
mov cx, word [edi + 0x9c]
push ecx
push 2
push 0xe6
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
xor eax, eax
mov ax, word [edi + 0x9e]
push eax
push 0
push 0xe7
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0xa0]
push edx
push 0
push 0xe8
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0xa4]
push ecx
push 0
push 0xe9
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0xb0]
push eax
push 0
push 0xea
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0xb0]
push 0x400
push edx
push esi
call fcn.005b05f0
mov eax, dword [edi + 0xa8]
add esp, 0xc
push eax
push 0
push 0xeb
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [edi + 0xac]
push edx
push 0
push 0xec
call fcn.005bf5c0
add esp, 8
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [edi + 0xb4]
push ecx
push 0
push 0xed
call fcn.005bf5c0
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x1c]
push eax
push edx
push esi
call ebx
mov eax, dword [edi + 0xb8]
push eax
push 0
push 0xee
call fcn.005bf5c0
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call ebx
lea edx, [esp + 0x10]
push 0
push edx
push 2
push 0x67522c
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x310
ret