Function at 0x4e9e50
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x555f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
mov eax, dword [0x5ab980]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x474], ebx
call fcn.00516fef
lea ecx, [esp + 0x18]
mov byte [esp + 0x474], 1
call fcn.00516a49
mov ecx, dword [0x5ab980]
mov dword [esp + 0x28], ecx
mov ebp, vtable.CFileException.0
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x478], 3
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xffffffff
call fcn.00512a6d
mov edx, dword [0x5ab980]
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x47c]
mov byte [esp + 0x474], 5
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jne 0x4e9f10
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 6
jmp 0x4ea15c
push str.C:ASDLog.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x2e
mov ecx, edi
call fcn.00512dab
test eax, eax
jle 0x4ea047
lea ecx, [esp + 0x14]
push edi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x478], 7
call fcn.00512a1d
lea ecx, [esp + 0x40]
mov byte [esp + 0x474], 5
call fcn.005128e4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x20
push ecx
lea ecx, [esp + 0x38]
call fcn.005171a1
test eax, eax
jne 0x4e9ff0
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x4e9fce
cmp eax, 3
je 0x4e9fce
push ebx
lea edx, [esp + 0x70]
push 0x400
push edx
lea ecx, [esp + 0x24]
call fcn.00518b8f
push ebx
lea eax, [esp + 0x70]
push str.File_Error
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 8
jmp 0x4ea15c
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 0xa
jmp 0x4ea15c
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004ea5d0
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005173bc
push ecx
lea eax, [esp + 0x14]
mov edx, esp
mov dword [esp + 0x40], esp
push eax
push str._nLoaded__
push edx
call fcn.00512bed
mov ecx, esi
call fcn.004e9bc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 9
jmp 0x4ea328
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s.XML
push eax
call fcn.0050e6c7
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push 0x20
push edx
lea ecx, [esp + 0x38]
call fcn.005171a1
test eax, eax
jne 0x4ea2d6
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x4ea0d4
cmp eax, 3
je 0x4ea0d4
push ebx
lea eax, [esp + 0x70]
push 0x400
push eax
lea ecx, [esp + 0x24]
call fcn.00518b8f
push ebx
lea ecx, [esp + 0x70]
push str.File_Error
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 0xb
jmp 0x4ea15c
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_s.RSL
push ecx
call fcn.0050e6c7
mov eax, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0x18]
lea ecx, [esp + 0x2c]
push edx
push 0x20
push eax
call fcn.005171a1
test eax, eax
jne 0x4ea282
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x4ea191
cmp eax, 3
je 0x4ea191
push ebx
lea ecx, [esp + 0x70]
push 0x400
push ecx
lea ecx, [esp + 0x24]
call fcn.00518b8f
push ebx
lea edx, [esp + 0x70]
push str.File_Error
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 0xd
lea ecx, [esp + 0x28]
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x474], bl
call fcn.005170e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], 0xffffffff
call fcn.005128e4
or eax, 0xffffffff
jmp 0x4ea357
push 0x400
lea ecx, [esp + 0x48]
call fcn.0051c058
mov edi, dword [edi]
push 0x59e060
push edi
push ebx
mov byte [esp + 0x480], 0xf
or ebp, 0xffffffff
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x4ea21c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
mov dword [esp + 0x40], eax
jbe 0x4ea21c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4ea21c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x4ea21c
mov ecx, dword [esp + 0x40]
push ebx
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.0051c0e0
lea edx, [esp + 0x44]
mov ecx, esi
push edx
call fcn.004e9cb0
push ecx
mov ebp, eax
mov ecx, esp
mov dword [esp + 0x40], esp
push str._nLoaded___Internal_Compiled_RSL
call fcn.00512952
mov ecx, esi
call fcn.004e9bc0
lea ecx, [esp + 0x44]
mov byte [esp + 0x474], 5
call fcn.0051c11d
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], vtable.CFileException.0
lea ecx, [esp + 0x28]
mov byte [esp + 0x474], 0x10
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x474], bl
call fcn.005170e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], 0xffffffff
call fcn.005128e4
mov eax, ebp
jmp 0x4ea357
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004e9cb0
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005173bc
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
push str._nLoaded__
push ecx
call fcn.00512bed
mov ecx, esi
call fcn.004e9bc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 0xe
jmp 0x4ea328
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004ea5d0
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005173bc
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
push str._nLoaded__
push ecx
call fcn.00512bed
mov ecx, esi
call fcn.004e9bc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 4
call fcn.005128e4
mov dword [esp + 0x18], ebp
mov byte [esp + 0x474], 0xc
lea ecx, [esp + 0x28]
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x474], bl
call fcn.005170e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], 0xffffffff
call fcn.005128e4
mov eax, edi
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x468
ret 4