Function at 0x408bd3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x47c224
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b4294]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x414]
xor ebx, ebx
mov eax, dword [ebp + 0x410]
mov esi, ebx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x408dd4
push eax
call fcn.0045a3d1
inc eax
push 2
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407380
add esp, 0x10
test eax, eax
js 0x408dd1
mov edi, dword [ebp - 0x18]
cmp edi, 0x400
jg 0x408c8e
push edi
call fcn.0040a03d
pop ecx
test al, al
je 0x408c8e
mov eax, edi
call fcn.0044f700
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x408c9a
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407e38
mov esi, dword [ebp - 0x1c]
push 3
push edi
push dword [ebp - 0x14]
push eax
call fcn.00407ffa
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408dd1
push 0x60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x408ce5
push 2
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x408ce5
call fcn.00407fd1
mov ebx, eax
jmp 0x408daa
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x408d03
call fcn.00407fd1
jmp 0x408d9d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x408cf9
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x408d2d
mov ebx, 0x8007000e
jmp 0x408d9f
push 1
push ecx
mov byte [ebp - 4], 2
call fcn.004073d6
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x408d4d
push eax
lea ecx, [ebp]
call fcn.00407e62
jmp 0x408d63
lea eax, [ebp + 4]
mov dword [ebp], eax
jmp 0x408d63
cmp dword [ebp], 0
mov dword [ebp - 4], 1
je 0x408d26
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push eax
push dword [ebp]
call fcn.0040a183
mov eax, dword [ebp]
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x41c]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x2c]
push dword [ebp]
call fcn.00408aab
mov ebx, eax
test edi, edi
je 0x408daa
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x408dba
lea ecx, [ebp]
call fcn.0040829c
test esi, esi
je 0x408dcd
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.00454bf6
pop ecx
test edi, edi
jne 0x408dbe
mov eax, ebx
jmp 0x408dfb
mov ebx, dword [ebp]
lea eax, [ebp + 4]
cmp ebx, eax
je 0x408de3
lea ecx, [ebp]
call fcn.0040829c
test esi, esi
je 0x408df6
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.00454bf6
pop ecx
test edi, edi
jne 0x408de7
mov eax, 0x8007000e
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0044f332
add ebp, 0x408
leave
ret 0x10