Function at 0x40e390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0690
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.0042da00
mov dword [ebp - 0x54], eax
call fcn.00442c38
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e3e2
push 0x80004005
call fcn.004044f0
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e4b1
mov ebx, dword [esi + 0x84]
add ebx, 0x74
jne 0x40e42a
xor eax, eax
jmp 0x40e454
push ebx
push esi
call 0x7646da
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x40e440
xor eax, eax
jmp 0x40e454
lea eax, [edi + edi]
call fcn.004559e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0042b730
mov edx, dword [ebp - 0x4c]
push edx
push eax
push 0x4e94a0
lea edi, [ebp - 0x50]
call fcn.004040d0
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.0043d84c
mov ecx, edi
call fcn.00404120
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 0x40e4aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40ecea
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
add eax, 0xbb4
push 0x4fb638
mov ecx, esi
call fcn.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e4eb
mov ebx, dword [esi + 0x84]
add ebx, 0xbb4
jne 0x40e42a
xor eax, eax
jmp 0x40e454
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e59d
mov ebx, dword [esi + 0x84]
add ebx, 0x98
jne 0x40e524
xor eax, eax
jmp 0x40e54e
push ebx
push ebx
call 0x517c60
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x40e53a
xor eax, eax
jmp 0x40e54e
lea eax, [edi + edi]
call fcn.004559e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0042b730
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
push 0x4e94a0
lea edi, [ebp - 0x50]
call fcn.004040d0
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.0043d84c
mov ecx, edi
call fcn.00404120
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 0x40e49e
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e5d9
mov ebx, dword [esi + 0x84]
add ebx, 0xc4
jne 0x40e524
xor eax, eax
jmp 0x40e54e
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e66f
mov ebx, dword [esi + 0x84]
add ebx, 0x10
je 0x40e617
push ebx
call 0x63bb90
ret
xor eax, eax
jmp 0x40e62f
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
push 0x4e94a0
lea edi, [ebp - 0x50]
call fcn.004040d0
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.0043d84c
lea ecx, [ebp - 0x50]
call fcn.00404120
lea ecx, [ebp - 0x50]
call fcn.00404590
xor eax, eax
jmp 0x40ecea
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e6a3
mov ebx, dword [esi + 0x84]
add ebx, 0x3c
jne 0x40e605
xor eax, eax
jmp 0x40e62f
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e6f0
push 0
push 0x3ea
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push 0
push 0x3ea
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e772
mov ebx, dword [esi + 0x84]
add ebx, 0x108
je 0x40e733
push ebx
push eax
call 0x746237
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x40e737
xor eax, eax
jmp 0x40e74b
lea eax, [edi + edi]
call fcn.004559e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0042b730
mov edx, dword [ebp - 0x4c]
push edx
push eax
push 0x4e94a0
lea edi, [ebp - 0x50]
call fcn.004040d0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add esp, 0xc
push 0x30
add eax, 0x18
push eax
push ecx
jmp 0x40e651
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.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e7ab
mov ebx, dword [esi + 0x84]
add ebx, 0x130
jne 0x40e721
xor eax, eax
jmp 0x40e74b
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 0x40e7d0
mov edx, dword [esi + 0x84]
cmp dword [edi + edx - 0x940], 0
je 0x40e844
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 0x40e7f2
sub ecx, dword [ebp - 0x70]
je 0x40e844
cmp dword [edi + edx], 0
je 0x40e844
cmp dword [edi + edx + 0x20], 0
je 0x40e844
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
push ecx
push edx
mov eax, ebx
mov ecx, esi
call fcn.00418d90
cmp dword [ebp - 0x4c], 0
je 0x40e869
mov ebx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x84]
shl ebx, 5
lea ebx, [ebx + eax + 0x1b4]
test ebx, ebx
jne 0x40e605
xor eax, eax
jmp 0x40e62f
mov ebx, dword [ebp - 0x58]
push 0
push ebx
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push 0
push ebx
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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 0x40e7d0
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.00418d90
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
je 0x40e8c8
mov ebx, dword [esi + 0x84]
add ebx, 0xcfc
jne 0x40e605
xor eax, eax
jmp 0x40e62f
mov eax, dword [esi + 0x84]
cmp dword [eax + 0xd80], ebx
jle 0x40e91c
cmp dword [eax + 0xd84], ebx
jle 0x40e91c
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x150]
add eax, 0xd88
push edx
mov ecx, esi
call fcn.00418d90
cmp dword [ebp - 0x4c], ebx
jne 0x40e91c
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40e944
push ebx
push 0x409
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x409
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40e98e
push ebx
push 0x406
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x406
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40e9d8
push ebx
push 0x407
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x407
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40ea22
push ebx
push 0x3fa
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x3fa
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40ea6c
push ebx
push 0x3fb
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x3fb
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40eab6
push ebx
push 0x3fc
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x3fc
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40eb00
push ebx
push 0x3fd
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x3fd
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
cmp dword [ebp - 0x4c], ebx
je 0x40eb4a
push ebx
push 0x3f9
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.00442291
push ebx
push 0x3f9
mov ecx, esi
call fcn.00442131
mov ecx, eax
call fcn.004422d3
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.00418d90
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x40ec48
push eax
lea edx, [ebp - 0x48]
push edx
jmp 0x40e750
push 8
call fcn.00432d02
add esp, 4
cmp eax, ebx
je 0x40ec61
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBrush.0
jmp 0x40ec63
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.0041f660
add esp, 0xc
push eax
lea ecx, [ebp - 0x6c]
call fcn.004480a4
mov ecx, dword [esi + 0x178]
lea eax, [ebp - 0x6c]
push eax
call fcn.0042b6f0
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x41a8c0
call fcn.00446ca6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
call fcn.0042bc30
lea ecx, [ebp - 0x50]
call fcn.00404590
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.0044fcc4
mov esp, ebp
pop ebp
ret