Function at 0x413cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x463530
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4895f0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4895f0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
xor ebp, ebp
call fcn.00435984
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x98], eax
mov dword [esp + 0x18], eax
call fcn.00435984
movzx edx, word [esp + 0xa4]
push edi
push edx
push esi
mov byte [esp + 0xa4], 1
mov dword [ebx], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x413e6b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x413e6b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x413e6b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x413e6b
mov esi, dword [esp + 0x14]
mov ecx, 0x12
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x20]
cmp dword [ecx], eax
jae 0x413dee
mov dword [ecx], eax
or ebp, 0xffffffff
jmp 0x413e65
cmp dword [esp + 0x7c], 0
je 0x413e60
mov edi, dword [esp + 0x88]
push edi
call fcn.004282da
mov esi, eax
add esp, 4
test esi, esi
je 0x413e6b
mov ecx, dword [esp + 0x14]
push edi
add ecx, 0x48
push ecx
push esi
call fcn.0044d2f0
mov edx, dword [esp + 0x8c]
push edx
push edi
push esi
call fcn.00413a80
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x413e6b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
push edi
push esi
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], eax
call fcn.00424ce0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x413e6b
push esi
call fcn.004282df
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x7c]
mov dword [ebx], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 0
call fcn.00435a80
lea ecx, [esp + 0x34]
mov dword [esp + 0x98], 0xffffffff
call fcn.00435a80
mov eax, ebp
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0044ce74
add esp, 0x88
ret 0x18

Function at 0x414590
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
lea eax, [esp + 0x10]
push eax
push 0x200e0
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
call edi
test esi, esi
je 0x4145e2
mov ecx, dword [esp + 0x10]
push 1
push str.SeDebugPrivilege
push ecx
mov ecx, ebp
call fcn.00413c80
test eax, eax
je 0x4145e2
mov ebx, 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4145f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret