Function at 0x459a65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 4], 0xfffffff6
mov dword [ebp - 0x90], 0x71ebdc59
mov dword [ebp - 0x24], 0
jmp 0x459a8f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x459aa5
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xec], 0x42575e7e
jmp 0x459a88
mov dword [ebp - 4], 0
jmp 0x459ab5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 6
jle 0x459ef8
mov dword [ebp - 8], 3
push 2
lea ecx, [ebp - 0xe0]
call fcn.004016e3
mov dword [ebp - 0x10], 0xaf3922cb
mov dword [ebp - 0x34], 0
jmp 0x459aea
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x459b06
push dword [ebp - 0x34]
lea ecx, [ebp - 0xe0]
call fcn.004012f8
mov dword [eax], 1
jmp 0x459ae3
mov dword [ebp - 8], 0
jmp 0x459b16
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffffe
jle 0x459ee8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0xc], 0xd1d8475
mov dword [ebp - 0xb8], 2
mov dword [ebp - 0x38], 0
jmp 0x459b4f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x459b62
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x60], 0xd35da2a0
jmp 0x459b48
mov eax, dword [ebp - 4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x60], ecx
cmp dword [ebp - 0x7c], 0xffffffff
jle 0x459b8d
mov dword [ebp - 0x54], 1
jmp 0x459b91
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jne 0x459bb1
mov dword [ebp - 0xa0], 1
jmp 0x459bb8
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
push 0
lea ecx, [ebp - 0xe0]
call fcn.004012f8
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x5c], eax
jl 0x459bf1
cmp dword [ebp - 8], 0
je 0x459bf1
mov dword [ebp - 0xa8], 1
jmp 0x459bf8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jl 0x459c18
mov eax, 0xd40a7fc
test eax, eax
je 0x459c18
mov dword [ebp - 0x64], 1
jmp 0x459c1c
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
je 0x459c39
mov eax, 0xe65dd4d1
test eax, eax
je 0x459c39
mov dword [ebp - 0xac], 1
jmp 0x459c40
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
je 0x459c5d
mov dword [ebp - 0xa4], 1
jmp 0x459c64
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x1949
jl 0x459c79
mov dword [ebp - 0x6c], 1
jmp 0x459c7d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x6c], eax
jne 0x459c91
mov dword [ebp - 0x8c], 1
jmp 0x459c98
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x8c], eax
jge 0x459cac
mov dword [ebp - 0x74], 1
jmp 0x459cb0
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x74], eax
jge 0x459cc4
mov dword [ebp - 0x9c], 1
jmp 0x459ccb
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
ja 0x459cdd
mov dword [ebp - 0x4c], 1
jmp 0x459ce1
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x374c7af5
jg 0x459cf6
mov dword [ebp - 0x94], 1
jmp 0x459cfd
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x94]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jle 0x459d20
mov dword [ebp - 0x84], 1
jmp 0x459d27
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x84], eax
jle 0x459e51
mov dword [ebp - 0x2c], 0xa746c20b
cmp dword [ebp - 4], 0
je 0x459d59
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
je 0x459d59
mov dword [ebp - 0x68], 1
jmp 0x459d5d
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x68]
jle 0x459d6e
mov dword [ebp - 0x70], 1
jmp 0x459d72
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x70], eax
jg 0x459d83
mov dword [ebp - 0x78], 1
jmp 0x459d87
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x78]
jg 0x459d98
mov dword [ebp - 0x80], 1
jmp 0x459d9c
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x80]
jge 0x459db0
mov dword [ebp - 0xbc], 1
jmp 0x459db7
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x10]
cmp eax, 0x7eab
jg 0x459dda
mov dword [ebp - 0x88], 1
jmp 0x459de1
and dword [ebp - 0x88], 0
imul eax, dword [ebp - 0x88], 0xfffb
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x459e09
cmp dword [ebp - 0x14], 0
jne 0x459e09
and dword [ebp - 0x98], 0
jmp 0x459e13
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xb8]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xec], eax
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x459e4f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
jmp 0x459eb5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp + eax - 0xec], ecx
mov dword [ebp - 0x10], 1
jmp 0x459e77
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x459eb5
mov dword [ebp - 0xc], 1
jmp 0x459e8d
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x459eb3
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x459eb1
push 0x2330
push 0x141
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x459e86
jmp 0x459e70
mov dword [ebp - 0xc], 0
jmp 0x459ec5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
je 0x459ee3
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x459ee1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x459ebe
jmp 0x459b0f
lea ecx, [ebp - 0xe0]
call fcn.004017b5
jmp 0x459aae
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xec], 0x2e653d3a
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xb0], 0x9fb37b04
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x459f2e
push 0
call dword [sym.imp.USER32.dll_CharUpperW]
mov dword [ebp - 0x20], 0xfffffff1
jmp 0x459f3e
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe3
jl 0x459fbe
mov dword [ebp - 0xc0], 0xfffffff9
mov dword [ebp - 0x28], 0
jmp 0x459f5e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x459f74
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x120], 0x5912491e
jmp 0x459f57
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x20], eax
jl 0x459f88
mov dword [ebp - 0x48], 1
jmp 0x459f8c
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x120], ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x459fb9
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
jmp 0x459f37
push 0x7907
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0x6242
call fcn.0045c8c5
add esp, 0x18
mov dword [ebp - 0x3c], 0xd4e06482
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0xf0], 0xccc89593
mov dword [ebp - 0x58], 0x3785
mov dword [ebp - 0x3c], 0xffffffe3
jmp 0x45a011
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xd
je 0x45a0ee
mov dword [ebp - 0xd4], 0x25b0e446
mov dword [ebp - 0xd0], 0x25b0e446
mov dword [ebp - 0xcc], 0x25b0e446
mov dword [ebp - 0xc8], 0x25b0e446
lea ecx, [ebp - 0x3d]
call fcn.004017d1
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x134]
call fcn.004017d4
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x12c]
call fcn.0040178f
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x108], 5
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x118], 0x7412df3d
mov dword [ebp - 0x114], 0x7412df3d
mov dword [ebp - 0x110], 0x7412df3d
mov dword [ebp - 0x10c], 0x7412df3d
mov dword [ebp - 0x30], 0
jmp 0x45a0c8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x45a0de
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
jmp 0x45a0c1
lea ecx, [ebp - 0x12c]
call fcn.004017b5
jmp 0x45a00a
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
mov esp, ebp
pop ebp
ret