Function at 0x4d7fc0
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e097
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 4]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 4]
push 0x20
sub edx, ecx
push edx
mov edx, dword [esp + 0x20]
sub esi, edx
push esi
push ecx
push edx
xor edi, edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 4]
lea esi, [ebx + 0x2c]
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 8], eax
push esi
mov esi, 0x629cb8
call fcn.004b4da0
lea eax, [ebx + 0x24]
push eax
lea esi, [ebx + 0x638]
call fcn.004b4da0
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x1f0], edi
mov dword [esp + 0x290], edi
mov eax, dword [0x61c338]
cmp word [eax], di
jne 0x4d814e
lea edi, [esp + 0x1f4]
call fcn.004accb0
mov byte [esp + 0x290], 1
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x290], 2
mov eax, dword [eax]
test eax, eax
je 0x4d8100
push eax
mov eax, edi
push eax
call fcn.004b4f80
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4d811d
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [esp + 0x1f4]
call fcn.004ace50
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x1f4]
lea edx, [esp + 0x1f8]
cmp eax, edx
je 0x4d814c
push eax
call fcn.0050a8b9
add esp, 4
xor edi, edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
sub eax, 2
je 0x4d8207
sub eax, 2
jne 0x4d8241
mov esi, dword [0x626d04]
cmp esi, edi
jne 0x4d8179
mov esi, dword [0x626824]
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
push 0x547ed0
mov ecx, ebx
call edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x4d833f
mov eax, dword [0x626d04]
cmp eax, edi
jne 0x4d81a7
mov eax, dword [0x626824]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x4d81cf
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea esi, [esp + 0xac]
call fcn.00401d90
jmp 0x4d8367
mov eax, dword [0x626d04]
cmp eax, edi
jne 0x4d81dd
mov eax, dword [0x626824]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, edi
je 0x4d81be
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004acee0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4d8241
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x290], 3
mov ecx, dword [eax]
call fcn.004acf80
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4d8241
push eax
call fcn.0050a8b9
add esp, 4
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
cmp eax, 3
jne 0x4d82a5
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov eax, dword [eax]
push eax
call fcn.0050b2ba
movzx eax, ax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
add esp, 4
cmp eax, ecx
je 0x4d8284
push eax
call fcn.0050a8b9
add esp, 4
mov edx, dword [esp + 0x14]
push edi
lea esi, [ebx + 0x2c]
push esi
lea eax, [ebx + 0x28]
push eax
push 0x547ee0
push edx
lea ecx, [esp + 0xc0]
call fcn.004b6c20
jmp 0x4d8301
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
push edi
mov byte [esp + 0x294], 4
mov ecx, dword [eax]
lea esi, [ebx + 0x2c]
push esi
lea eax, [ebx + 0x28]
push eax
push edi
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x28], esp
call fcn.004b6c20
mov dword [esp + 0x14], eax
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4d82fd
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x4d8320
push 0x10
push str.Duilib
push 0x547ef8
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
push esi
call fcn.004af2d0
lea eax, [ebx + 0x20]
push eax
lea esi, [ebx + 0x620]
call fcn.004b4da0
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
mov eax, dword [esp + 0xac]
cmp eax, edi
je 0x4d8353
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [esp + 0xb0]
cmp eax, edi
je 0x4d8367
push eax
call fcn.0050a8b9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0050a231
mov esp, ebp
pop ebp
ret 0x10