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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159502
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x400], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x400]
call fcn.10054e40
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
and eax, 0xff3fffff
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x400]
call fcn.10054e40
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x400]
call fcn.10054e40
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x20
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp - 0x400]
call fcn.10054e40
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x400]
add ecx, 0x30
call fcn.100586e0
cmp dword [ebp - 0x400], 0
je 0x10060428
mov eax, dword [ebp - 0x400]
add eax, 0x28
mov dword [ebp - 0x414], eax
jmp 0x10060432
mov dword [ebp - 0x414], 0
mov ecx, dword [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x400]
add ecx, 0x30
call fcn.10057650
lea ecx, [ebp - 0x1ec]
call fcn.10082070
mov dword [ebp - 4], 0
push 0xffffffffffffffff
lea edx, [ebp - 0x2f4]
push edx
mov eax, dword [ebp - 0x400]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
call fcn.10054550
push eax
lea ecx, [ebp - 0xa4]
call fcn.100540b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f4]
call fcn.10054300
lea ecx, [ebp - 0xa4]
call fcn.10054550
push eax
call fcn.1005e7c0
add esp, 4
call fcn.10058600
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 2
je 0x100604e7
cmp dword [ebp - 0x418], 4
je 0x10060541
jmp 0x100606d7
push 1
lea edx, [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x400]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x454], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x454]
call fcn.10054550
push eax
call fcn.1005e8c0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.10054300
jmp 0x100606d7
push 0x10168fa0
call fcn.100585e0
push eax
call fcn.100585c0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x1006059d
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10054300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1005fb80
mov eax, dword [ebp - 0x450]
jmp 0x10060939
mov dword [ebp - 0x408], 0
mov edx, dword [ebp - 0x404]
push edx
call fcn.100585c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x1006060c
mov eax, dword [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x44c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10054300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1005fb80
mov eax, dword [ebp - 0x44c]
jmp 0x10060939
mov ecx, dword [ebp - 0x404]
push ecx
call fcn.100585c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jne 0x10060664
mov dword [ebp - 0x464], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10054300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1005fb80
mov eax, dword [ebp - 0x464]
jmp 0x10060939
push 0x10178e08
mov edx, dword [ebp - 0x408]
push edx
call fcn.100f5ac5
add esp, 8
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
mov dword [0x101aba88], eax
cmp dword [0x101aba88], 0
je 0x100606b5
mov ecx, dword [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [0x101aba88]
push eax
call fcn.1012db10
add esp, 0xc
mov ecx, dword [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [0x101aba88]
push eax
call fcn.1005e840
add esp, 8
mov dword [ebp - 0x40c], 0
call fcn.10058600
cmp eax, 3
jne 0x100607a7
lea ecx, [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x400]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x400]
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
call fcn.10054550
push eax
call fcn.10138ba4
add esp, 4
push eax
lea ecx, [ebp - 0x438]
call fcn.10056670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3fc]
call fcn.10054300
cmp dword [ebp - 0x400], 0
je 0x10060768
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
mov dword [ebp - 0x420], ecx
jmp 0x10060772
mov dword [ebp - 0x420], 0
push 0
mov edx, dword [ebp - 0x400]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x420]
push eax
push 0x10168fb0
mov ecx, dword [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.10083880
mov dword [ebp - 0x40c], eax
jmp 0x1006084c
cmp dword [ebp - 0x400], 0
je 0x100607c1
mov edx, dword [ebp - 0x400]
add edx, 0x2c
mov dword [ebp - 0x424], edx
jmp 0x100607cb
mov dword [ebp - 0x424], 0
push 0
mov eax, dword [ebp - 0x400]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x424]
push ecx
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x468], esp
lea edx, [ebp - 0x378]
push edx
mov eax, dword [ebp - 0x400]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x440]
call fcn.10054550
push eax
mov ecx, esi
call fcn.10056690
lea ecx, [ebp - 0x1ec]
call fcn.10083880
mov dword [ebp - 0x40c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x378]
call fcn.10054300
cmp dword [ebp - 0x40c], 0
jne 0x100608a7
push 0x10
push str.Duilib
push 0x10168fc8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x40c]
push edx
mov ecx, dword [ebp - 0x400]
add ecx, 0x30
call fcn.100577e0
cmp dword [ebp - 0x400], 0
je 0x100608d6
mov eax, dword [ebp - 0x400]
add eax, 0x24
mov dword [ebp - 0x428], eax
jmp 0x100608e0
mov dword [ebp - 0x428], 0
mov ecx, dword [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x400]
add ecx, 0x30
call fcn.10057500
mov edx, dword [ebp - 0x400]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x400]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x448], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10054300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1005fb80
mov eax, dword [ebp - 0x448]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 0x10