Function at 0x4638a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4e2204]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3b0]
push ebx
mov ebx, dword [ebp + 0x3ac]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x64], esi
cmp ebx, esi
je 0x463983
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.004a6c00
mov edi, eax
add eax, 0x80000000
adc edx, esi
mov dword [ebp - 0x70], edx
jne 0x46397d
cmp eax, 0xffffffff
ja 0x46397d
cmp edi, 0x400
jg 0x46392f
push edi
call fcn.00462970
add esp, 4
test al, al
je 0x46392f
mov eax, edi
call fcn.004a1730
mov eax, esp
mov dword [ebp - 0x70], eax
jmp 0x46395a
or eax, 0xffffffff
sub eax, edi
cmp eax, 8
jb 0x463a43
lea eax, [edi + 8]
push eax
call fcn.0049ccea
add esp, 4
test eax, eax
je 0x46397d
mov dword [eax], esi
mov esi, eax
add eax, 8
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], eax
test eax, eax
je 0x46397d
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x70]
jmp 0x46397f
xor eax, eax
test eax, eax
jne 0x4639b2
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x64], ecx
je 0x463993
lea eax, [ebp - 0x64]
call fcn.0046b1c0
test esi, esi
je 0x4639a8
mov eax, esi
mov esi, dword [esi]
push eax
call fcn.0049cc0d
add esp, 4
test esi, esi
jne 0x463997
mov eax, 0x8007000e
jmp 0x463ac9
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
jne 0x4639cf
call fcn.00462bc0
mov edi, eax
jmp 0x463aa2
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x68]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4639ee
call fcn.00462bc0
jmp 0x463a99
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x463a07
call fcn.00462bc0
jmp 0x463a99
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x463a3a
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x64], ecx
je 0x463a28
lea eax, [ebp - 0x64]
call fcn.0046b1c0
lea esi, [ebp - 0x6c]
call fcn.0046ab60
mov eax, 0x8007000e
jmp 0x463ac9
xor ecx, ecx
ja 0x463a43
cmp eax, 0xffffffff
jbe 0x463a4d
push 0x80070057
call fcn.00462ab0
cmp eax, 0x400
jbe 0x463a6b
lea edx, [ebp - 0x64]
push edx
call fcn.0046b420
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x463a71
mov edi, 0x8007000e
jmp 0x463a9b
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x68]
push edi
push eax
mov eax, edi
call fcn.00462ba0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 0x3b4]
add esp, 8
mov byte [eax + edi], 0
push ecx
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x80]
call fcn.00464b50
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x64], edx
je 0x463ab2
lea eax, [ebp - 0x64]
call fcn.0046b1c0
test esi, esi
je 0x463ac7
mov eax, esi
mov esi, dword [esi]
push eax
call fcn.0049cc0d
add esp, 4
test esi, esi
jne 0x463ab6
mov eax, edi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
call fcn.0049ca20
add ebp, 0x3a4
mov esp, ebp
pop ebp
ret 0xc