Function at 0x40da40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0704
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4d3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov ecx, dword [edi + 0x34]
push eax
push dword [edi + 4]
call fcn.00414f99
mov ecx, dword [edi + 0x34]
lea edx, [edi + 0x28]
push edx
lea ecx, [ecx + 0x454]
call fcn.00426d9c
push 0x98
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.00484a20
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], eax
xor eax, eax
mov word [ebp - 0x120], ax
push 0xc8
mov dword [ebp - 4], eax
call fcn.00482304
mov esi, eax
mov dword [ebp - 0x1b4], esi
lea edx, [esi + 8]
lea eax, [edx + 0x14]
mov dword [esi + 4], 0
mov dword [edx], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x1401
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], 0x7fec
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], 0x7fec
mov dword [esi], eax
mov dword [eax + 0x14], eax
mov ecx, dword [esi]
lea eax, [ecx + 0x20]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edx], ecx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
push 0x84
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00484a20
lea ecx, [ebp - 0x90]
add esp, 0x1c
mov dword [ebp - 0x94], ecx
xor eax, eax
mov word [ebp - 0x90], ax
mov edx, 0x4ac55c
mov eax, dword [0x4d3b20]
test eax, eax
cmovne edx, eax
mov esi, edx
mov dword [ebp - 0x1b4], edx
lea ebx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40dc02
sub esi, ebx
sar esi, 1
lea ebx, [esi + esi]
cmp esi, 0x3f
jl 0x40dc3f
lea eax, [ebx + 2]
mov dword [ebp - 0x94], 0
push eax
push 0
call fcn.0048ff58
mov edx, dword [ebp - 0x1b4]
mov ecx, eax
add esp, 8
mov dword [ebp - 0x94], ecx
push esi
push edx
push ecx
call fcn.0048df2f
mov eax, dword [ebp - 0x94]
xor ecx, ecx
add esp, 0xc
mov word [ebx + eax], cx
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x94]
cmp word [ebx], cx
jne 0x40dd7c
lea ecx, [ebp - 0x238]
call fcn.00415034
mov ebx, 0x4ac55c
mov eax, dword [eax]
test eax, eax
cmovne ebx, eax
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40dc85
mov edx, dword [ebp - 0x94]
sub esi, ecx
sar esi, 1
cmp esi, 0x3f
jge 0x40dcba
lea eax, [ebp - 0x90]
cmp edx, eax
je 0x40dd0d
push edx
call fcn.004886fc
add esp, 4
lea edx, [ebp - 0x90]
jmp 0x40dd07
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1b4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dcc5
sub ecx, dword [ebp - 0x1b4]
lea eax, [ebp - 0x90]
sar ecx, 1
cmp esi, ecx
jg 0x40dce8
cmp edx, eax
jne 0x40dd0d
jmp 0x40dcec
cmp edx, eax
jne 0x40dcf4
xor edx, edx
mov dword [ebp - 0x94], edx
lea eax, [esi*2 + 2]
push eax
push edx
call fcn.0048ff58
add esp, 8
mov edx, eax
mov dword [ebp - 0x94], edx
push esi
push ebx
push edx
call fcn.0048df2f
mov eax, dword [ebp - 0x94]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x238]
cmp eax, ecx
je 0x40dd3d
push eax
call fcn.004886fc
add esp, 4
mov eax, dword [edi]
lea ecx, [ebp - 0x2bc]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x40dd5d
push eax
lea ecx, [ebp - 0x94]
call fcn.004270f8
mov eax, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2b8]
cmp eax, ecx
je 0x40dd76
push eax
call fcn.004886fc
add esp, 4
mov ebx, dword [ebp - 0x94]
test ebx, ebx
je 0x40de7b
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40dd90
mov edx, dword [0x4d3b20]
sub esi, ecx
sar esi, 1
cmp esi, 0x3f
jge 0x40ddc2
cmp edx, 0x4d3b24
je 0x40de1a
push edx
call fcn.004886fc
add esp, 4
mov edx, 0x4d3b24
jmp 0x40de14
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1b4], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ddd0
sub ecx, dword [ebp - 0x1b4]
sar ecx, 1
cmp esi, ecx
jg 0x40ddf1
cmp edx, 0x4d3b24
jne 0x40de1a
jmp 0x40ddf9
cmp edx, 0x4d3b24
jne 0x40de01
xor edx, edx
mov dword [0x4d3b20], edx
lea eax, [esi*2 + 2]
push eax
push edx
call fcn.0048ff58
add esp, 8
mov edx, eax
mov dword [0x4d3b20], edx
push esi
push ebx
push edx
call fcn.0048df2f
mov eax, dword [0x4d3b20]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi*2], cx
mov edx, dword [0x4d3b20]
cmp word [edx], cx
je 0x40dea2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40de40
sub ecx, esi
sar ecx, 1
movzx eax, word [edx + ecx*2 - 2]
cmp eax, 0x5c
je 0x40dea2
cmp eax, 0x2f
je 0x40dea2
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], 0x5c
push eax
mov ecx, 0x4d3b20
call fcn.004270f8
jmp 0x40dea2
mov eax, dword [0x4d3b20]
cmp eax, 0x4d3b24
je 0x40de90
push eax
call fcn.004886fc
add esp, 4
xor eax, eax
mov dword [0x4d3b20], 0x4d3b24
mov word [0x4d3b24], ax
push 0
push dword [edi + 0x34]
lea eax, [edi + 0x2c]
push eax
push 0x4acb80
push ecx
mov eax, esp
lea ecx, [ebp - 0x12c]
mov dword [eax], 0x6a
call fcn.0041abab
test eax, eax
jne 0x40df32
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00409f70
push 0xffffffffffffffff
push str.Loading_resource_failed_:
lea ecx, [ebp - 0x1b0]
call fcn.0042709f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x340]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00427331
lea ecx, [ebp - 0x340]
call fcn.004270e8
push 0x10
push str.XinZhiZao
lea ecx, [ebp - 0x1b0]
call fcn.00407710
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [edi + 0x34]
push eax
call fcn.00417f4b
mov ecx, dword [edi + 0x34]
lea edx, [edi + 0x24]
push edx
lea ecx, [ecx + 0x40c]
call fcn.00426d9c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x40df6d
push eax
call fcn.004886fc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x128]
test esi, esi
je 0x40df9a
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00425f74
push 0xc8
push esi
call fcn.00482334
add esp, 8
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
cmp eax, ecx
je 0x40dfb3
push eax
call fcn.004886fc
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004820f4
mov esp, ebp
pop ebp
ret 0x10