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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61d6b5
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x69e3d4]
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.004797f0
push ecx
add eax, 0x58
call fcn.0047ce90
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [0x6bce34]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x483903
cmp dword [ebx + 4], esi
jne 0x483903
mov edx, dword [ebx + 8]
call fcn.0045be30
mov dword [esp + 0x20], eax
call fcn.0048fcd0
cmp dword [ebp + 0x14], esi
mov eax, dword [0x6be07c]
mov ecx, dword [0x6be080]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
je 0x4839a3
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
test eax, eax
je 0x4839ac
mov dword [esp + 0x3c], esi
cmp dword [ebx + 0x88], esi
je 0x48394e
cmp dword [ebx + 0x9c], esi
jne 0x48394e
mov dword [ebp + 0x18], 1
mov ecx, dword [ebx + 0x8c]
push ecx
push 0x6ab340
mov dword [esp + 0xa0], esi
call fcn.0056ef6f
mov ecx, dword [ebx + 8]
add esp, 8
cmp ecx, esi
je 0x4839b6
cmp ecx, 0xffffffff
je 0x4839b6
cmp dword [ebx + 0xa0], esi
jne 0x4839b6
cmp eax, esi
je 0x4839b6
cmp dword [eax + 0x6d4], ecx
jne 0x4839b6
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 0x6bd91c
mov ecx, edi
call eax
mov dword [esp + 0x98], eax
jmp 0x4839b9
test dword [ebx + 0xc], 0x40000
je 0x483933
mov dword [esp + 0x3c], 1
jmp 0x483937
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.00430ac0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x70]
call eax
add dword [esp + 0x48], eax
call fcn.00430ac0
mov esi, eax
lea eax, [esp + 0x58]
call fcn.00467240
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.00430ac0
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 [0x6a6e8c], 0
je 0x483a6d
mov esi, dword [ebx + 8]
call fcn.004681e0
test eax, eax
jne 0x483a79
mov dword [esp + 0x40], 0
xor esi, esi
jmp 0x483acc
mov edx, dword [ebx + 0x8c]
push edx
xor esi, esi
push 0x6ab340
mov dword [esp + 0x48], esi
call fcn.0056ef6f
add esp, 8
cmp eax, esi
je 0x483acc
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.005680c4
push eax
push 0x6aab88
call fcn.0056ef6f
add esp, 8
cmp eax, esi
je 0x483acc
mov ecx, eax
call fcn.0047f500
test eax, eax
je 0x483acc
mov dword [esp + 0x40], 1
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x44], esi
jne 0x483aea
call fcn.00430ac0
cmp dword [eax + 0x18], esi
je 0x483aea
mov edx, 1
mov dword [esp + 0x24], edx
jmp 0x483af3
mov dword [esp + 0x24], esi
mov edx, 1
cmp dword [esp + 0x40], esi
je 0x483b2c
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x44], edx
mov ecx, 0x110000
je 0x483b10
test dword [ebx + 0xc], ecx
je 0x483b10
mov dword [esp + 0x44], esi
cmp dword [ebx + 4], esi
je 0x483b1a
mov eax, dword [ebx + 0x44]
jmp 0x483b1d
mov eax, dword [ebx + 0x40]
cmp eax, esi
jge 0x483b41
test dword [ebx + 0xc], ecx
jne 0x483b41
mov dword [esp + 0x44], esi
jmp 0x483b41
test dword [ebx + 0xc], 0x110000
je 0x483b41
xor ecx, ecx
cmp dword [ebp + 0x18], esi
sete cl
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x18]
cmp ecx, esi
je 0x483b59
cmp dword [ebx + 4], esi
je 0x483b52
mov eax, dword [ebx + 0x44]
jmp 0x483b55
mov eax, dword [ebx + 0x40]
cmp eax, esi
jge 0x483b75
cmp dword [ebx + 0x44], esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0x18], edx
mov dword [ebx + 4], edx
jge 0x483b75
cmp dword [ebx + 0x40], esi
mov dword [ebx + 4], esi
jge 0x483b75
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.00577879
cmp dword [esp + 0x18], esi
jne 0x483e98
cmp dword [ebx + 0x18], esi
je 0x483e98
cmp dword [ebx + 4], esi
je 0x483bc7
mov eax, dword [ebx + 0x44]
jmp 0x483bca
mov eax, dword [ebx + 0x40]
cmp eax, esi
jl 0x483e98
cmp dword [ebp + 0x10], esi
je 0x483e98
cmp dword [ebp + 0x18], esi
je 0x483c00
cmp dword [ebp + 0x14], esi
jne 0x483c00
call fcn.00430ac0
cmp dword [eax + 0x10], esi
je 0x483c00
test dword [ebx + 0xc], 0x50000
mov dword [esp + 0x14], 1
je 0x483c04
mov dword [esp + 0x14], esi
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.00577036
mov ecx, dword [ebp + 0x18]
push ecx
push edi
lea esi, [esp + 0x6c]
call fcn.0046d120
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.00467240
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.00467240
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 0x483ca0
cmp dword [ebp + 0x14], 0
jne 0x483ca0
call fcn.00430ac0
cmp dword [eax + 0x10], 0
jne 0x483ca0
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 0x483cc1
test eax, 0x40000
je 0x483cc1
cmp dword [ebp + 0x1c], 0
je 0x483cc1
cmp dword [ebp + 0x14], 0
je 0x483dba
cmp dword [esp + 0x20], 0
je 0x483d25
lea eax, [esp + 0x88]
call fcn.00467240
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.0045c1d0
jmp 0x483da3
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 0x483d7b
cmp dword [ebx + 4], 0
je 0x483d51
mov eax, dword [ebx + 0x44]
jmp 0x483d54
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.0048d700
mov eax, 1
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
cmp dword [ebx + 4], 0
je 0x483d86
mov eax, dword [ebx + 0x44]
jmp 0x483d89
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.0048d700
cmp dword [ebp + 0x14], 0
jne 0x483e8e
test dword [ebx + 0xc], 0x20000
jne 0x483e8e
cmp dword [esp + 0x20], 0
je 0x483dff
lea eax, [esp + 0x18]
call fcn.00467240
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.00413ee0
mov ecx, dword [esp + 0x20]
push edi
push ecx
call fcn.0045c1d0
jmp 0x483e8e
cmp dword [esp + 0x14], 0
je 0x483e46
cmp dword [ebx + 4], 0
je 0x483e11
mov eax, dword [ebx + 0x44]
jmp 0x483e14
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.0048d700
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.user32.dll_OffsetRect]
cmp dword [esp + 0x3c], 0
je 0x483e5a
cmp dword [ebp + 0x1c], 0
je 0x483e5a
mov ecx, 1
jmp 0x483e5c
xor ecx, ecx
cmp dword [ebx + 4], 0
je 0x483e67
mov eax, dword [ebx + 0x44]
jmp 0x483e6a
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.0048d700
xor esi, esi
mov dword [esp + 0x14], 1
cmp dword [0x6bce9c], esi
jne 0x483eac
cmp dword [esp + 0x14], esi
jne 0x483f6d
xor esi, esi
mov ecx, dword [ebx + 0x8c]
cmp ecx, esi
jne 0x483eea
call fcn.0056efb5
cmp eax, esi
je 0x483ed8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
push eax
push 0x62803c
call fcn.0056ef6f
add esp, 8
jmp 0x483ef8
xor eax, eax
push eax
push 0x62803c
call fcn.0056ef6f
add esp, 8
jmp 0x483ef8
mov eax, dword [0x6bcebc]
cmp eax, esi
jne 0x483ef8
call fcn.00568b63
mov esi, eax
push esi
push 0x64f6f8
call fcn.0056ef6f
add esp, 8
test eax, eax
je 0x483f16
mov edx, dword [eax]
mov edx, dword [edx + 0x188]
jmp 0x483f5e
push esi
push 0x65266c
call fcn.0056ef6f
add esp, 8
test eax, eax
je 0x483f32
mov edx, dword [eax]
mov edx, dword [edx + 0x17c]
jmp 0x483f5e
push esi
push 0x6528e0
call fcn.0056ef6f
add esp, 8
test eax, eax
jne 0x483f56
push esi
push 0x654b78
call fcn.0056ef6f
add esp, 8
test eax, eax
je 0x483f6d
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.0057727b
mov eax, dword [ebx + 0xc]
add dword [esp + 0x50], 1
and eax, 0x10000
mov ecx, dword [esp + 0x14]
je 0x4840b4
test ecx, ecx
jne 0x4840b8
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 0x483fe3
cmp dword [esp + 0x40], 0
je 0x483fe3
push 0x6bd8dc
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.00430a20
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 0x484038
neg eax
sbb eax, eax
and eax, 0x10
add eax, 7
jmp 0x484042
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.0046d120
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.0048fd30
add esp, 8
call fcn.00430ac0
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 0x48410b
test ecx, ecx
je 0x48410b
cmp dword [ebp + 0x18], 0
je 0x4840cb
test eax, eax
jne 0x4840cb
call fcn.00430ac0
push 2
jmp 0x4840da
test ecx, ecx
je 0x48410b
test eax, eax
je 0x48410b
call fcn.00430ac0
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 0x484290
mov eax, dword [ebx + 8]
cmp eax, 0xf060
ja 0x484169
je 0x484157
sub eax, 0xf020
je 0x484149
sub eax, 0x10
jne 0x484290
cmp dword [esp + 0x3c], eax
setne al
add eax, 0xe
mov dword [esp + 0x20], eax
jmp 0x484184
xor edx, edx
cmp dword [esp + 0x3c], edx
setne dl
add edx, 8
jmp 0x484180
xor eax, eax
cmp dword [esp + 0x3c], eax
setne al
add eax, 0xc
mov dword [esp + 0x20], eax
jmp 0x484184
cmp eax, 0xf120
jne 0x484290
xor edx, edx
cmp dword [esp + 0x3c], edx
setne dl
add edx, 0xa
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], ecx
je 0x484290
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.00430ac0
mov esi, eax
call fcn.00430ac0
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.0046d120
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.0048fd30
add esp, 8
cmp dword [ebp + 0x18], esi
je 0x48428d
call fcn.00430ac0
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.00430ac0
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 0x484372
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 0x48430e
cmp dword [esp + 0x14], 0
jne 0x48430e
cmp dword [esp + 0x20], 0xffffffff
je 0x484315
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 0x484332
mov edx, dword [0x6bd8b0]
mov dword [esp + 0x60], edx
jmp 0x48433b
mov eax, dword [0x6bd8d4]
mov dword [esp + 0x60], eax
call fcn.00430ac0
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 0x48438e
cmp dword [esp + 0x3c], 0
je 0x484384
mov eax, dword [0x6bd8cc]
mov dword [esp + 0x60], eax
jmp 0x48438e
mov ecx, dword [0x6bd8bc]
mov dword [esp + 0x60], ecx
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.00401de0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xd0], 1
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4843c9
push 0x80004005
call fcn.004012f0
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 0x4844a6
push 9
push eax
call fcn.005a7472
add esp, 8
test eax, eax
je 0x4844a6
sub eax, dword [esi]
mov dword [esp + 0x24], eax
js 0x4844a6
mov ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004103b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 3
call fcn.004074e0
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 0x484458
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.00410380
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 4
call fcn.004074e0
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 0x4844a6
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 0x484601
push 0x652298
lea ecx, [esp + 0x48]
call fcn.00404eb0
mov byte [esp + 0xd0], 5
mov esi, dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
jle 0x484533
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004049e0
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 0x484538
mov byte [esp + 0x2b], 0
test byte [esp + 0x74], 1
je 0x484564
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 0x484564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2b], 0
je 0x4845c7
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.004103b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 6
call fcn.004074e0
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 0x4844e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4844e2
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00407400
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 0x484601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], 0
je 0x48466b
cmp dword [ebp + 0x18], 0
jne 0x48466b
mov edx, dword [edi]
mov eax, dword [0x6bd8b8]
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 0x48476a
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 0x484747
cmp dword [ebp + 0x18], 0
jne 0x484747
mov edx, dword [edi]
mov eax, dword [0x6bd8b8]
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 0x484786
cmp dword [ebx + 0x80], 0
jne 0x484786
cmp dword [ebx + 0xa0], 0
je 0x484828
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push 0x6bd93c
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 0x65229c
lea ecx, [esp + 0x28]
mov dword [esp + 0xb4], edx
call fcn.00404eb0
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 0x484824
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 0x48483d
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 0x484872
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 0x48489a
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.00424fa0
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