Function at 0x463d7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4641d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
mov eax, ebx
call fcn.00404ef0
mov esi, eax
push esi
call sub.kernel32.dll_BeginUpdateResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4641ba
xor eax, eax
push ebp
push 0x4641b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417044]
call fcn.00403c74
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x46418b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x416c28]
call fcn.00403c74
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x46416e
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
push 0
push esi
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x464158
xor eax, eax
push ebp
push 0x464151
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x24]
push eax
push 0x463c7c
push 0x10
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_EnumResourceNamesA
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x463f42
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x38], 0
jne 0x463e91
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
jmp 0x463eaa
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
call fcn.00404ef0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x28]
push eax
push 0x463c64
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_EnumResourceLanguagesA
test eax, eax
jne 0x463ee7
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
jmp 0x4641ba
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x463f36
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 0x28]
call fcn.00418f90
mov esi, eax
push 0
push 0
push esi
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UpdateResourceA
test eax, eax
jne 0x463f32
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
jmp 0x4641ba
inc edi
dec ebx
jne 0x463ef5
inc dword [ebp - 0xc]
dec dword [ebp - 0x34]
jne 0x463e6d
push 2
push 0
mov eax, dword [ebp - 4]
call fcn.00404ef0
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46413a
xor eax, eax
push ebp
push 0x464133
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x24]
push eax
push 0x463c7c
push 0x10
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_EnumResourceNamesA
test eax, eax
jne 0x463fad
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
jmp 0x4641ba
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46411c
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x40], 0
jne 0x463fed
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
jmp 0x464006
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.00404ef0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x28]
push eax
push 0x463c64
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_EnumResourceLanguagesA
test eax, eax
jne 0x464048
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
jmp 0x4641ba
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x464110
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 0x28]
call fcn.00418f90
mov esi, eax
push esi
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindResourceExA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46409d
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
jmp 0x4641ba
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4640d1
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
call fcn.004044f0
jmp 0x4641ba
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 0x30]
push eax
push esi
mov eax, dword [ebp - 0x2c]
push eax
push 0x10
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
inc edi
dec ebx
jne 0x46405a
inc dword [ebp - 0xc]
dec dword [ebp - 0x34]
jne 0x463fc9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46413a
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464158
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464175
mov eax, dword [ebp - 0x28]
call fcn.00403ca4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4641dc
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00404a54
ret