Function at 0x4c1ef0
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d9a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x144], ebx
call fcn.005cb95c
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
je 0x4c2b61
mov eax, dword [ecx]
call dword [eax + 0xc0]
mov ecx, eax
call fcn.005c891c
cmp eax, ebx
je 0x4c2b61
mov edi, dword [eax + 0x3c]
call fcn.005cb95c
mov esi, dword [eax + 4]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x4c], esi
call fcn.0041b1a0
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 1
call fcn.0041b1a0
lea ecx, [esp + 0x84]
mov byte [esp + 0x144], 2
call fcn.0041b1a0
lea ecx, [esp + 0x90]
mov byte [esp + 0x144], 3
call fcn.0041b1a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x144], 4
call fcn.0041b1a0
add esi, 0x11c
lea ecx, [esp + 0x68]
push esi
mov byte [esp + 0x148], 5
call fcn.00401750
lea ecx, [esp + 0x6c]
mov byte [esp + 0x144], 6
push ecx
lea ecx, [esp + 0xa0]
call fcn.00405c40
push 0x3a
lea ecx, [esp + 0xa0]
call fcn.00405b40
lea edx, [esp + 0x90]
lea ecx, [esp + 0x9c]
push edx
call fcn.004018e0
mov eax, dword [esp + 0x78]
cmp word [eax], bx
je 0x4c2022
push 0x5c
lea ecx, [esp + 0xa0]
call fcn.00405b40
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xa0]
call fcn.004018e0
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x5c]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
call fcn.00401510
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x5c]
mov cx, word [edx]
cmp cx, bx
je 0x4c2063
add edx, 2
mov word [eax], cx
add eax, 2
mov cx, word [edx]
cmp cx, bx
jne 0x4c2052
mov word [eax], bx
mov esi, dword [esp + 0x5c]
sub eax, esi
sar eax, 1
mov dword [esp + 0x64], eax
push 0x20
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 7
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
call fcn.00401510
lea ecx, [edi + 0x58]
mov byte [esp + 0x144], 8
mov dword [esp + 0x50], ecx
call fcn.0054ae20
mov edi, eax
cmp edi, ebx
jne 0x4c211b
mov eax, dword [esp + 0x40]
mov byte [esp + 0x144], 7
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x148], 6
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0xa4]
mov byte [esp + 0x14c], 0xc
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x150], 0xb
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x94]
mov byte [esp + 0x154], 0xa
push ecx
call fcn.005b44c3
mov byte [esp + 0x158], 9
jmp 0x4c2349
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ebx
push str.PARAM
mov word [ecx], bx
lea ecx, [esp + 0x44]
call fcn.00401610
mov eax, dword [esp + 0x68]
mov esi, 1
cmp eax, esi
je 0x4c2160
push 0x5c
lea ecx, [esp + 0x94]
call fcn.00405b40
lea edx, [esp + 0x40]
lea ecx, [esp + 0x90]
push edx
call fcn.004018e0
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x14c]
mov eax, dword [eax - 8]
push eax
call fcn.005b4ba6
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ebx
push eax
mov word [ecx], bx
lea ecx, [esp + 0x44]
call fcn.00401610
cmp dword [esp + 0x48], ebx
je 0x4c21dc
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
push edx
mov dword [esp + 0x6c], esi
call fcn.00405c40
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], ebx
push 0x2e
lea ecx, [esp + 0x7c]
mov word [eax], bx
call fcn.004015e0
cmp eax, ebx
jle 0x4c21ff
lea ecx, [esp + 0x84]
inc eax
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.00401350
jmp 0x4c21ff
mov edx, dword [esp + 0x78]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x80], ebx
mov word [edx], bx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], ebx
mov word [eax], bx
lea ecx, [esp + 0xb4]
call fcn.0041b6e0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x144], 0xd
call fcn.00419f90
push str.UTF_8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x148], 0xe
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xe0], ebx
call fcn.0041a280
push ebx
mov byte [esp + 0x148], 0xf
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x409
mov esi, eax
push 0x130
push 0x6380c0
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push esi
mov dword [esp + 0x60], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x58]
mov esi, eax
push ecx
mov dword [esp + 0x58], esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
cmp ebp, ebx
jne 0x4c2372
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 0x11
call fcn.0041ba00
mov edx, dword [esp + 0xe0]
mov byte [esp + 0x144], 0x10
push edx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 8
call fcn.0041b790
mov eax, dword [esp + 0x40]
mov byte [esp + 0x144], 7
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x148], 6
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0xa4]
mov byte [esp + 0x14c], 0x15
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x150], 0x14
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x94]
mov byte [esp + 0x154], 0x13
push ecx
call fcn.005b44c3
mov byte [esp + 0x158], 0x12
mov edx, dword [esp + 0x8c]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x84]
mov byte [esp + 0x15c], bl
push eax
call fcn.005b44c3
add esp, 0x1c
jmp 0x4c2b61
cmp esi, 4
jb 0x4c242a
lea ecx, [esp + 0xb4]
call fcn.0041ba00
push 0x64
lea ecx, [esp + 0xac]
call fcn.0041c320
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 0x16
push ecx
lea ecx, [esp + 0xac]
call fcn.0041c350
mov dx, word [ebp]
xor esi, esi
and edx, 0xfefe
cmp edx, 0xfefe
jne 0x4c23cc
mov esi, 2
jmp 0x4c23e3
cmp byte [ebp], 0xef
jne 0x4c23e3
cmp byte [ebp + 1], 0xbb
jne 0x4c23e3
cmp byte [ebp + 2], 0xbf
jne 0x4c23e3
mov esi, 3
cmp esi, dword [esp + 0x54]
jae 0x4c2412
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0xa8]
sub ecx, esi
push eax
lea edx, [esi + ebp]
push ecx
push edx
lea ecx, [esp + 0xc0]
call fcn.0041bbd0
add esi, eax
mov eax, dword [esp + 0x54]
cmp esi, eax
jb 0x4c23e9
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x144], 0xf
push eax
call fcn.005b44c3
add esp, 4
push 0x40
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call fcn.0041b410
push 0x20
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0x17
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
call fcn.0041b410
push 0x40
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0x18
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call fcn.0041b410
push 0x400
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x19
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call fcn.0041b410
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
push str.smartcarve
mov byte [esp + 0x148], 0x1a
mov byte [ecx], bl
lea ecx, [esp + 0x20]
call fcn.0041b5c0
mov ecx, dword [esp + 0xd8]
cmp ecx, ebx
je 0x4c2501
call fcn.0049c460
mov esi, eax
cmp esi, ebx
je 0x4c2501
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
call fcn.0041cee0
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x58], eax
jne 0x4c2503
mov ecx, dword [esp + 0xd8]
push esi
call fcn.0056eda0
mov esi, eax
cmp esi, ebx
jne 0x4c24d7
xor esi, esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
push str.Embed_sys
lea ecx, [esp + 0x20]
mov byte [eax], bl
call fcn.0041b5c0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
push 0x880da0
mov byte [ecx], bl
lea ecx, [esp + 0x38]
call fcn.0041b5c0
cmp dword [esi + 0x24], ebx
jne 0x4c2568
push 0x14
call fcn.005b449a
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebx
mov byte [esp + 0x144], 0x1b
je 0x4c255b
mov ecx, eax
call fcn.004e85f0
jmp 0x4c255d
xor eax, eax
mov byte [esp + 0x144], 0x1a
mov dword [esi + 0x24], eax
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xf8]
call fcn.0041df70
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0xec]
inc eax
push ecx
mov ecx, dword [esi + 0x24]
mov byte [esp + 0x148], 0x1c
mov dword [esp + 0x10c], eax
call fcn.0041e2e0
lea ecx, [esp + 0xec]
mov ebp, eax
mov byte [esp + 0x144], 0x1a
call fcn.0041b790
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
push str.value
lea ecx, [esp + 0x20]
mov byte [edx], bl
call fcn.0041b5c0
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x34]
mov ecx, dword [eax + 0xc8]
push ecx
push 0x66154c
push edx
call fcn.00427c90
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x4c2626
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, ebx
mov byte [esp + 0x144], 0x1d
je 0x4c2619
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x4c261b
xor eax, eax
mov byte [esp + 0x144], 0x1a
mov dword [ebp + 0x20], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.0041ed60
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
push str.LayerParam
lea ecx, [esp + 0x20]
mov byte [edx], bl
call fcn.0041b5c0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
push 0x880da0
lea ecx, [esp + 0x38]
mov byte [eax], bl
call fcn.0041b5c0
cmp dword [esi + 0x24], ebx
jne 0x4c269d
push 0x14
call fcn.005b449a
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, ebx
mov byte [esp + 0x144], 0x1e
je 0x4c2690
mov ecx, eax
call fcn.004e85f0
jmp 0x4c2692
xor eax, eax
mov byte [esp + 0x144], 0x1a
mov dword [esi + 0x24], eax
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0xf8]
call fcn.0041df70
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
inc eax
mov byte [esp + 0x144], 0x1f
mov dword [esp + 0x108], eax
lea eax, [esp + 0xec]
push eax
call fcn.0041e2e0
lea ecx, [esp + 0xec]
mov ebp, eax
mov byte [esp + 0x144], 0x1a
call fcn.0041b790
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
push str.Layer
mov byte [ecx], bl
lea ecx, [esp + 0x20]
call fcn.0041b5c0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
push 0x880da0
lea ecx, [esp + 0x38]
mov byte [edx], bl
call fcn.0041b5c0
cmp dword [ebp + 0x24], ebx
jne 0x4c2752
push 0x14
call fcn.005b449a
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, ebx
mov byte [esp + 0x144], 0x20
je 0x4c2745
mov ecx, eax
call fcn.004e85f0
jmp 0x4c2747
xor eax, eax
mov byte [esp + 0x144], 0x1a
mov dword [ebp + 0x24], eax
lea eax, [esp + 0x34]
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x120]
call fcn.0041df70
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
lea edx, [esp + 0x114]
inc eax
push edx
mov byte [esp + 0x148], 0x21
mov dword [esp + 0x134], eax
call fcn.0041e2e0
lea ecx, [esp + 0x114]
mov esi, eax
mov byte [esp + 0x144], 0x1a
call fcn.0041b790
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push str.Prior
lea ecx, [esp + 0x14]
mov byte [eax], bl
call fcn.0041b5c0
mov ecx, dword [edi]
call fcn.0054a850
push eax
lea ecx, [esp + 0x2c]
push 0x66154c
push ecx
call fcn.00427c90
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
mov ecx, esi
push edx
push eax
call fcn.0041d160
push str.Process_Media
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a900
push eax
lea ecx, [esp + 0x2c]
push 0x66154c
push ecx
call fcn.00427c90
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
mov ecx, esi
push edx
push eax
call fcn.0041d160
push str.Process
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a920
test eax, eax
mov eax, str.true
jne 0x4c2841
mov eax, str.false
push eax
lea ecx, [esp + 0x2c]
call fcn.0041a280
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.Visible
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a940
test eax, eax
mov eax, str.true
jne 0x4c287f
mov eax, str.false
push eax
lea ecx, [esp + 0x2c]
call fcn.0041a280
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push str.Color
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a830
push eax
lea edx, [esp + 0x2c]
push str.0x_08X
push edx
call fcn.00427c90
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push str.Speed
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.00426a20
push eax
lea edx, [esp + 0x2c]
push 0x66154c
push edx
call fcn.00427c90
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push 0x6614d8
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a8a0
push eax
lea edx, [esp + 0x2c]
push 0x66154c
push edx
call fcn.00427c90
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push str.Max_Power
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a8c0
push eax
lea edx, [esp + 0x2c]
push 0x66154c
push edx
call fcn.00427c90
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push str.Small_Power
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a8e0
push eax
lea edx, [esp + 0x2c]
push 0x66154c
push edx
call fcn.00427c90
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
mov ecx, dword [esp + 0x50]
push edi
call fcn.0054ae30
mov edi, eax
cmp edi, ebx
jne 0x4c26ed
push ebx
push ebx
lea ecx, [esp + 0xbc]
call fcn.0043dac0
mov ebp, eax
push ebp
call fcn.005b449a
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4c2a71
mov edx, dword [esp + 0x28]
mov byte [esp + 0x144], 0x19
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x14]
mov byte [esp + 0x148], 0x18
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x14c], 0x17
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x28]
mov byte [esp + 0x150], 0xf
push edx
call fcn.005b44c3
add esp, 0x10
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 8
call fcn.0041a520
mov eax, dword [esp + 0x40]
mov byte [esp + 0x144], 7
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x148], 6
push ecx
jmp 0x4c2b49
push ebp
push esi
lea ecx, [esp + 0xbc]
call fcn.0043dac0
push ebx
push ebx
push 2
push ebx
push ebx
push 0xc0000000
push ebx
lea ecx, [esp + 0x84]
call fcn.00405900
mov ecx, eax
call fcn.00405830
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, ebx
je 0x4c2ac5
lea edx, [esp + 0x50]
push ebx
push edx
push ebp
push esi
push edi
mov dword [esp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.005b44c3
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x148], 0x19
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x14c], 0x18
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x40]
mov byte [esp + 0x150], 0x17
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x154], 0xf
push eax
call fcn.005b44c3
add esp, 0x14
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 8
call fcn.0041a520
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x144], 7
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x60]
mov byte [esp + 0x148], 6
push edx
call fcn.005b44c3
add esp, 8
lea ecx, [esp + 0x68]
mov byte [esp + 0x144], bl
call fcn.004012d0
lea ecx, [esp + 0x14c]
mov dword [esp + 0x144], 0xffffffff
call fcn.005b4761
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 4