Function at 0x45f8935c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x45fba2cc
call fcn.45fb1aab
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], ecx
xor ebx, ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x45f8943a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
inc edi
mov dword [ebp - 0x42c], edi
mov eax, edi
cdq
push ebx
push 2
push edx
push eax
call fcn.45fb1c40
cmp edx, ebx
jg 0x45f893f0
jl 0x45f893d9
cmp eax, 0x7fffffff
ja 0x45f893f0
push edx
push eax
lea ecx, [ebp - 0x42c]
call fcn.45e26fd8
pop ecx
pop ecx
mov edi, dword [ebp - 0x42c]
jmp 0x45f893f5
mov eax, 0x80070057
cmp eax, ebx
jl 0x45f8943a
cmp edi, 0x400
jg 0x45f8941a
push edi
call fcn.45e26f23
pop ecx
test al, al
je 0x45f8941a
mov eax, edi
call fcn.45fb13c0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x45f89426
push edi
lea esi, [ebp - 0x428]
call fcn.45e26ee3
push 3
push edi
push dword [ebp - 0x424]
mov esi, eax
call fcn.45e26f9e
cmp eax, ebx
jne 0x45f89478
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x45f89456
lea eax, [ebp - 0x418]
call fcn.45f8e806
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x428]
call fcn.45e270ac
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.45fb1b16
ret 0x10
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x424], edi
cmp edi, ebx
jne 0x45f8949a
call fcn.45e229b1
mov esi, eax
jmp 0x45f895b9
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x45f894bd
call fcn.45e229b1
jmp 0x45f895ab
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
je 0x45f894b3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x45f8951d
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x45f89502
lea eax, [ebp - 0x418]
call fcn.45f8e806
mov edi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x428]
call fcn.45e270ac
mov eax, edi
jmp 0x45f8946a
mov byte [ebp - 4], 2
xor edi, edi
inc edi
push edi
push eax
call fcn.45e74927
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x45f89543
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.45f8e815
jmp 0x45f8954f
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], edi
jmp 0x45f89569
cmp dword [ebp - 0x418], ebx
jne 0x45f89578
mov esi, 0x8007000e
jmp 0x45f895ad
push esi
push dword [ebp - 0x41c]
push esi
push dword [ebp - 0x418]
call fcn.45e27040
add esp, 0x10
mov eax, dword [ebp - 0x418]
mov byte [eax + esi], bl
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x434]
call fcn.45f8a5e8
mov esi, eax
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x45f895d5
lea eax, [ebp - 0x418]
call fcn.45f8e806
mov edi, esi
jmp 0x45f89507