Function at 0x40e490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c07d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x5007b4]
call fcn.0042db20
mov dword [ebp - 0x54], eax
call fcn.00442dd9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e4e2
push 0x80004005
call fcn.004044b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x84]
push ecx
add eax, 0x74
push 0x4fb630
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e5b1
mov ebx, dword [esi + 0x84]
add ebx, 0x74
jne 0x40e52a
xor eax, eax
jmp 0x40e554
push ebx
call 0x70c6bd
mov edx, dword [ebp - 0x4c]
push edx
push eax
push 0x4e9500
lea edi, [ebp - 0x50]
call fcn.00404080
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add esp, 0xc
push 0x30
add eax, 0x18
push eax
push ecx
mov ecx, esi
call fcn.0043d9df
mov ecx, edi
call fcn.004040d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e5aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40edea
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
add eax, 0xbb4
push 0x4fb638
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e5eb
mov ebx, dword [esi + 0x84]
add ebx, 0xbb4
jne 0x40e52a
xor eax, eax
jmp 0x40e554
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x88]
add eax, 0x98
push edx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e69d
mov ebx, dword [esi + 0x84]
add ebx, 0x98
jne 0x40e624
xor eax, eax
jmp 0x40e64e
push ebx
call 0x652f78
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
push 0x4e9500
lea edi, [ebp - 0x50]
call fcn.00404080
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
add esp, 0xc
push 0x30
add edx, 0x18
push edx
push eax
mov ecx, esi
call fcn.0043d9df
mov ecx, edi
call fcn.004040d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40e59e
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x90]
add eax, 0xc4
push edx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e6d9
mov ebx, dword [esi + 0x84]
add ebx, 0xc4
jne 0x40e624
xor eax, eax
jmp 0x40e64e
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x98]
add eax, 0x10
push edx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e76f
mov ebx, dword [esi + 0x84]
add ebx, 0x10
je 0x40e717
push ebx
call 0x57edbe
xor eax, eax
jmp 0x40e72f
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
push 0x4e9500
lea edi, [ebp - 0x50]
call fcn.00404080
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
add esp, 0xc
push 0x30
add edx, 0x18
push edx
push eax
mov ecx, esi
call fcn.0043d9df
lea ecx, [ebp - 0x50]
call fcn.004040d0
lea ecx, [ebp - 0x50]
call fcn.00404550
xor eax, eax
jmp 0x40edea
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0xa0]
add eax, 0x3c
push edx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e7a3
mov ebx, dword [esi + 0x84]
add ebx, 0x3c
jne 0x40e705
xor eax, eax
jmp 0x40e72f
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0xa8]
add eax, 0x15c
push edx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e7f0
push 0
push 0x3ea
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push 0
push 0x3ea
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0xb0]
push ecx
add eax, 0x108
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e872
mov ebx, dword [esi + 0x84]
add ebx, 0x108
je 0x40e833
push ebx
call 0x631377
xor eax, eax
jmp 0x40e84b
mov edx, dword [ebp - 0x4c]
push edx
push eax
push 0x4e9500
lea edi, [ebp - 0x50]
call fcn.00404080
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add esp, 0xc
push 0x30
add eax, 0x18
push eax
push ecx
jmp 0x40e751
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0xb8]
push ecx
add eax, 0x130
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e8ab
mov ebx, dword [esi + 0x84]
add ebx, 0x130
jne 0x40e821
xor eax, eax
jmp 0x40e84b
xor eax, eax
lea edx, [esi + 0xd0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x3ee
mov dword [ebp - 0x64], eax
mov edi, 0xad4
mov dword [ebp - 0x60], edx
jmp 0x40e8d0
mov edx, dword [esi + 0x84]
cmp dword [edi + edx - 0x940], 0
je 0x40e944
mov eax, dword [ebp - 0x64]
lea ebx, [eax + edx + 0x1b4]
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp - 0x70], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e8f2
sub ecx, dword [ebp - 0x70]
je 0x40e944
cmp dword [edi + edx], 0
je 0x40e944
cmp dword [edi + edx + 0x20], 0
je 0x40e944
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
push ecx
push edx
mov eax, ebx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], 0
je 0x40e969
mov ebx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x84]
shl ebx, 5
lea ebx, [ebx + eax + 0x1b4]
test ebx, ebx
jne 0x40e705
xor eax, eax
jmp 0x40e72f
mov ebx, dword [ebp - 0x58]
push 0
push ebx
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push 0
push ebx
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
add dword [ebp - 0x60], 8
add dword [ebp - 0x64], 0x20
mov eax, 1
add dword [ebp - 0x5c], eax
add dword [ebp - 0x58], eax
add edi, 4
cmp edi, 0xaf4
jl 0x40e8d0
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x110]
add eax, 0xcfc
push edx
mov ecx, esi
call fcn.00418e90
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
je 0x40e9c8
mov ebx, dword [esi + 0x84]
add ebx, 0xcfc
jne 0x40e705
xor eax, eax
jmp 0x40e72f
mov eax, dword [esi + 0x84]
cmp dword [eax + 0xd80], ebx
jle 0x40ea1c
cmp dword [eax + 0xd84], ebx
jle 0x40ea1c
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x150]
add eax, 0xd88
push edx
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
jne 0x40ea1c
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x158]
push ecx
add eax, 0xda8
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40ea44
push ebx
push 0x409
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x409
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x118]
push ecx
add eax, 0xd2c
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40ea8e
push ebx
push 0x406
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x406
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x120]
push ecx
add eax, 0xd58
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40ead8
push ebx
push 0x407
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x407
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x128]
push ecx
add eax, 0xc04
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40eb22
push ebx
push 0x3fa
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x3fa
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x130]
push ecx
add eax, 0xc2c
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40eb6c
push ebx
push 0x3fb
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x3fb
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x138]
push ecx
add eax, 0xc54
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40ebb6
push ebx
push 0x3fc
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x3fc
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x140]
push ecx
add eax, 0xc7c
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40ec00
push ebx
push 0x3fd
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x3fd
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [esi + 0x148]
push ecx
add eax, 0xca8
mov ecx, esi
call fcn.00418e90
cmp dword [ebp - 0x4c], ebx
je 0x40ec4a
push ebx
push 0x3f9
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.0044242e
push ebx
push 0x3f9
mov ecx, esi
call fcn.004422ce
mov ecx, eax
call fcn.00442470
mov edx, 0x4f
mov edi, 0x50
mov word [ebp - 0x48], di
mov edi, edx
mov word [ebp - 0x46], di
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x1e], dl
mov eax, 0x4e
mov word [ebp - 0x3c], dx
mov edx, eax
mov edi, 0x53
mov word [ebp - 0x44], di
mov ecx, 0x49
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x19], al
mov word [ebp - 0x32], ax
mov word [ebp - 0x3a], dx
mov byte [ebp - 0x20], cl
mov byte [ebp - 0x1a], cl
mov edi, 0x45
mov word [ebp - 0x34], cx
mov word [ebp - 0x42], di
mov edi, ecx
mov eax, 0x31
mov word [ebp - 0x30], ax
mov edx, 0x4d
mov word [ebp - 0x38], dx
mov ecx, 0x2e
mov word [ebp - 0x2e], cx
mov eax, 0x6d
mov edx, 0x41
mov word [ebp - 0x2a], ax
mov word [ebp - 0x36], dx
mov ecx, 0x70
mov word [ebp - 0x28], cx
lea eax, [ebp - 0x4c]
mov edx, 0x62
push eax
lea ecx, [esi + 0x160]
mov word [ebp - 0x40], di
mov word [ebp - 0x2c], dx
xor edx, edx
push ecx
mov edi, 0x44
lea eax, [ebp - 0x24]
mov ecx, esi
mov byte [ebp - 0x24], 0x50
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x45
mov byte [ebp - 0x1f], 0x44
mov byte [ebp - 0x1c], 0x4d
mov byte [ebp - 0x1b], 0x41
mov byte [ebp - 0x18], 0x31
mov byte [ebp - 0x17], 0x2e
mov byte [ebp - 0x16], 0x62
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0
mov word [ebp - 0x3e], di
mov word [ebp - 0x26], dx
call fcn.00418e90
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x40ed48
push eax
lea edx, [ebp - 0x48]
push edx
jmp 0x40e850
push 8
call fcn.00432e22
add esp, 4
cmp eax, ebx
je 0x40ed61
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBrush.0
jmp 0x40ed63
xor eax, eax
mov edi, vtable.CBitmap.0
mov dword [esi + 0x178], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x84]
mov edx, dword [eax + 0xf8]
mov ecx, dword [eax + 0xf0]
push edx
mov edx, dword [eax + 0xec]
push ecx
mov ecx, dword [eax + 0xf4]
push edx
mov edx, dword [0x4fb634]
call fcn.0041f760
add esp, 0xc
push eax
lea ecx, [ebp - 0x6c]
call fcn.00448233
mov ecx, dword [esi + 0x178]
lea eax, [ebp - 0x6c]
push eax
call fcn.0042b810
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x41a9c0
call fcn.00446e34
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
call fcn.0042bd50
lea ecx, [ebp - 0x50]
call fcn.00404550
mov eax, 1
lea esp, [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044fddd
mov esp, ebp
pop ebp
ret