Function at 0x40e400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2890
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f85e8]
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 [0x5027d4]
call fcn.0042fc20
mov dword [ebp - 0x54], eax
call fcn.00444eed
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e452
push 0x80004005
call fcn.004044a0
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 0x4fd640
mov ecx, esi
call fcn.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e521
mov ebx, dword [esi + 0x84]
add ebx, 0x74
jne 0x40e49a
xor eax, eax
jmp 0x40e4c4
push ebx
call 0x598774
ret
mov edx, dword [ebp - 0x4c]
push edx
push eax
push 0x4eb510
lea edi, [ebp - 0x50]
call fcn.00404070
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.0043faf3
mov ecx, edi
call fcn.004040c0
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 0x40e51a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40ed5a
mov eax, dword [esi + 0x84]
lea ecx, [ebp - 0x4c]
push ecx
add eax, 0xbb4
push 0x4fd648
mov ecx, esi
call fcn.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e55b
mov ebx, dword [esi + 0x84]
add ebx, 0xbb4
jne 0x40e49a
xor eax, eax
jmp 0x40e4c4
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e60d
mov ebx, dword [esi + 0x84]
add ebx, 0x98
jne 0x40e594
xor eax, eax
jmp 0x40e5be
push ebx
push esi
call 0x7116a3
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x40e5aa
xor eax, eax
jmp 0x40e5be
lea eax, [edi + edi]
call fcn.00457bf0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0042d950
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
push 0x4eb510
lea edi, [ebp - 0x50]
call fcn.00404070
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.0043faf3
mov ecx, edi
call fcn.004040c0
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 0x40e50e
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e649
mov ebx, dword [esi + 0x84]
add ebx, 0xc4
jne 0x40e594
xor eax, eax
jmp 0x40e5be
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e6df
mov ebx, dword [esi + 0x84]
add ebx, 0x10
je 0x40e687
push ebx
push edx
call 0x574e06
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x40e68b
xor eax, eax
jmp 0x40e69f
lea eax, [edi + edi]
call fcn.00457bf0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0042d950
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
push 0x4eb510
lea edi, [ebp - 0x50]
call fcn.00404070
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.0043faf3
lea ecx, [ebp - 0x50]
call fcn.004040c0
lea ecx, [ebp - 0x50]
call fcn.004297a0
xor eax, eax
jmp 0x40ed5a
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e713
mov ebx, dword [esi + 0x84]
add ebx, 0x3c
jne 0x40e675
xor eax, eax
jmp 0x40e69f
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e760
push 0
push 0x3ea
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push 0
push 0x3ea
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e7e2
mov ebx, dword [esi + 0x84]
add ebx, 0x108
je 0x40e7a3
push ebx
call 0x74db59
xor eax, eax
jmp 0x40e7bb
mov edx, dword [ebp - 0x4c]
push edx
push eax
push 0x4eb510
lea edi, [ebp - 0x50]
call fcn.00404070
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add esp, 0xc
push 0x30
add eax, 0x18
push eax
push ecx
jmp 0x40e6c1
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.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e81b
mov ebx, dword [esi + 0x84]
add ebx, 0x130
jne 0x40e791
xor eax, eax
jmp 0x40e7bb
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 0x40e840
mov edx, dword [esi + 0x84]
cmp dword [edi + edx - 0x940], 0
je 0x40e8b4
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 0x40e862
sub ecx, dword [ebp - 0x70]
je 0x40e8b4
cmp dword [edi + edx], 0
je 0x40e8b4
cmp dword [edi + edx + 0x20], 0
je 0x40e8b4
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
push ecx
push edx
mov eax, ebx
mov ecx, esi
call fcn.00418e00
cmp dword [ebp - 0x4c], 0
je 0x40e8d9
mov ebx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x84]
shl ebx, 5
lea ebx, [ebx + eax + 0x1b4]
test ebx, ebx
jne 0x40e675
xor eax, eax
jmp 0x40e69f
mov ebx, dword [ebp - 0x58]
push 0
push ebx
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push 0
push ebx
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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 0x40e840
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.00418e00
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
je 0x40e938
mov ebx, dword [esi + 0x84]
add ebx, 0xcfc
jne 0x40e675
xor eax, eax
jmp 0x40e69f
mov eax, dword [esi + 0x84]
cmp dword [eax + 0xd80], ebx
jle 0x40e98c
cmp dword [eax + 0xd84], ebx
jle 0x40e98c
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [esi + 0x150]
add eax, 0xd88
push edx
mov ecx, esi
call fcn.00418e00
cmp dword [ebp - 0x4c], ebx
jne 0x40e98c
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40e9b4
push ebx
push 0x409
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x409
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40e9fe
push ebx
push 0x406
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x406
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40ea48
push ebx
push 0x407
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x407
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40ea92
push ebx
push 0x3fa
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x3fa
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40eadc
push ebx
push 0x3fb
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x3fb
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40eb26
push ebx
push 0x3fc
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x3fc
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40eb70
push ebx
push 0x3fd
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x3fd
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
cmp dword [ebp - 0x4c], ebx
je 0x40ebba
push ebx
push 0x3f9
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444546
push ebx
push 0x3f9
mov ecx, esi
call fcn.004443e6
mov ecx, eax
call fcn.00444588
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.00418e00
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x40ecb8
push eax
lea edx, [ebp - 0x48]
push edx
jmp 0x40e7c0
push 8
call fcn.00434f22
add esp, 4
cmp eax, ebx
je 0x40ecd1
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBrush.0
jmp 0x40ecd3
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 [0x4fd644]
call fcn.00421750
add esp, 0xc
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044a328
mov ecx, dword [esi + 0x178]
lea eax, [ebp - 0x6c]
push eax
call fcn.0042d910
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x41a930
call fcn.00448f29
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
call fcn.0042de50
lea ecx, [ebp - 0x50]
call fcn.004297a0
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.00451edd
mov esp, ebp
pop ebp
ret