Function at 0x406be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bc80
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x47500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
push 0x46c584
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
call fcn.00407ac0
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x40]
call fcn.004141e0
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x406c8c
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406c82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb3
push edx
push ecx
call fcn.004197d5
add esp, 8
push 0x54
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00420dc0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp - 0x40]
add esp, 8
push eax
call fcn.00401920
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x98]
call fcn.00406f70
cmp dword [ebp - 0x18], 0
jne 0x406cdf
push 2
push 0x46c9d4
mov ecx, 0x475cc0
call fcn.00407ac0
jmp 0x406d38
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xc8]
call fcn.0040b410
push eax
mov ecx, 0x475cc0
call fcn.00407340
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x406d38
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406d2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb8
push edx
push ecx
call fcn.004197d5
add esp, 8
push 5
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x406d9b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406d5b
xor esi, esi
jmp 0x406d9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
call fcn.00429ee0
mov esi, eax
add esp, 4
test esi, esi
je 0x406d9b
push edi
push ebx
push esi
call fcn.00420f20
add esp, 0xc
push 0
push 0x406180
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push esi
call fcn.004268cb
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x406dd8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406dce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406ebd
push edx
push ecx
call fcn.004197d5
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x406e40
mov edx, dword [eax + 0x14]
mov ecx, eax
mov esi, ecx
cmp edx, 8
jb 0x406e06
mov ecx, dword [eax]
test ecx, ecx
jne 0x406e13
mov ecx, esi
cmp edx, 8
jb 0x406e13
mov ecx, dword [eax]
cmp dword [ebp - 0x7c], 0x10
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x98]
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.004014e0
mov ecx, dword [ebp - 0x48]
add esp, 4
test ecx, ecx
je 0x406e40
push ecx
call fcn.004075f0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x48], 0
call fcn.00401a70
lea ecx, [ebp - 0x98]
call fcn.00407190
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x406e93
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406e89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406ebd
push edx
push ecx
call fcn.004197d5
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419541
mov esp, ebp
pop ebp
ret 0x10
call fcn.00429e8f
call fcn.00429e8f
call fcn.00429e8f
int3