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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676300
mov eax, dword fs:[0]
push eax
sub esp, 0x508
push esi
push edi
push ecx
lea edi, [ebp - 0x514]
mov ecx, 0x142
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, esp
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x14]
call fcn.0047a350
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0xff3fffff
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
or ecx, 0x4000000
or ecx, 0x2000000
mov esi, esp
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x14]
call fcn.0047a350
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp esi, esp
call fcn.00611b50
mov esi, esp
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0047a350
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.00611b50
mov esi, esp
push 0x20
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0047a350
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, esp
call fcn.00611b50
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.0047c700
cmp dword [ebp - 0x14], 0
je 0x48f29c
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov dword [ebp - 0x4dc], eax
jmp 0x48f2a6
mov dword [ebp - 0x4dc], 0
mov ecx, dword [ebp - 0x4dc]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.00484280
lea ecx, [ebp - 0x17c]
call fcn.004b54e0
mov dword [ebp - 4], 0
call fcn.0047d850
push eax
lea ecx, [ebp - 0x208]
call fcn.0048b610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.0048b820
movzx edx, al
test edx, edx
je 0x48f394
lea eax, [ebp - 0x290]
push eax
call fcn.0047d560
add esp, 4
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4e4]
push edx
lea ecx, [ebp - 0x208]
call fcn.0048bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.0048b700
mov esi, esp
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4ec]
call fcn.0048ba90
push eax
lea ecx, [ebp - 0x208]
call fcn.0048c1f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x314]
call fcn.0048b700
lea ecx, [ebp - 0x208]
call fcn.0048ba90
push eax
call fcn.0047d8e0
add esp, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x2c]
call edx
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x4f0], eax
cmp dword [ebp - 0x4f0], 2
je 0x48f3db
cmp dword [ebp - 0x4f0], 4
je 0x48f438
jmp 0x48f613
push 1
mov esi, esp
lea eax, [ebp - 0x398]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
call eax
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f8], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4f8]
call fcn.0048ba90
push eax
call fcn.0047d9f0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x398]
call fcn.0048b700
jmp 0x48f613
mov esi, esp
push 0x67beec
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov edi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
call edx
cmp edi, esp
call fcn.00611b50
push eax
call fcn.0047d830
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x39c], 0
jne 0x48f4ae
mov dword [ebp - 0x4c0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.0048b700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.00490070
mov eax, dword [ebp - 0x4c0]
jmp 0x48f8b2
mov dword [ebp - 0x3a0], 0
mov esi, esp
mov eax, dword [ebp - 0x39c]
push eax
call fcn.0047d830
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
jne 0x48f52f
mov esi, esp
mov ecx, dword [ebp - 0x39c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x4c4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.0048b700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.00490070
mov eax, dword [ebp - 0x4c4]
jmp 0x48f8b2
mov esi, esp
mov edx, dword [ebp - 0x39c]
push edx
call fcn.0047d830
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0
jne 0x48f590
mov dword [ebp - 0x4c8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.0048b700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.00490070
mov eax, dword [ebp - 0x4c8]
jmp 0x48f8b2
mov eax, dword [ebp - 0x3a0]
push eax
call fcn.00610910
add esp, 4
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp - 0x4cc]
mov dword [0x7345e8], ecx
cmp dword [0x7345e8], 0
je 0x48f5e7
mov edx, dword [ebp - 0x3a0]
push edx
mov esi, esp
mov eax, dword [ebp - 0x3a4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00611b50
push eax
mov ecx, dword [0x7345e8]
push ecx
call fcn.00614e90
add esp, 0xc
mov esi, esp
mov edx, dword [ebp - 0x39c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00611b50
mov eax, dword [ebp - 0x3a0]
push eax
mov ecx, dword [0x7345e8]
push ecx
call fcn.0047d960
add esp, 8
mov dword [ebp - 0x3a8], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x2c]
call edx
cmp esi, esp
call fcn.00611b50
cmp eax, 3
jne 0x48f6ee
mov esi, esp
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
call eax
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x500]
call fcn.0048ba90
push eax
call fcn.0063e4a0
add esp, 4
push eax
lea ecx, [ebp - 0x434]
call fcn.0048a860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.0048b700
cmp dword [ebp - 0x14], 0
je 0x48f6b2
mov edx, dword [ebp - 0x14]
add edx, 0x28
mov dword [ebp - 0x504], edx
jmp 0x48f6bc
mov dword [ebp - 0x504], 0
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x504]
push ecx
push 0x67befc
mov edx, dword [ebp - 0x434]
push edx
lea ecx, [ebp - 0x17c]
call fcn.004b5530
mov dword [ebp - 0x3a8], eax
jmp 0x48f78d
cmp dword [ebp - 0x14], 0
je 0x48f702
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x508], eax
jmp 0x48f70c
mov dword [ebp - 0x508], 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x508]
push edx
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x4d0], esp
mov edi, esp
lea eax, [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
call eax
cmp edi, esp
call fcn.00611b50
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x510], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x510]
call fcn.0048ba90
push eax
mov ecx, esi
call fcn.0048a840
lea ecx, [ebp - 0x17c]
call fcn.004b5530
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.0048b700
cmp dword [ebp - 0x3a8], 0
jne 0x48f7bc
push str.pRoot
push 0x67bf10
push 0
push 0x149
push str.UtilsWinImplBase.cpp
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x48f7bc
int3
cmp dword [ebp - 0x3a8], 0
jne 0x48f829
mov esi, esp
push 0x10
push str.Duilib
push 0x67bf54
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.00611b50
mov esi, esp
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x3a8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.004825c0
cmp dword [ebp - 0x14], 0
je 0x48f84f
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
mov dword [ebp - 0x514], ecx
jmp 0x48f859
mov dword [ebp - 0x514], 0
mov edx, dword [ebp - 0x514]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.00483c70
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
call eax
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x4d8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x208]
call fcn.0048b700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.00490070
mov eax, dword [ebp - 0x4d8]
push edx
mov ecx, ebp
push eax
lea edx, [0x48f8f0]
call fcn.00611af0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00610840
add esp, 0x514
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret 0x10