Function at 0x40351c
Capabilities:
Delete file
Get common file path
Get file size
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4327a8
push 0x411f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x2704
call fcn.00410d90
mov eax, dword [0x4407f0]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x2c], eax
push 0x10
xor ebx, ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x40], edi
push str.DllGetVersion
push edi
mov esi, dword [0x4416ac]
call esi
mov dword [ebp - 0x44], eax
push str.ExtensionApiVersion
push edi
call esi
mov dword [ebp - 0x48], eax
push str.MiniDumpWriteDump
push edi
call esi
mov dword [ebp - 0x4c], eax
push str.StackWalk
push edi
call esi
mov dword [ebp - 0x50], eax
push str.SymInitialize
push edi
call esi
mov dword [ebp - 0x54], eax
push str.SymCleanup
push edi
call esi
mov dword [ebp - 0x58], eax
push str.SymGetOptions
push edi
call esi
mov dword [ebp - 0x5c], eax
push str.SymSetOptions
push edi
call esi
mov dword [ebp - 0x60], eax
push str.SymSetSearchPath
push edi
call esi
push str.SymGetModuleInfo
push edi
call esi
mov dword [ebp - 0x64], eax
push str.SymGetModuleBase
push edi
call esi
mov dword [ebp - 0x68], eax
push str.SymFunctionTableAccess
push edi
call esi
mov dword [ebp - 0x6c], eax
push str.SymGetSymFromAddr
push edi
call esi
mov dword [ebp - 0x70], eax
push str.SymGetLineFromAddr
push edi
call esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x54], ebx
je 0x4038ed
push 0x2000
push ebx
lea eax, [ebp - 0x2074]
push eax
call fcn.00411d70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2178]
push eax
push str._NT_SYMBOL_PATH
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call edi
test eax, eax
je 0x4036aa
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
mov esi, 0x432688
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x10
jmp 0x4036af
mov esi, 0x432688
push 0x104
lea eax, [ebp - 0x2178]
push eax
push str._NT_ALTERNATE_SYMBOL_PATH
call edi
test eax, eax
je 0x4036e9
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x10
mov edi, 0x104
push edi
lea eax, [ebp - 0x2178]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40374e
push 0x5c
lea eax, [ebp - 0x2178]
push eax
call fcn.00411d40
mov byte [eax], bl
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411930
add esp, 0x10
test eax, eax
jne 0x40374e
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x10
lea eax, [ebp - 0x2178]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40379c
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411930
pop ecx
pop ecx
test eax, eax
jne 0x40379c
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x10
push edi
lea eax, [ebp - 0x2178]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4037ea
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411930
pop ecx
pop ecx
test eax, eax
jne 0x4037ea
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x10
push edi
lea eax, [ebp - 0x2178]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4038ca
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411930
pop ecx
pop ecx
test eax, eax
jne 0x40386d
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push str.Symbols
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x28
mov esi, str.SRV
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411930
pop ecx
pop ecx
test eax, eax
jne 0x4038ca
push esi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push str.Symbols
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push str.http:__msdl.microsoft.com_download_symbols
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
cmp dword [ebp - 0x60], ebx
je 0x4038de
cmp dword [ebp - 0x5c], ebx
je 0x4038de
call dword [ebp - 0x5c]
or eax, 0x10
push eax
call dword [ebp - 0x60]
push 1
lea eax, [ebp - 0x2074]
push eax
push dword [ebp - 0x24]
call dword [ebp - 0x54]
or dword [ebp - 4], 0xffffffff
jmp 0x403900
mov dword [ebp - 4], 1
cmp dword [ebp - 0x4c], ebx
je 0x403a6f
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x403a6f
mov dword [ebp - 0x217c], ebx
cmp dword [ebp - 0x44], ebx
je 0x40396b
push 0x14
pop esi
push esi
push ebx
lea eax, [ebp - 0x2190]
push eax
call fcn.00411d70
add esp, 0xc
mov dword [ebp - 0x2190], esi
lea eax, [ebp - 0x2190]
push eax
call dword [ebp - 0x44]
test eax, eax
jne 0x40396b
mov ecx, dword [ebp - 0x2184]
mov eax, dword [ebp - 0x2188]
mov edx, dword [ebp - 0x218c]
call fcn.00403506
mov dword [ebp - 0x217c], eax
cmp dword [ebp - 0x48], ebx
je 0x403995
call dword [ebp - 0x48]
mov edx, eax
mov dword [ebp - 0x2194], edx
cmp edx, ebx
je 0x403995
movzx ecx, word [edx + 4]
movzx eax, word [edx + 2]
movzx edx, word [edx]
call fcn.00403506
mov dword [ebp - 0x217c], eax
push 0x14
pop ecx
xor eax, eax
push 3
pop edx
call fcn.00403506
cmp dword [ebp - 0x217c], eax
jb 0x403a6f
push str..dmp
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x104
call fcn.0040337c
pop ecx
pop ecx
test eax, eax
je 0x403a6f
mov dword [ebp - 0x2198], ebx
push ebx
push 0x8000080
push 2
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x2178]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x219c], esi
cmp esi, 0xffffffff
je 0x403a5a
push 0xc
push ebx
lea eax, [ebp - 0x21a8]
push eax
call fcn.00411d70
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x21a8], eax
mov dword [ebp - 0x21a4], edi
mov dword [ebp - 0x21a0], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x21ac], eax
push ebx
push ebx
lea ecx, [ebp - 0x21a8]
push ecx
push eax
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [ebp - 0x4c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2198], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2198], ebx
jne 0x403a6f
lea eax, [ebp - 0x2178]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
jmp 0x403a82
mov dword [ebp - 4], 2
push 0x2000
push ebx
lea eax, [ebp - 0x2074]
push eax
call fcn.00411d70
lea eax, [ebp - 0x2074]
push eax
call fcn.00411130
add esp, 0x10
mov ecx, eax
mov dword [ebp - 0x21b0], ecx
movzx edi, word [ebp - 0x3c]
mov eax, edi
cdq
mov esi, 0x3e8
idiv esi
cdq
push 0xa
pop esi
mov ebx, esi
idiv ebx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
mov eax, edi
cdq
push 0x64
pop ebx
idiv ebx
cdq
mov ebx, esi
idiv ebx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
mov eax, edi
cdq
mov edi, esi
idiv edi
mov edi, edx
cdq
idiv ebx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
lea eax, [edi + 0x30]
mov byte [ebp + ecx - 0x2074], al
inc ecx
mov dword [ebp - 0x21b0], ecx
mov byte [ebp + ecx - 0x2074], 0x2d
inc ecx
mov dword [ebp - 0x21b0], ecx
movzx eax, word [ebp - 0x3a]
cdq
mov edi, esi
idiv edi
mov edi, eax
lea eax, [edi + 0x30]
mov byte [ebp + ecx - 0x2074], al
inc ecx
mov dword [ebp - 0x21b0], ecx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
mov byte [ebp + ecx - 0x2074], 0x2d
inc ecx
mov dword [ebp - 0x21b0], ecx
movzx eax, word [ebp - 0x36]
cdq
mov edi, esi
idiv edi
mov edi, eax
lea eax, [edi + 0x30]
mov byte [ebp + ecx - 0x2074], al
inc ecx
mov dword [ebp - 0x21b0], ecx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
mov byte [ebp + ecx - 0x2074], 0x20
inc ecx
mov dword [ebp - 0x21b0], ecx
movzx eax, word [ebp - 0x34]
cdq
mov edi, esi
idiv edi
mov edi, eax
lea eax, [edi + 0x30]
mov byte [ebp + ecx - 0x2074], al
inc ecx
mov dword [ebp - 0x21b0], ecx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
mov byte [ebp + ecx - 0x2074], 0x3a
inc ecx
mov dword [ebp - 0x21b0], ecx
movzx eax, word [ebp - 0x32]
cdq
mov edi, esi
idiv edi
mov edi, eax
lea eax, [edi + 0x30]
mov byte [ebp + ecx - 0x2074], al
inc ecx
mov dword [ebp - 0x21b0], ecx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
mov byte [ebp + ecx - 0x2074], 0x3a
inc ecx
mov dword [ebp - 0x21b0], ecx
movzx eax, word [ebp - 0x30]
cdq
mov edi, esi
idiv edi
mov edi, eax
lea eax, [edi + 0x30]
mov byte [ebp + ecx - 0x2074], al
inc ecx
mov dword [ebp - 0x21b0], ecx
add edx, 0x30
mov byte [ebp + ecx - 0x2074], dl
inc ecx
mov dword [ebp - 0x21b0], ecx
xor ebx, ebx
mov byte [ebp + ecx - 0x2074], bl
inc ecx
mov dword [ebp - 0x21b0], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x441be8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x21b4], eax
xor edx, edx
push 0x3c
pop ecx
div ecx
mov dword [ebp - 0x21b8], edx
mov dword [ebp - 0x21b4], eax
xor edx, edx
div ecx
mov dword [ebp - 0x21bc], edx
mov dword [ebp - 0x21b4], eax
xor edx, edx
push 0x18
pop ecx
div ecx
mov dword [ebp - 0x21c0], edx
mov dword [ebp - 0x21b4], eax
push str.__up_for
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
mov edi, 0x432614
cmp dword [ebp - 0x21b4], ebx
je 0x403d07
push edi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x21b4]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push str._days
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
cmp dword [ebp - 0x21c0], ebx
je 0x403d44
push edi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x21c0]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push str._hours
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
cmp dword [ebp - 0x21bc], ebx
je 0x403d81
push edi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x21bc]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push str._minutes
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
cmp dword [ebp - 0x21b8], ebx
je 0x403dbe
push edi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x21b8]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push str._seconds
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
push 0x4325e8
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push str.RemotelyAnywhere_5.21.422__Dec__2_2003_14:43:01__r_n
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x94
push ebx
lea eax, [ebp - 0x2254]
push eax
call fcn.00411d70
add esp, 0x1c
mov dword [ebp - 0x2254], 0x94
lea eax, [ebp - 0x2254]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403f05
push str.Windows
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
cmp dword [ebp - 0x2244], 1
jne 0x403e43
push str._9X_
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
cmp dword [ebp - 0x2244], 2
jne 0x403e5f
push str._NT_
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
push esi
push ebx
push dword [ebp - 0x2250]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push 0x432594
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x224c]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push 0x432594
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x2248]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
add esp, 0x40
push 0x432594
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push edi
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
lea eax, [ebp - 0x2240]
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x432590
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x403f10
mov edi, dword [eax]
jmp 0x403f12
xor edi, edi
mov dword [ebp - 0x2258], edi
cmp edi, ebx
je 0x404090
mov eax, dword [edi]
mov ecx, 0xc000001d
cmp eax, ecx
ja 0x403ff3
je 0x403fec
cmp eax, reloc.WSOCK32.dll_closesocket
jb 0x40400f
cmp eax, reloc.WSOCK32.dll_connect
jbe 0x403fe5
cmp eax, 0xc0000005
je 0x403f78
cmp eax, 0xc0000008
je 0x403f6e
cmp eax, 0xc0000017
jne 0x40400f
push str.out_of_memory
jmp 0x404049
push str.invalid_handle
jmp 0x404049
push str.access_violation
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
cmp dword [edi + 0x10], ebx
jbe 0x404057
cmp dword [edi + 0x14], ebx
mov eax, str.__write
jne 0x403fa3
mov eax, str.__read
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
cmp dword [edi + 0x10], 1
jbe 0x403fde
push 0x432548
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x10
push ebx
push dword [edi + 0x18]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
add esp, 0x18
push 0x432544
jmp 0x404049
push str.debug_breakpoint
jmp 0x404049
push str.illegal_instruction
jmp 0x404049
cmp eax, 0xc000008e
je 0x404044
cmp eax, 0xc0000094
je 0x404044
cmp eax, 0xc00000fd
je 0x40403d
cmp eax, 0xe06d7363
je 0x404036
push str.exception_0x
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x10
push ebx
push dword [edi]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
add esp, 0x18
jmp 0x404057
push str.microsoft_c_exception
jmp 0x404049
push str.stack_overflow
jmp 0x404049
push str.division_by_zero
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
push str._at_0x
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x10
mov eax, dword [edi + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push 0x432590
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x20
call fcn.00405676
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2260], ebx
push str.thread_0x
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x10
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
add esp, 0x18
cmp dword [ebp - 0x225c], ebx
je 0x404106
push 0x4324b8
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push dword [ebp - 0x225c]
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x4323f0
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x18
push 0x432590
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x404125
mov edi, dword [eax + 4]
jmp 0x404127
xor edi, edi
mov dword [ebp - 0x2264], edi
cmp edi, ebx
je 0x404423
cmp dword [ebp - 0x50], ebx
je 0x404423
push 0xa4
push ebx
lea eax, [ebp - 0x2308]
push eax
call fcn.00411d70
add esp, 0xc
push 3
pop eax
mov dword [ebp - 0x2300], eax
mov ecx, dword [edi + 0xb8]
mov dword [ebp - 0x2308], ecx
mov dword [ebp - 0x22dc], eax
mov ecx, dword [edi + 0xc4]
mov dword [ebp - 0x22e4], ecx
mov dword [ebp - 0x22e8], eax
mov eax, dword [edi + 0xb4]
mov dword [ebp - 0x22f0], eax
mov dword [ebp - 0x230c], ebx
push ebx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push ebx
push edi
lea eax, [ebp - 0x2308]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push 0x14c
call dword [ebp - 0x50]
test eax, eax
je 0x4041dc
cmp dword [ebp - 0x230c], 0x20
jae 0x4041dc
mov eax, dword [ebp - 0x2308]
cmp eax, ebx
je 0x404192
mov ecx, dword [ebp - 0x230c]
mov dword [ebp + ecx*4 - 0x238c], eax
inc dword [ebp - 0x230c]
jmp 0x404192
cmp dword [ebp - 0x230c], ebx
jbe 0x404423
dec dword [ebp - 0x230c]
mov eax, dword [ebp - 0x230c]
mov edi, dword [ebp + eax*4 - 0x238c]
mov dword [ebp - 0x2390], edi
mov dword [ebp - 0x2394], ebx
mov dword [ebp - 0x2398], ebx
mov dword [ebp - 0x239c], ebx
mov dword [ebp - 0x23a0], ebx
mov dword [ebp - 0x23a4], ebx
push 0x23c
push ebx
lea eax, [ebp - 0x25e0]
push eax
call fcn.00411d70
add esp, 0xc
mov dword [ebp - 0x25e0], 0x23c
cmp dword [ebp - 0x64], ebx
je 0x40426a
lea eax, [ebp - 0x25e0]
push eax
push edi
push dword [ebp - 0x24]
call dword [ebp - 0x64]
test eax, eax
je 0x40426a
lea eax, [ebp - 0x25a4]
push eax
call fcn.00403364
pop ecx
mov dword [ebp - 0x2394], eax
jmp 0x404274
mov dword [ebp - 0x2394], str._unkown_module_
push 0x11c
push ebx
lea eax, [ebp - 0x26fc]
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x26fc]
mov dword [ebp - 0x2700], eax
mov dword [ebp - 0x26fc], 0x18
mov dword [ebp - 0x26f8], edi
mov dword [ebp - 0x26ec], 0x104
cmp dword [ebp - 0x70], ebx
je 0x404333
lea eax, [ebp - 0x26fc]
push eax
lea eax, [ebp - 0x239c]
push eax
push edi
push dword [ebp - 0x24]
call dword [ebp - 0x70]
test eax, eax
je 0x404333
lea eax, [ebp - 0x26e8]
mov dword [ebp - 0x2398], eax
push 0x14
push ebx
lea eax, [ebp - 0x2714]
push eax
call fcn.00411d70
add esp, 0xc
mov dword [ebp - 0x2714], 0x14
cmp dword [ebp - 0x74], ebx
je 0x40433d
lea eax, [ebp - 0x2714]
push eax
lea eax, [ebp - 0x239c]
push eax
push edi
push dword [ebp - 0x24]
call dword [ebp - 0x74]
test eax, eax
je 0x40433d
push dword [ebp - 0x2708]
call fcn.00403364
pop ecx
mov dword [ebp - 0x23a0], eax
mov eax, dword [ebp - 0x270c]
mov dword [ebp - 0x23a4], eax
jmp 0x40433d
mov dword [ebp - 0x2398], str._unknown_function_
push 0x432490
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push dword [ebp - 0x2394]
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push str.__0x
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x10
push ebx
push edi
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push str.__:
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push dword [ebp - 0x2398]
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x38
cmp dword [ebp - 0x23a0], ebx
je 0x40440b
push 0x43247c
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push dword [ebp - 0x23a0]
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push 0x432478
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
push esi
push ebx
push dword [ebp - 0x23a4]
lea eax, [ebp - 0x2074]
push eax
call fcn.00403325
push 0x432544
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
add esp, 0x30
push 0x432590
lea eax, [ebp - 0x2074]
push eax
call fcn.00411c50
pop ecx
pop ecx
jmp 0x4041dc
push str..txt
lea eax, [ebp - 0x2178]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x104
call fcn.0040337c
pop ecx
pop ecx
test eax, eax
je 0x4044bc
push ebx
push 0x8000080
push 4
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x2178]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x2718], esi
cmp esi, 0xffffffff
je 0x4044bc
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4044b5
mov dword [ebp - 0x271c], ebx
mov eax, dword [ebp - 0x271c]
cmp byte [ebp + eax - 0x2074], bl
je 0x404499
inc dword [ebp - 0x271c]
jmp 0x404482
push ebx
lea eax, [ebp - 0x271c]
push eax
push dword [ebp - 0x271c]
lea eax, [ebp - 0x2074]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
jmp 0x4044cf
mov dword [ebp - 4], 3
cmp dword [ebp - 0x58], ebx
je 0x4044ea
push dword [ebp - 0x24]
call dword [ebp - 0x58]
jmp 0x4044ea
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp + 4]
call fcn.00410a94
pop edi
pop esi
pop ebx
leave
ret 4