Function at 0x47f090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x615815
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 8]
xor esi, esi
mov dword [esp + 0x74], esi
call fcn.004773c0
push ecx
add eax, 0x58
call fcn.0042f730
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [0x6b416c]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x47f103
cmp dword [ebx + 4], esi
jne 0x47f103
mov edx, dword [ebx + 8]
call fcn.004599e0
mov dword [esp + 0x20], eax
call fcn.0048d770
cmp dword [ebp + 0x14], esi
mov eax, dword [0x6b529c]
mov ecx, dword [0x6b52a0]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
je 0x47f1a3
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
test eax, eax
je 0x47f1ac
mov dword [esp + 0x3c], esi
cmp dword [ebx + 0x88], esi
je 0x47f14e
cmp dword [ebx + 0x9c], esi
jne 0x47f14e
mov dword [ebp + 0x18], 1
mov ecx, dword [ebx + 0x8c]
push ecx
push 0x6a335c
mov dword [esp + 0xa0], esi
call fcn.005669af
mov ecx, dword [ebx + 8]
add esp, 8
cmp ecx, esi
je 0x47f1b6
cmp ecx, 0xffffffff
je 0x47f1b6
cmp dword [ebx + 0xa0], esi
jne 0x47f1b6
cmp eax, esi
je 0x47f1b6
cmp dword [eax + 0x6d4], ecx
jne 0x47f1b6
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 0x6b4b3c
mov ecx, edi
call eax
mov dword [esp + 0x98], eax
jmp 0x47f1b9
test dword [ebx + 0xc], 0x40000
je 0x47f133
mov dword [esp + 0x3c], 1
jmp 0x47f137
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.0042f680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x70]
call eax
add dword [esp + 0x48], eax
call fcn.0042f680
mov esi, eax
lea eax, [esp + 0x58]
call fcn.00464d70
mov edx, dword [esi]
mov dword [esp + 0x88], eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x88]
add eax, dword [ecx]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], eax
call fcn.0042f680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x70]
call eax
add eax, 1
cdq
sub eax, edx
push 0xffffffffffffffff
sar eax, 1
push eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.user32.dll_InflateRect]
cmp dword [0x69ee94], 0
je 0x47f26d
mov esi, dword [ebx + 8]
call fcn.00465d10
test eax, eax
jne 0x47f279
mov dword [esp + 0x40], 0
xor esi, esi
jmp 0x47f2cc
mov edx, dword [ebx + 0x8c]
push edx
xor esi, esi
push 0x6a335c
mov dword [esp + 0x48], esi
call fcn.005669af
add esp, 8
cmp eax, esi
je 0x47f2cc
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.005606e4
push eax
push 0x6a2b4c
call fcn.005669af
add esp, 8
cmp eax, esi
je 0x47f2cc
mov ecx, eax
call fcn.0047ad70
test eax, eax
je 0x47f2cc
mov dword [esp + 0x40], 1
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x44], esi
jne 0x47f2ea
call fcn.0042f680
cmp dword [eax + 0x18], esi
je 0x47f2ea
mov edx, 1
mov dword [esp + 0x24], edx
jmp 0x47f2f3
mov dword [esp + 0x24], esi
mov edx, 1
cmp dword [esp + 0x40], esi
je 0x47f32c
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x44], edx
mov ecx, 0x110000
je 0x47f310
test dword [ebx + 0xc], ecx
je 0x47f310
mov dword [esp + 0x44], esi
cmp dword [ebx + 4], esi
je 0x47f31a
mov eax, dword [ebx + 0x44]
jmp 0x47f31d
mov eax, dword [ebx + 0x40]
cmp eax, esi
jge 0x47f341
test dword [ebx + 0xc], ecx
jne 0x47f341
mov dword [esp + 0x44], esi
jmp 0x47f341
test dword [ebx + 0xc], 0x110000
je 0x47f341
xor ecx, ecx
cmp dword [ebp + 0x18], esi
sete cl
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x18]
cmp ecx, esi
je 0x47f359
cmp dword [ebx + 4], esi
je 0x47f352
mov eax, dword [ebx + 0x44]
jmp 0x47f355
mov eax, dword [ebx + 0x40]
cmp eax, esi
jge 0x47f375
cmp dword [ebx + 0x44], esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0x18], edx
mov dword [ebx + 4], edx
jge 0x47f375
cmp dword [ebx + 0x40], esi
mov dword [ebx + 4], esi
jge 0x47f375
mov dword [ebx + 0x18], ecx
mov dword [ebx + 4], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], vtable.CRgn.0
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0xd4], esi
call dword [sym.imp.gdi32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0xa0]
call fcn.0056fcea
cmp dword [esp + 0x18], esi
jne 0x47f698
cmp dword [ebx + 0x18], esi
je 0x47f698
cmp dword [ebx + 4], esi
je 0x47f3c7
mov eax, dword [ebx + 0x44]
jmp 0x47f3ca
mov eax, dword [ebx + 0x40]
cmp eax, esi
jl 0x47f698
cmp dword [ebp + 0x10], esi
je 0x47f698
cmp dword [ebp + 0x18], esi
je 0x47f400
cmp dword [ebp + 0x14], esi
jne 0x47f400
call fcn.0042f680
cmp dword [eax + 0x10], esi
je 0x47f400
test dword [ebx + 0xc], 0x50000
mov dword [esp + 0x14], 1
je 0x47f404
mov dword [esp + 0x14], esi
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.0056f4a7
mov ecx, dword [ebp + 0x18]
push ecx
push edi
lea esi, [esp + 0x6c]
call fcn.00468900
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov esi, dword [esp + 0x54]
sub esi, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xb4]
call fcn.00464d70
sub esi, dword [eax + 4]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x88], eax
lea eax, [esp + 0x2c]
call fcn.00464d70
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
mov esi, eax
sar esi, 1
test dword [ebx + 0xc], 0x10000
mov dword [esp + 0x5c], edx
je 0x47f4a0
cmp dword [ebp + 0x14], 0
jne 0x47f4a0
call fcn.0042f680
cmp dword [eax + 0x10], 0
jne 0x47f4a0
mov eax, dword [esp + 0x88]
add esi, 1
add eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0xc]
test eax, 0x20000
jne 0x47f4c1
test eax, 0x40000
je 0x47f4c1
cmp dword [ebp + 0x1c], 0
je 0x47f4c1
cmp dword [ebp + 0x14], 0
je 0x47f5ba
cmp dword [esp + 0x20], 0
je 0x47f525
lea eax, [esp + 0x88]
call fcn.00464d70
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x48]
add eax, esi
add edx, eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x1c]
push edi
add edx, ecx
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], edx
call fcn.00459d80
jmp 0x47f5a3
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
add ecx, esi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x47f57b
cmp dword [ebx + 4], 0
je 0x47f551
mov eax, dword [ebx + 0x44]
jmp 0x47f554
mov eax, dword [ebx + 0x40]
mov edx, dword [esp + 0x1c]
push 0
push 1
push 0
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
mov eax, dword [ebp + 0x10]
push edi
call fcn.0048bee0
mov eax, 1
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
cmp dword [ebx + 4], 0
je 0x47f586
mov eax, dword [ebx + 0x44]
jmp 0x47f589
mov eax, dword [ebx + 0x40]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push edi
call fcn.0048bee0
cmp dword [ebp + 0x14], 0
jne 0x47f68e
test dword [ebx + 0xc], 0x20000
jne 0x47f68e
cmp dword [esp + 0x20], 0
je 0x47f5ff
lea eax, [esp + 0x18]
call fcn.00464d70
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [esp + 0x48]
add edx, esi
mov esi, dword [eax + 4]
mov eax, dword [eax]
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.004136c0
mov ecx, dword [esp + 0x20]
push edi
push ecx
call fcn.00459d80
jmp 0x47f68e
cmp dword [esp + 0x14], 0
je 0x47f646
cmp dword [ebx + 4], 0
je 0x47f611
mov eax, dword [ebx + 0x44]
jmp 0x47f614
mov eax, dword [ebx + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 0
push 1
push 0
push eax
mov eax, dword [esp + 0x6c]
add edx, eax
mov eax, dword [ebp + 0x10]
push edx
lea edx, [esi + ecx]
push edx
push edi
call fcn.0048bee0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.user32.dll_OffsetRect]
cmp dword [esp + 0x3c], 0
je 0x47f65a
cmp dword [ebp + 0x1c], 0
je 0x47f65a
mov ecx, 1
jmp 0x47f65c
xor ecx, ecx
cmp dword [ebx + 4], 0
je 0x47f667
mov eax, dword [ebx + 0x44]
jmp 0x47f66a
mov eax, dword [ebx + 0x40]
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x4c]
push 0
push ecx
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x5c]
add eax, ecx
push eax
mov eax, dword [ebp + 0x10]
add esi, edx
push esi
push edi
call fcn.0048bee0
xor esi, esi
mov dword [esp + 0x14], 1
cmp dword [0x6b41d4], esi
jne 0x47f6ac
cmp dword [esp + 0x14], esi
jne 0x47f76d
xor esi, esi
mov ecx, dword [ebx + 0x8c]
cmp ecx, esi
jne 0x47f6ea
call fcn.005669f5
cmp eax, esi
je 0x47f6d8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
push eax
push 0x620640
call fcn.005669af
add esp, 8
jmp 0x47f6f8
xor eax, eax
push eax
push 0x620640
call fcn.005669af
add esp, 8
jmp 0x47f6f8
mov eax, dword [0x6b41dc]
cmp eax, esi
jne 0x47f6f8
call fcn.00561183
mov esi, eax
push esi
push 0x647bd0
call fcn.005669af
add esp, 8
test eax, eax
je 0x47f716
mov edx, dword [eax]
mov edx, dword [edx + 0x188]
jmp 0x47f75e
push esi
push 0x64ab3c
call fcn.005669af
add esp, 8
test eax, eax
je 0x47f732
mov edx, dword [eax]
mov edx, dword [edx + 0x17c]
jmp 0x47f75e
push esi
push 0x64adb0
call fcn.005669af
add esp, 8
test eax, eax
jne 0x47f756
push esi
push 0x64ca60
call fcn.005669af
add esp, 8
test eax, eax
je 0x47f76d
mov edx, dword [eax]
mov edx, dword [edx + 0x19c]
lea ecx, [esp + 0x48]
push ecx
push ebx
push edi
mov ecx, eax
call edx
mov dword [esp + 0x14], eax
push 0
mov ecx, edi
call fcn.0056f6ec
mov eax, dword [ebx + 0xc]
add dword [esp + 0x50], 1
and eax, 0x10000
mov ecx, dword [esp + 0x14]
je 0x47f8b4
test ecx, ecx
jne 0x47f8b8
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
push 0xffffffffffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
push 0
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.user32.dll_InflateRect]
cmp dword [esp + 0x44], 0
jne 0x47f7e3
cmp dword [esp + 0x40], 0
je 0x47f7e3
push 0x6b4afc
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.0042f5e0
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x94]
mov esi, dword [esp + 0x30]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x90]
sar ecx, 1
add ecx, esi
mov esi, dword [esp + 0x2c]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
test dword [ebx + 0xc], 0x40000
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp + 0x1c], ecx
je 0x47f838
neg eax
sbb eax, eax
and eax, 0x10
add eax, 7
jmp 0x47f842
neg eax
sbb eax, eax
and eax, 0x10
add eax, 6
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
push eax
push edi
lea esi, [esp + 0x34]
call fcn.00468900
mov ecx, dword [esp + 0x24]
xor eax, eax
push ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push edi
lea eax, [esp + 0x60]
lea edi, [esp + 0x20]
call fcn.0048d7d0
add esp, 8
call fcn.0042f680
mov ecx, dword [esp + 0x64]
mov esi, dword [eax]
push 1
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
push ebx
mov ecx, eax
mov eax, dword [esi + 0x44]
push edx
call eax
mov edi, dword [ebp + 8]
jmp 0x47f90b
test ecx, ecx
je 0x47f90b
cmp dword [ebp + 0x18], 0
je 0x47f8cb
test eax, eax
jne 0x47f8cb
call fcn.0042f680
push 2
jmp 0x47f8da
test ecx, ecx
je 0x47f90b
test eax, eax
je 0x47f90b
call fcn.0042f680
push 1
mov ecx, dword [esp + 0x68]
mov esi, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x84]
push ebx
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0x44]
push edi
mov ecx, eax
call edx
or ecx, 0xffffffff
cmp dword [esp + 0x14], 0
mov dword [esp + 0x20], ecx
jne 0x47fa90
mov eax, dword [ebx + 8]
cmp eax, 0xf060
ja 0x47f969
je 0x47f957
sub eax, 0xf020
je 0x47f949
sub eax, 0x10
jne 0x47fa90
cmp dword [esp + 0x3c], eax
setne al
add eax, 0xe
mov dword [esp + 0x20], eax
jmp 0x47f984
xor edx, edx
cmp dword [esp + 0x3c], edx
setne dl
add edx, 8
jmp 0x47f980
xor eax, eax
cmp dword [esp + 0x3c], eax
setne al
add eax, 0xc
mov dword [esp + 0x20], eax
jmp 0x47f984
cmp eax, 0xf120
jne 0x47fa90
xor edx, edx
cmp dword [esp + 0x3c], edx
setne dl
add edx, 0xa
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], ecx
je 0x47fa90
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.0042f680
mov esi, eax
call fcn.0042f680
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x70]
call eax
neg esi
push esi
neg eax
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.user32.dll_InflateRect]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub eax, esi
sub eax, dword [esp + 0x94]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x34]
sar ecx, 1
add ecx, esi
mov esi, dword [esp + 0x2c]
sub eax, esi
sub eax, dword [esp + 0x90]
mov dword [esp + 0x1c], ecx
cdq
sub eax, edx
mov edx, dword [ebp + 0x18]
sar eax, 1
add eax, esi
push edx
push edi
lea esi, [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.00468900
mov eax, dword [esp + 0x20]
push eax
xor esi, esi
push edi
lea eax, [esp + 0x60]
lea edi, [esp + 0x20]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.0048d7d0
add esp, 8
cmp dword [ebp + 0x18], esi
je 0x47fa8d
call fcn.0042f680
mov ecx, dword [esp + 0x64]
mov esi, dword [eax]
push 2
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
push ebx
mov ecx, eax
mov eax, dword [esi + 0x44]
push edx
call eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
call fcn.0042f680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x70]
call eax
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + eax*2]
lea eax, [eax + edx - 4]
mov dword [esp + 0x78], eax
je 0x47fb72
test dword [ebx + 0xc], 0x10000
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
jne 0x47fb0e
cmp dword [esp + 0x14], 0
jne 0x47fb0e
cmp dword [esp + 0x20], 0xffffffff
je 0x47fb15
add eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov esi, dword [esi + 8]
sub esi, 1
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x34], esi
je 0x47fb32
mov edx, dword [0x6b4ad0]
mov dword [esp + 0x60], edx
jmp 0x47fb3b
mov eax, dword [0x6b4af4]
mov dword [esp + 0x60], eax
call fcn.0042f680
mov esi, dword [eax]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0x48]
push ebx
push edi
mov ecx, eax
call edx
jmp 0x47fb8e
cmp dword [esp + 0x3c], 0
je 0x47fb84
mov eax, dword [0x6b4aec]
mov dword [esp + 0x60], eax
jmp 0x47fb8e
mov ecx, dword [0x6b4adc]
mov dword [esp + 0x60], ecx
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.00401db0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xd0], 1
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47fbc9
push 0x80004005
call fcn.004012a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0xd0], 2
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x47fca6
push 9
push eax
call fcn.0059fba2
add esp, 8
test eax, eax
je 0x47fca6
sub eax, dword [esi]
mov dword [esp + 0x24], eax
js 0x47fca6
mov ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040ff90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 3
call fcn.00407290
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fc58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
add ecx, 1
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0040ff60
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 4
call fcn.00407290
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 8]
push ecx
call dword [sym.imp.gdi32.dll_GetTextColor]
add dword [esp + 0x78], 3
cmp dword [ebx + 0x20], 0
mov dword [esp + 0x88], eax
jne 0x47fe01
push 0x64a578
lea ecx, [esp + 0x48]
call fcn.00404e10
mov byte [esp + 0xd0], 5
mov esi, dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
jle 0x47fd33
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00404940
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
or dword [esp + 0x80], 1
add esp, 0xc
lea edx, [esp + 0x58]
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call esi
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
mov byte [esp + 0x2b], 1
cmp dword [esp + 0x58], ecx
jg 0x47fd38
mov byte [esp + 0x2b], 0
test byte [esp + 0x74], 1
je 0x47fd64
mov eax, dword [esp + 0x18]
and dword [esp + 0x74], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47fd64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2b], 0
je 0x47fdc7
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add eax, 0xffffffff
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040ff90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 6
call fcn.00407290
mov byte [esp + 0xd0], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47fce2
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004071b0
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fe01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], 0
je 0x47fe6b
cmp dword [ebp + 0x18], 0
jne 0x47fe6b
mov edx, dword [edi]
mov eax, dword [0x6b4ad8]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
push 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x88]
push 1
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.user32.dll_OffsetRect]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
mov edx, dword [edi]
push 0x24
lea esi, [esp + 0x30]
push esi
push eax
mov eax, dword [edx + 0x68]
push ecx
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [esp + 0x60]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
mov edx, dword [edi]
push 0x24
lea esi, [esp + 0x7c]
push esi
push eax
mov eax, dword [edx + 0x68]
push ecx
mov ecx, edi
call eax
mov esi, dword [esp + 0x40]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x47ff6a
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
sub eax, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x84]
sub eax, 3
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
je 0x47ff47
cmp dword [ebp + 0x18], 0
jne 0x47ff47
mov edx, dword [edi]
mov eax, dword [0x6b4ad8]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push 1
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x3c]
push 1
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
call dword [sym.imp.user32.dll_OffsetRect]
mov eax, dword [esi - 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push 0x26
lea ecx, [esp + 0xb8]
push ecx
push eax
push esi
mov ecx, edi
call edx
mov ecx, dword [esp + 0x60]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, edi
call edx
mov eax, dword [esi - 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push 0x26
lea ecx, [esp + 0x30]
push ecx
push eax
push esi
mov ecx, edi
call edx
cmp dword [ebx + 8], 0xffffffff
je 0x47ff86
cmp dword [ebx + 0x80], 0
jne 0x47ff86
cmp dword [ebx + 0xa0], 0
je 0x480028
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push 0x6b4b5c
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xac], ecx
push 0x64a57c
lea ecx, [esp + 0x28]
mov dword [esp + 0xb4], edx
call fcn.00404e10
mov byte [esp + 0xd0], 7
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 0x26
lea esi, [esp + 0xa8]
push esi
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push ebx
mov ecx, edi
call eax
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x98]
test eax, eax
je 0x48003d
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [esp + 0x88]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
add esi, 0xfffffff0
mov byte [esp + 0xd0], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480072
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0xd0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48009a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], vtable.CRgn.0
call fcn.00423d70
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18