Function at 0x4657da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d39a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e0
mov dword [ebp - 0x2ec], ecx
lea ecx, [ebp - 0x88]
call fcn.0046b128
mov dword [ebp - 4], 0
push 0x40
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004a8166
mov byte [ebp - 4], 1
push 0x400
lea ecx, [ebp - 0x40]
call fcn.004b1c84
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00468b10
add esp, 8
test eax, eax
jne 0x465876
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004b1d49
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00468110
jmp 0x465c77
push 0
push 0x1000
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004ad214
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00469d55
lea ecx, [ebp - 0xd0]
call fcn.004ad378
mov dword [ebp - 0x8c], 0x200
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x2d0]
push eax
call fcn.00477bbe
add esp, 8
test eax, eax
je 0x4658fa
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00430bb0
push eax
lea edx, [ebp - 0x2d0]
push edx
call fcn.00490170
add esp, 0xc
test eax, eax
je 0x465987
lea ecx, [ebp - 0x2d4]
call fcn.00402dc0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2d4]
push eax
push 0x8045
call fcn.00469044
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00430bb0
push eax
mov ecx, dword [0x50bd20]
mov edx, dword [ecx]
mov ecx, dword [0x50bd20]
call dword [edx + 0xc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.004a6f4b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.004ad2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004b1d49
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00468110
jmp 0x465c77
push str.registrykey
push 0xf3
mov eax, dword [0x50bd30]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x50bd30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x50bd30]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.004784c8
add esp, 0x10
test eax, eax
jne 0x465a85
lea ecx, [ebp - 0x2d8]
call fcn.00402dc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2d8]
push ecx
push 0xe6
call fcn.00469044
add esp, 8
lea ecx, [ebp - 0x2d8]
call fcn.00430bb0
push eax
mov edx, dword [0x50bd20]
mov eax, dword [edx]
mov ecx, dword [0x50bd20]
call dword [eax + 0xc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d8]
call fcn.004a6f4b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.004ad2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004b1d49
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00468110
jmp 0x465c77
lea ecx, [ebp - 0x64]
call fcn.00402de0
push eax
lea ecx, [ebp - 0x64]
call fcn.00430bb0
push eax
lea ecx, [ebp - 0x58]
call fcn.00430bb0
push eax
call fcn.00477cdc
add esp, 0xc
test eax, eax
je 0x465bef
push 3
push str.regist_success
mov ecx, dword [0x50bd20]
mov edx, dword [ecx]
mov ecx, dword [0x50bd20]
call dword [edx + 8]
push 2
lea ecx, [ebp - 0x58]
call fcn.00430bb0
push eax
mov eax, dword [0x50bd20]
mov edx, dword [eax]
mov ecx, dword [0x50bd20]
call dword [edx + 8]
push 2
lea ecx, [ebp - 0x64]
call fcn.00430bb0
push eax
mov eax, dword [0x50bd20]
mov edx, dword [eax]
mov ecx, dword [0x50bd20]
call dword [edx + 8]
call fcn.00466100
test eax, eax
je 0x465b9e
lea ecx, [ebp - 0x2dc]
call fcn.00402dc0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2dc]
push eax
push 0x801c
call fcn.00469044
add esp, 8
lea ecx, [ebp - 0x2dc]
call fcn.00430bb0
push eax
mov ecx, dword [0x50bd20]
mov edx, dword [ecx]
mov ecx, dword [0x50bd20]
call dword [edx + 0xc]
mov dword [ebp - 0x2e0], 1
push 0
lea eax, [ebp - 0x2e0]
push eax
sub esp, 0xc
mov ecx, esp
mov edx, dword [0x4dfa20]
mov dword [ecx], edx
mov eax, dword [0x4dfa24]
mov dword [ecx + 4], eax
mov dx, word [0x4dfa28]
mov word [ecx + 8], dx
mov eax, dword [0x50bd1c]
mov edx, dword [eax]
mov ecx, dword [0x50bd1c]
call dword [edx]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2dc]
call fcn.004a6f4b
jmp 0x465bed
lea ecx, [ebp - 0x2e4]
call fcn.00402dc0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2e4]
push eax
push 0x8021
call fcn.00469044
add esp, 8
lea ecx, [ebp - 0x2e4]
call fcn.00430bb0
push eax
mov ecx, dword [0x50bd20]
mov edx, dword [ecx]
mov ecx, dword [0x50bd20]
call dword [edx + 0xc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e4]
call fcn.004a6f4b
jmp 0x465c3e
lea ecx, [ebp - 0x2e8]
call fcn.00402dc0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2e8]
push eax
push 0xe6
call fcn.00469044
add esp, 8
lea ecx, [ebp - 0x2e8]
call fcn.00430bb0
push eax
mov ecx, dword [0x50bd20]
mov edx, dword [ecx]
mov ecx, dword [0x50bd20]
call dword [edx + 0xc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
call fcn.004a6f4b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.004ad2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004b1d49
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00468110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4