Function at 0x40e730
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44fce1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x469090]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
mov eax, dword [ebx + 0x84]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0x14]
mov esi, dword [edx + 0x20]
mov ecx, dword [ecx]
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
cmp dword [ebp + 0xc], edi
jle 0x40e80c
lea ecx, [ebx + 0x894]
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + edi*4], 0
je 0x40e7fd
push 0x30
call fcn.004372a1
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x40e7e6
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ebx + 0x8a4]
lea edx, [esi + 8]
call fcn.004185d0
mov edi, dword [esp + 0x18]
jmp 0x40e7e8
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
mov dword [ecx], eax
add dword [ebx + 0x8a4], 0x1e
add dword [esp + 0x10], 4
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [ebp + 0xc]
jl 0x40e797
mov ecx, dword [ebx + 0x8a8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x40ea83
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 0x1c
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.004372a1
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
xor eax, eax
mov dword [esp + 0x40], 1
cmp edi, eax
je 0x40e90c
mov ecx, str.USER_LICENSE_PREFIX
nop
mov edx, eax
shl edx, 5
sub edx, eax
movzx eax, word [ecx]
add ecx, 2
add eax, edx
cmp ecx, 0x459912
jl 0x40e860
mov dword [esp + 0x24], eax
lea eax, [esi + 0x264]
lea edx, [esp + 0x24]
call fcn.0040d2b0
mov eax, dword [eax]
mov dword [esp + 0x18], str.USER_LICENSE_PREFIX
test eax, eax
je 0x40e89c
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
push edx
push 0xf
push 0x10e
add eax, 0xffffffce
push eax
add ecx, 0xfffffef2
push ecx
push 0x50000000
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x3c]
push eax
push str.Static
add esi, 8
push 0
mov dword [edi + 4], esi
mov dword [edi + 8], 0x10e
mov dword [edi + 0xc], 0xf
mov dword [edi + 0x10], ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [edi], eax
mov esi, dword [esi]
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x40e912
mov dword [esp + 0x10], eax
mov edi, eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push 0xfffffffffffffff0
push eax
mov dword [edi + 0x18], 2
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi]
or eax, 2
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x428
call fcn.004372a1
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], 2
test esi, esi
je 0x40ea38
xor ecx, ecx
mov eax, 0x459916
movzx edx, word [eax - 2]
mov edi, ecx
shl edi, 5
sub edi, ecx
add edx, edi
mov ecx, edx
shl ecx, 5
sub ecx, edx
movzx edx, word [eax]
add ecx, edx
mov edx, ecx
shl edx, 5
sub edx, ecx
movzx ecx, word [eax + 2]
add edx, ecx
mov ecx, edx
shl ecx, 5
sub ecx, edx
movzx edx, word [eax + 4]
add ecx, edx
mov edx, ecx
shl edx, 5
sub edx, ecx
movzx ecx, word [eax + 6]
add edx, ecx
mov ecx, edx
shl ecx, 5
sub ecx, edx
movzx edx, word [eax + 8]
add eax, 0xc
add ecx, edx
cmp eax, 0x45992e
jl 0x40e976
mov edi, dword [esp + 0x1c]
lea eax, [edi + 0x264]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
call fcn.0040d2b0
mov eax, dword [eax]
test eax, eax
jne 0x40e9ef
mov eax, str.USER_LICENSE
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x34]
push 0xc8
add eax, 0xffffffe2
push eax
add ecx, 0xffffff38
push ecx
lea eax, [edi + 8]
mov edi, dword [edi + 4]
push eax
push edx
mov ebx, 0xf
call fcn.0042d6c0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov dword [esi], vtable.ActionLinkLabel.0
mov dword [esi + 0x424], 0
jmp 0x40ea3a
xor esi, esi
lea eax, [ebx + 0x88c]
mov dword [esi + 0x424], eax
mov dword [esi + 0x220], 2
xor eax, eax
cmp dword [ebx + eax*4 + 4], 0
je 0x40ea61
inc eax
cmp eax, 0x20
jl 0x40ea52
jmp 0x40ea65
mov dword [ebx + eax*4 + 4], edi
lea ecx, [esi + 4]
test ecx, ecx
je 0x40ea83
xor eax, eax
mov edi, edi
cmp dword [ebx + eax*4 + 4], 0
je 0x40ea7f
inc eax
cmp eax, 0x20
jl 0x40ea70
jmp 0x40ea83
mov dword [ebx + eax*4 + 4], ecx
lea edx, [ebx + 0x894]
mov esi, 4
mov edi, edi
mov eax, dword [edx]
test eax, eax
je 0x40eab3
lea ecx, [eax + 4]
test ecx, ecx
je 0x40eab3
xor eax, eax
nop
cmp dword [ebx + eax*4 + 4], 0
je 0x40eaaf
inc eax
cmp eax, 0x20
jl 0x40eaa0
jmp 0x40eab3
mov dword [ebx + eax*4 + 4], ecx
add edx, 4
dec esi
jne 0x40ea90
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc