Function at 0x474650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1f40
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x66f040]
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
mov ecx, dword [0x6803c0]
call fcn.004940f0
mov dword [ebp - 0x54], eax
call fcn.004aa5ff
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4746a7
push 0x80004005
call fcn.00460d60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
mov eax, dword [edi + 0xa8]
mov ecx, edi
add eax, 0x74
push eax
push 0x6739dc
call fcn.0047b750
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x474745
mov ebx, dword [edi + 0xa8]
add ebx, 0x74
je 0x47473c
mov ecx, ebx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4746f0
sub ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
cmp eax, 0x3fffffff
jg 0x47473c
add eax, eax
call fcn.005c9300
mov esi, esp
test esi, esi
je 0x474739
push dword [ebp - 0x5c]
xor eax, eax
push esi
push 0xffffffffffffffff
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
test eax, eax
push edx
cmove esi, ecx
push esi
jmp 0x474e57
mov edx, dword [ebp - 0x4c]
xor esi, esi
push edx
push esi
jmp 0x474e57
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xbb4
push eax
push 0x6739e4
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x4747be
mov esi, dword [edi + 0xa8]
add esi, 0xbb4
jne 0x47477f
push dword [ebp - 0x4c]
xor eax, eax
jmp 0x474e56
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474784
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jle 0x4747a2
push dword [ebp - 0x4c]
xor eax, eax
jmp 0x474e56
lea eax, [ebx + ebx]
call fcn.005c9300
mov eax, esp
push 3
push ebx
push esi
push eax
call fcn.0048f980
push dword [ebp - 0x4c]
jmp 0x474e56
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0x98
push eax
lea eax, [edi + 0xac]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x4747fe
mov esi, dword [edi + 0xa8]
add esi, 0x98
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4747f5
jmp 0x47478b
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xc4
push eax
lea eax, [edi + 0xb4]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x47484c
mov esi, dword [edi + 0xa8]
add esi, 0xc4
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474840
jmp 0x47478b
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0x10
push eax
lea eax, [edi + 0xbc]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x47488e
mov esi, dword [edi + 0xa8]
add esi, 0x10
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474882
jmp 0x47478b
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0x3c
push eax
lea eax, [edi + 0xc4]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x4748d0
mov esi, dword [edi + 0xa8]
add esi, 0x3c
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4748c4
jmp 0x47478b
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0x15c
push eax
lea eax, [edi + 0xcc]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x47491e
push 0
push 0x3ea
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x3ea
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0x108
push eax
lea eax, [edi + 0xd4]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x47496c
mov esi, dword [edi + 0xa8]
add esi, 0x108
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474960
jmp 0x47478b
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0x130
push eax
lea eax, [edi + 0xdc]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x4749b3
mov esi, dword [edi + 0xa8]
add esi, 0x130
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4749a7
jmp 0x47478b
xor ecx, ecx
mov dword [ebp - 0x58], 0x3ee
lea eax, [edi + 0xf4]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov ebx, 0xad4
mov dword [ebp - 0x64], eax
mov edx, dword [edi + 0xa8]
cmp dword [ebx + edx - 0x940], 0
je 0x474a84
lea eax, [edx + 0x1b4]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x74], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x70], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4749f7
sub ecx, dword [ebp - 0x70]
je 0x474a84
cmp dword [ebx + edx], 0
je 0x474a84
cmp dword [ebx + edx + 0x20], 0
je 0x474a84
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x64]
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474aaa
mov ecx, dword [ebp - 0x60]
mov ebx, dword [edi + 0xa8]
shl ecx, 5
add ecx, 0x1b4
add ebx, ecx
je 0x474798
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474a50
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x474798
lea eax, [esi + esi]
call fcn.005c9300
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0048f980
push dword [ebp - 0x4c]
jmp 0x474e56
push 0
push dword [ebp - 0x58]
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push dword [ebp - 0x58]
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
mov ecx, dword [ebp - 0x5c]
add ebx, 4
inc dword [ebp - 0x60]
add ecx, 0x20
add dword [ebp - 0x64], 8
inc dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
cmp ebx, 0xaf4
jl 0x4749d0
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xcfc
push eax
lea eax, [edi + 0x134]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474b13
mov esi, dword [edi + 0xa8]
add esi, 0xcfc
je 0x474798
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474b07
jmp 0x47478b
mov eax, dword [edi + 0xa8]
cmp dword [eax + 0xd80], 0
jle 0x474b6d
cmp dword [eax + 0xd84], 0
jle 0x474b6d
lea ecx, [ebp - 0x4c]
add eax, 0xd88
push ecx
push eax
lea eax, [edi + 0x174]
mov ecx, edi
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
mov ecx, edi
jne 0x474b6f
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xda8
push eax
lea eax, [edi + 0x17c]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474bc1
mov ecx, edi
push 0
push 0x409
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x409
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
push 0
push 0x40a
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x40a
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xd2c
push eax
lea eax, [edi + 0x13c]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474c0f
push 0
push 0x406
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x406
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xd58
push eax
lea eax, [edi + 0x144]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474c5d
push 0
push 0x407
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x407
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xc04
push eax
lea eax, [edi + 0x14c]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474cab
push 0
push 0x3fa
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x3fa
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xc2c
push eax
lea eax, [edi + 0x154]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474cf9
push 0
push 0x3fb
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x3fb
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xc54
push eax
lea eax, [edi + 0x15c]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474d47
push 0
push 0x3fc
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x3fc
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xc7c
push eax
lea eax, [edi + 0x164]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474d95
push 0
push 0x3fd
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x3fd
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
mov eax, dword [edi + 0xa8]
add eax, 0xca8
push eax
lea eax, [edi + 0x16c]
push eax
call fcn.0047b750
cmp dword [ebp - 0x4c], 0
je 0x474de3
push 0
push 0x3f9
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0
push 0x3f9
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004a98b8
movdqa xmm0, xmmword [0x64e4c0]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
mov word [ebp - 0x38], 0x70
push eax
lea eax, [edi + 0x184]
mov dword [ebp - 0x34], 0x4f0050
push eax
mov ecx, edi
mov dword [ebp - 0x30], 0x450053
movdqu xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x2c], 0x440049
mov dword [ebp - 0x28], 0x4e004f
mov dword [ebp - 0x24], 0x41004d
mov dword [ebp - 0x20], 0x4e0049
mov dword [ebp - 0x1c], 0x2e0031
mov dword [ebp - 0x18], 0x6d0062
mov dword [ebp - 0x14], 0x70
call fcn.0047b750
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x474e8d
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push 0x64c150
push eax
call fcn.00460980
mov eax, dword [ebp - 0x54]
add esp, 0x10
add eax, 0x18
mov ecx, edi
push 0x30
push eax
push dword [ebp - 0x50]
call fcn.004a5003
lea ecx, [ebp - 0x50]
call fcn.004609a0
mov esi, dword [ebp - 0x50]
xor edi, edi
jmp 0x474f39
push 8
call fcn.0049a300
add esp, 4
test eax, eax
je 0x474eaa
mov dword [eax + 4], 0
mov dword [eax], vtable.CBrush.0
jmp 0x474eac
xor eax, eax
mov dword [edi + 0x19c], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], vtable.CBitmap.0
mov byte [ebp - 4], 1
mov edx, dword [edi + 0xa8]
mov ecx, dword [0x6739e0]
push dword [edx + 0xf8]
push dword [edx + 0xf4]
push dword [edx + 0xf0]
mov edx, dword [edx + 0xec]
call fcn.004869a0
add esp, 0xc
lea ecx, [ebp - 0x6c]
push eax
call fcn.004b0ec4
mov ecx, dword [edi + 0x19c]
lea eax, [ebp - 0x6c]
push eax
call fcn.0048f940
push 0
push 0
push 0
push 0
add edi, 0x1ac
push edi
push 0x483900
call fcn.004ae912
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov edi, 1
mov dword [ebp - 0x6c], vtable.CBitmap.0
call fcn.0048fdb0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x474f5a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
lea esp, [ebp - 0x88]
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.005c02df
mov esp, ebp
pop ebp
ret