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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ba33b
push eax
mov dword fs:[0], esp
sub esp, 0xaf0
push ebx
push ebp
mov ebp, dword [esp + 0xb08]
mov eax, dword [ebp + 0x10]
push esi
push edi
cmp eax, 0x2af8
jb 0x47d6d9
push 0x4bd2c4
push str.Too_many_controls.
mov ecx, 0x4ea1d0
call fcn.00449df0
jmp 0x480dab
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jb 0x47d705
mov eax, dword [ebp + 0x18]
add ecx, 0x3e8
shl ecx, 6
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_realloc]
add esp, 8
test eax, eax
je 0x47d6c0
add dword [ebp + 0x14], 0x3e8
mov dword [ebp + 0x18], eax
mov edi, dword [ebp + 0x10]
shl edi, 6
add edi, dword [ebp + 0x18]
push 0x40
push 0
push edi
mov dword [esp + 0x28], edi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea esi, [esp + 0x7c]
call fcn.004846f0
mov bl, byte [esp + 0xb14]
xor edi, edi
mov dword [esp + 0x6c], edi
cmp bl, 0x1a
jne 0x47d786
mov esi, dword [esp + 0xb1c]
mov ebx, esi
call fcn.0047ae00
mov edi, eax
mov dword [esp + 0x6c], edi
test edi, edi
jne 0x47d764
call fcn.00403dd0
mov esi, eax
call fcn.0047ae40
mov edi, eax
mov dword [esp + 0x6c], edi
mov bl, byte [esp + 0xb14]
mov cl, byte [ebp + 0xc1]
mov eax, dword [esp + 0x1c]
mov byte [eax + 6], cl
mov dl, byte [ebp + 0xc2]
mov byte [eax + 7], dl
jmp 0x47d811
cmp bl, 0x14
jne 0x47d79d
mov eax, dword [esp + 0x1c]
or byte [eax + 5], 0x80
mov byte [esp + 0xb14], 0x13
jmp 0x47d7bf
cmp bl, 0x15
jne 0x47d7b6
mov byte [esp + 0xb14], 0x13
mov word [esp + 0x20f], 0x301
jmp 0x47d7bf
cmp bl, 0x13
jne 0x47d8cf
mov al, 0xff
cmp byte [ebp + 0xc0], al
jne 0x47d7e2
push 0x4bd2c4
push str.Too_many_tab_controls.
mov ecx, 0x4ea1d0
call fcn.00449df0
jmp 0x480dab
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 6], al
mov dl, byte [ebp + 0xc0]
mov byte [ecx + 7], dl
mov bl, byte [ebp + 0xc1]
mov ecx, ebp
call fcn.0048a300
test eax, eax
je 0x47d80a
push eax
push ebp
call fcn.0048a7b0
mov bl, byte [esp + 0xb14]
cmp dword [ebp + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x47d898
cmp dword [ebp + 0x78], 0x80000000
jne 0x47d856
mov eax, dword [ebp + 0x50]
mov ecx, dword [0x4e9820]
imul eax, eax, 0x94
fild dword [eax + ecx + 0x84]
fmul qword [0x4de838]
call fcn.004b9c20
mov edx, dword [0x4ea160]
push 0x60
push edx
push eax
call esi
mov dword [ebp + 0x78], eax
cmp dword [ebp + 0x7c], 0x80000000
jne 0x47d88f
mov eax, dword [ebp + 0x50]
mov ecx, dword [0x4e9820]
imul eax, eax, 0x94
fild dword [eax + ecx + 0x84]
fmul qword [0x4de880]
call fcn.004b9c20
mov edx, dword [0x4ea160]
push 0x60
push edx
push eax
call esi
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x80], eax
mov eax, dword [esp + 0x1c]
mov byte [eax + 4], bl
mov cl, byte [ebp + 0x45]
or dword [esp + 0x7c], 0x10000000
mov byte [esp + 0x20d], cl
mov ecx, 0x20000
cmp bl, 6
jne 0x47d903
or dword [esp + 0x7c], 0x4000
cmp byte [ebp + 0x44], 0
jne 0x47d921
or dword [esp + 0x7c], ecx
jmp 0x47d921
cmp bl, 0x19
jne 0x47d76b
cmp dword [ebp + 8], edi
je 0x47d8f6
push 0x4bd2c4
push str.Too_many_status_bars.
mov ecx, 0x4ea1d0
call fcn.00449df0
jmp 0x480dab
mov eax, dword [esp + 0x1c]
mov byte [eax + 6], 0xff
jmp 0x47d811
cmp byte [ebp + 0x44], 0
je 0x47d90d
or dword [esp + 0x7c], ecx
cmp bl, 2
je 0x47d93e
cmp bl, 0x10
je 0x47d93e
cmp bl, 0x11
je 0x47d93e
cmp bl, 0x12
je 0x47d93e
cmp byte [eax + 4], 0xa
mov byte [esp + 0x49], 1
je 0x47d932
mov edx, dword [ebp + 0x54]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 0x54]
mov dword [esp + 0xd8], eax
jmp 0x47d94f
mov byte [esp + 0x49], 0
cmp bl, 0x12
jne 0x47d94f
mov dword [eax + 0x10], 0xff000000
movzx eax, bl
mov dword [esp + 0x70], eax
add eax, 0xfffffffc
cmp eax, 0x16
ja case.0x47d962.6
jmp dword [eax*4 + 0x480dc8]
or dword [esp + 0x7c], 0x210000
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x210042
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x210080
or dword [esp + 0x84], 0x200
jmp case.0x47d962.6
or dword [esp + 0x8c], 0x30
or dword [esp + 0x7c], 0x10008
or dword [esp + 0x84], 0x200
mov dword [esp + 0x90], 1
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x10027
or dword [esp + 0x84], 0x200
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x10000
or dword [esp + 0x84], 0x200
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x36
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x1000c
jmp case.0x47d962.6
or dword [esp + 0x7c], 1
jmp case.0x47d962.6
cmp byte [esp + 0x20f], 0
jne 0x47da29
mov byte [esp + 0x20d], 0
or dword [esp + 0x7c], 0x10200
jmp case.0x47d962.6
or dword [esp + 0x7c], 0x4000000
jmp case.0x47d962.6
test dword [ebp + 0x3c], 0x40000
je 0x47da54
or dword [esp + 0x7c], 0x100
or dword [esp + 0x7c], 0x800
jmp case.0x47d962.6
cmp byte [0x4eae8e], 0
je case.0x47d962.6
or dword [esp + 0x7c], 0x10000
jmp case.0x47d962.6
test edi, edi
je case.0x47d962.6
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [edi + 0x3c]
test eax, eax
jns 0x47da97
and eax, 0x3fffffff
or eax, 0x40000000
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.0x47d962.6
push 0x4bd2c4
mov ecx, 0x4bd2c4
mov edx, edi
call fcn.00484b20
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xb18]
push 0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x88]
push eax
push ebp
call fcn.00481b70
test eax, eax
je 0x480dab
mov eax, dword [esp + 0xd8]
cmp bl, 0xa
je 0x47dafb
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xdc]
setne cl
mov byte [esp + 0x20b], cl
cmp eax, 0xff000000
jne 0x47db2a
cmp bl, 0xb
je 0x47db4a
mov dword [esp + 0xdc], 0xffffffff
jmp 0x47db4a
cmp eax, 0xffffffff
jne 0x47db4a
mov eax, dword [ebp + 0x5c]
cmp eax, 0xff000000
je 0x47db4a
cmp bl, 0x12
je 0x47db4a
cmp bl, 0x19
je 0x47db4a
mov dword [esp + 0xdc], eax
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0x80]
cmp edi, 0x80000000
jne 0x47db9a
cmp dword [esp + 0xa8], 0x80000000
jne 0x47db9a
fld dword [0x4de87c]
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 5
jnp 0x47db9a
mov eax, dword [esp + 0xb1c]
mov ebx, 0x4dbb80
call fcn.00405590
test eax, eax
jne 0x47db9a
xor ecx, ecx
jmp 0x47dba4
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x88]
not eax
and eax, dword [esp + 0x84]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffffd
or ebx, 0x40000000
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x74], eax
cmp eax, 0x10
ja case.0x47dbe9.10
movzx edx, byte [eax + 0x480e4c]
jmp dword [edx*4 + 0x480e24]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
test bl, 1
je 0x47dc19
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
or ebx, ecx
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
and ebx, 0xfffffff0
or ebx, ecx
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x47dc43
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x47dbe9.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x47dbe9.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x47dc72
test esi, 0x10000
jne 0x47dc72
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x14], eax
jmp case.0x47dbe9.10
or ebx, 3
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
test bl, 1
je 0x47dc9d
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
fld dword [0x4de87c]
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 5
jnp 0x47dcde
mov ecx, dword [esp + 0xb1c]
push 0xa
push ecx
call dword [sym.imp.MSVCR100.dll_wcschr]
mov esi, dword [esp + 0x88]
add esp, 8
test eax, eax
je 0x47dceb
mov edx, esi
not edx
and edx, 4
or ebx, edx
mov dword [esp + 0x14], ebx
test bl, 4
je case.0x47dbe9.10
not esi
and esi, 0x201040
or ebx, esi
mov dword [esp + 0x14], ebx
jmp case.0x47dbe9.10
or ebx, 0x4000000
cmp dword [ebp + 0x60], 0
je 0x47dd16
mov eax, dword [esp + 0x1c]
test byte [eax + 5], 0x20
je 0x47dd23
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x10], 0xff000000
je 0x47dd33
or ebx, 0x2000
mov byte [esp + 0x20d], 0
jmp 0x47dd39
and ebx, 0xffffdfff
mov dword [esp + 0x14], ebx
cmp edi, 0x80000000
je 0x47dd4d
and byte [esp + 0x210], 0xfe
cmp dword [esp + 0xa8], 0x80000000
je case.0x47dbe9.10
and byte [esp + 0x210], 0xfd
cmp byte [esp + 0xb14], 4
jne 0x47defe
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
lea esi, [eax + 0xc]
jne 0x47defe
test byte [eax + 5], 1
jne 0x47defe
mov eax, dword [ebp]
cmp word [eax], 0x31
jne 0x47dda7
cmp word [eax + 2], 0
jne 0x47dda7
xor edx, edx
mov word [esp + 0x2fc], dx
jmp 0x47ddbf
lea edx, [esp + 0x2fc]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x47ddb0
mov eax, dword [esp + 0xb1c]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x304]
call fcn.0049e600
push 0
push 0xffffffffffffffff
push 1
push 0x4bd2c4
lea ecx, [esp + 0x314]
push 0x4dbb9c
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.0049ede0
push 0
push 0xffffffffffffffff
push 1
push 0x4bd2c4
lea edx, [esp + 0x32c]
push 0x4daa5c
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.0049ede0
push 0
push 0xffffffffffffffff
push 1
push 0x4bd2c4
lea eax, [esp + 0x344]
push 0x4d855c
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.0049ede0
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x4bd2c4
lea ecx, [esp + 0x30c]
push 0x4d88fc
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.0049ede0
push 0
push 0xffffffffffffffff
push 1
push 0x4bd2c4
lea edx, [esp + 0x324]
push 0x4db3dc
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.0049ede0
push 0
push 0xffffffffffffffff
push 1
push 0x4bd2c4
lea eax, [esp + 0x33c]
push 0x4dbba0
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.0049ede0
add esp, 0x48
cmp word [esp + 0x2fc], 0
je 0x47def7
lea edi, [esp + 0x2fc]
mov eax, 0x4ea1d0
call fcn.00432790
test eax, eax
je 0x47ded3
mov edi, eax
jmp 0x47def9
push 0
push 0
lea ecx, [esp + 0x304]
push ecx
mov ecx, 0x4ea1d0
call fcn.0043b2c0
test eax, eax
je 0x47def7
cmp dword [eax + 0x14], 4
jg 0x47def7
mov edi, eax
jmp 0x47def9
xor edi, edi
call fcn.00401330
mov edx, dword [esp + 0x1c]
mov bl, byte [edx + 6]
mov ecx, ebp
call fcn.0048a300
mov esi, eax
xor ecx, ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c8], ecx
mov edi, dword [esp + 0xb10]
mov dword [esp + 0xb08], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x47df3c
mov ecx, dword [edi + 0x18]
shl eax, 6
lea ebp, [eax + ecx - 0x40]
jmp 0x47df43
lea ebp, [esp + 0x2bc]
mov eax, connect
mov dword [esp + 0x78], ebp
cmp dword [esp + 0x9c], eax
jne 0x47e033
cmp dword [esp + 0xa0], eax
jne 0x47e033
test esi, esi
je 0x47dfb7
mov edx, dword [esp + 0x1c]
mov al, byte [edx + 7]
mov ecx, edi
call fcn.0048a480
test eax, eax
jne 0x47dfb7
mov edx, esi
mov esi, dword [esp + 0xb10]
lea edi, [esp + 0x234]
mov ecx, esi
call fcn.0048a590
mov eax, dword [esi + 0x78]
add eax, dword [esp + 0x234]
mov ecx, dword [esi + 0x7c]
add ecx, dword [esp + 0x238]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
jmp 0x47dfe1
mov eax, dword [edi + 0x8c]
add eax, dword [edi + 0x84]
mov edx, dword [edi + 0x80]
add eax, dword [edi + 0x7c]
mov esi, dword [esp + 0xb10]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov al, byte [esp + 0xb14]
cmp al, 1
je 0x47dff0
cmp al, 0x17
jne 0x47e02c
cmp dword [esi + 0x10], 0
je 0x47e02c
mov al, byte [ebp + 4]
cmp al, 1
je 0x47e001
cmp al, 0x17
jne 0x47e02c
mov cl, byte [ebp + 6]
mov eax, dword [esp + 0x1c]
cmp cl, byte [eax + 6]
jne 0x47e02c
mov dl, byte [ebp + 7]
cmp dl, byte [eax + 7]
jne 0x47e02c
mov eax, dword [0x4ea160]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
mov edi, dword [esp + 0xb10]
mov cl, byte [esp + 0xb14]
cmp cl, 0xe
je 0x47e04d
cmp cl, 0xa
je 0x47e04d
cmp cl, 0xb
je 0x47e04d
xor bl, bl
jmp 0x47e04f
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x2c]
cmp dword [esp + 0xa8], 0x80000000
jne 0x47e1f9
fcom dword [esp + 0xac]
fnstsw ax
test ah, 0x41
jne 0x47e1f9
mov ebp, dword [esp + 0x74]
cmp ebp, 0x17
ja case.0x47e08f.1
movzx ecx, byte [ebp + 0x480e90]
jmp dword [ecx*4 + 0x480e60]
mov eax, dword [esp + 0x14]
fstp st(0)
fld dword [0x4de878]
fstp dword [esp + 0xac]
test al, 1
je 0x47e0b5
test al, 2
je 0x47e21e
cmp byte [0x4eae8a], 0
je 0x47e21e
test eax, 0x400
jne 0x47e21e
mov byte [esp + 0x2c], 0
jmp 0x47e21e
fstp st(0)
fld dword [0x4de874]
fstp dword [esp + 0xac]
jmp 0x47e21e
fstp st(0)
fld dword [0x4de870]
fstp dword [esp + 0xac]
jmp 0x47e21e
mov edx, dword [esp + 0xb1c]
cmp word [edx], 0
jne case.0x47e08f.1
test byte [esp + 0x14], 4
je case.0x47e08f.10
fstp st(0)
fld dword [0x4de878]
fstp dword [esp + 0xac]
jmp 0x47e21e
test byte [esp + 0x14], 0x40
fstp st(0)
je 0x47e0d9
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4e9820]
imul eax, eax, 0x94
mov eax, dword [eax + ecx + 0x84]
mov edx, dword [0x4ea160]
push 0x60
add eax, eax
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa8], eax
jmp 0x47e21e
mov eax, dword [esp + 0x14]
fstp st(0)
test al, 2
je 0x47e184
fld dword [0x4de874]
fstp dword [esp + 0xac]
jmp 0x47e21e
push eax
mov eax, dword [esp + 0xcc]
call fcn.00489b20
mov dword [esp + 0xa8], eax
jmp 0x47e21e
test byte [esp + 0x14], 4
fstp st(0)
je 0x47e134
fld dword [0x4de874]
fstp dword [esp + 0xac]
jmp 0x47e21e
fstp st(0)
fld dword [0x4de86c]
fstp dword [esp + 0xac]
jmp 0x47e21e
mov eax, dword [esp + 0x6c]
fstp st(0)
test eax, eax
je 0x47e21e
mov edx, dword [eax + 4]
lea ecx, [esp + 0x25c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x268]
sub eax, dword [esp + 0x260]
mov dword [esp + 0xa8], eax
jmp 0x47e21e
fstp st(0)
cmp cl, 7
je 0x47e205
cmp cl, 8
jne 0x47e216
cmp byte [0x4eae8a], 0
je 0x47e216
or dword [esp + 0x14], 0x400
mov ebp, dword [esp + 0x74]
jmp 0x47e21e
fstp st(0)
fldz
xor eax, eax
fld dword [esp + 0xac]
mov dword [esp + 0x30], eax
fcom st(1)
mov dword [esp + 0x4c], eax
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x47e3bb
mov al, byte [esp + 0xb14]
cmp al, 3
je 0x47e253
cmp al, 6
jbe 0x47e262
cmp al, 8
ja 0x47e262
fadd qword [0x4de7d0]
fstp dword [esp + 0xac]
jmp 0x47e264
fstp st(0)
cmp byte [esp + 0x2c], 0
je 0x47e39d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov esi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push esi
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x270]
push ecx
push esi
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0xac]
fld st(0)
fld qword [0x4de7e0]
fadd st(1), st(0)
fxch st(1)
call fcn.004b9c20
fild dword [esp + 0x270]
mov esi, eax
lea edx, [esi - 1]
imul edx, dword [esp + 0x280]
fmulp st(2)
mov dword [esp + 0x234], edx
fild dword [esp + 0x234]
faddp st(2)
faddp st(1)
call fcn.004b9c20
mov dword [esp + 0xa8], eax
cmp ebp, 0x15
ja case.0x47e30c.2
movzx ecx, byte [ebp + 0x480ebc]
jmp dword [ecx*4 + 0x480ea8]
mov edx, dword [0x4ea160]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa8], eax
test dword [esp + 0x14], 0x100000
je case.0x47e30c.2
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa8], eax
jmp case.0x47e30c.2
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4e9820]
imul eax, eax, 0x94
mov eax, dword [eax + ecx + 0x84]
mov edx, dword [0x4ea160]
push 0x60
add eax, 2
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa8], eax
jmp case.0x47e30c.2
mov ecx, dword [edi + 0x7c]
imul ecx, esi
add eax, ecx
mov dword [esp + 0xa8], eax
jmp case.0x47e30c.2
inc esi
imul esi, dword [edi + 0x7c]
add eax, esi
mov dword [esp + 0xa8], eax
jmp case.0x47e30c.2
test bl, bl
jne case.0x47e30c.2
mov edx, dword [0x4ea160]
push 0x60
push edx
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa8], eax
jmp case.0x47e30c.2
fstp st(0)
mov eax, connect
mov byte [esp + 0x4b], 0
cmp dword [esp + 0xa8], eax
je 0x47e3dd
cmp dword [esp + 0xa4], eax
jne case.0x47e983.1
mov eax, dword [esp + 0x70]
xor ebp, ebp
dec eax
mov esi, 0x400
mov dword [esp + 0x68], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x24], esi
cmp eax, 0x16
ja case.0x47e405.2
movzx eax, byte [eax + 0x480ee0]
jmp dword [eax*4 + 0x480ed4]
mov esi, dword [esp + 0xb1c]
cmp word [esi], bp
je case.0x47e405.2
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jne 0x47e455
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x94
mov ebx, eax
mov eax, dword [0x4e9820]
mov ecx, dword [edx + eax + 0x90]
push ecx
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x270]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebp, dword [esp + 0x284]
add ebp, 4
test dword [esp + 0x14], 0x200000
mov dword [esp + 0x68], ebp
je 0x47e48a
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebp, eax
mov dword [esp + 0x68], ebp
cmp word [esi], 0
je 0x47e4c0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e495
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0xa
jne 0x47e4c0
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x280]
add ecx, eax
mov dword [esp + 0x50], ecx
mov esi, 0x2c40
mov dword [esp + 0x24], esi
jmp 0x47e4cf
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x47e505
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4e9820]
mov ebx, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0xb14]
cmp al, 1
jne 0x47e52a
or esi, 0x40
test byte [esp + 0x14], 0x80
mov dword [esp + 0x24], esi
je 0x47e558
or esi, 0x800
mov dword [esp + 0x24], esi
jmp 0x47e558
cmp al, 5
je 0x47e532
cmp al, 6
jne 0x47e558
lea eax, [esp + 0x270]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x284]
lea ebp, [eax + ebp + 2]
mov dword [esp + 0x68], ebp
test dword [esp + 0x14], 0x800000
je 0x47e58d
mov al, byte [esp + 0xb14]
cmp al, 1
je 0x47e571
cmp al, 0x17
jne 0x47e58d
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call edi
mov ebp, eax
add ebp, ebp
push 6
mov dword [esp + 0x6c], ebp
call edi
add eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0x80000000
je 0x47e5a2
or esi, 0x10
mov dword [esp + 0x24], esi
xor ecx, ecx
mov dword [esp + 0x244], ecx
mov dword [esp + 0x248], ecx
cmp eax, 0x80000000
jne 0x47e5c2
mov dword [esp + 0x24c], ecx
jmp 0x47e5cb
sub eax, ebp
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0xa8]
mov ecx, eax
sub ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, eax
xor ebx, ebx
cmp byte [esp + 0xb14], 0x17
mov dword [esp + 0x250], ecx
mov dword [esp + 0x234], ebx
jne 0x47e7a2
test byte [esp + 0x14], 4
je 0x47e60f
or esi, 0x800
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0xb1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e620
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov edi, dword [esp + 0xb20]
add esp, 4
cmp word [edi], 0
mov dword [esp + 0x258], eax
mov ebx, eax
je 0x47e742
mov ebp, dword [sym.imp.MSVCR100.dll__isctype]
lea ebx, [ebx]
cmp word [edi], 0x3c
jne 0x47e72c
mov ax, word [edi + 2]
call fcn.00413020
cmp ax, 0x41
jne 0x47e72c
lea eax, [edi + 4]
call fcn.00413050
mov esi, eax
cmp word [esi], 0x3e
je 0x47e6fc
lea ecx, [ecx]
movzx eax, word [esi]
test eax, 0xffffff80
jne 0x47e6be
push 0x107
push eax
call ebp
add esp, 8
test eax, eax
je 0x47e6be
add esi, 2
jmp 0x47e6a0
cmp word [esi], 0x3d
jne 0x47e72c
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47e72c
push eax
add esi, 4
push esi
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
je 0x47e72c
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47e6f1
cmp eax, 9
jne 0x47e6f6
add esi, 2
jmp 0x47e6e4
cmp word [esi], 0x3e
jne 0x47e6a0
add esi, 2
je 0x47e72c
mov eax, 0x4dbba4
mov ecx, esi
call fcn.0049e990
test eax, eax
je 0x47e72c
mov ecx, esi
cmp esi, eax
jae 0x47e727
mov dx, word [ecx]
mov word [ebx], dx
add ecx, 2
add ebx, 2
cmp ecx, eax
jb 0x47e717
lea edi, [eax + 6]
jmp 0x47e735
mov ax, word [edi]
mov word [ebx], ax
add ebx, 2
add edi, 2
cmp word [edi], 0
jne 0x47e670
mov eax, dword [esp + 0x258]
xor ecx, ecx
mov word [ebx], cx
cmp ebx, eax
jbe 0x47e75d
movzx edx, word [ebx - 2]
mov dword [esp + 0x234], edx
cmp word [eax], cx
jne 0x47e767
mov eax, 0x4dac90
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x248]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x258]
push ecx
mov edi, eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov ebx, dword [esp + 0x238]
mov ebp, dword [esp + 0x6c]
add esp, 4
jmp 0x47e7f4
mov eax, dword [esp + 0xb1c]
cmp word [eax], bx
jne 0x47e7b3
mov eax, 0x4dac90
push esi
lea edx, [esp + 0x248]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov esi, dword [esp + 0xb1c]
mov edi, eax
cmp word [esi], bx
je 0x47e7f4
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e7e0
sub eax, edx
sar eax, 1
movzx ebx, word [esi + eax*2 - 2]
mov esi, dword [esp + 0x24c]
mov eax, dword [esp + 0x70]
sub esi, dword [esp + 0x244]
dec eax
je 0x47e81c
sub eax, 3
je 0x47e815
sub eax, 8
je 0x47e81c
jmp 0x47e844
cmp dword [esp + 0x34], 0
jne 0x47e844
test bx, bx
je 0x47e844
mov edx, dword [esp + 0x30]
movzx eax, bx
lea ecx, [esp + 0x34]
push ecx
push eax
push eax
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x47e844
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x47e844
sub esi, eax
mov eax, dword [esp + 0xa8]
mov bl, byte [esp + 0xb14]
cmp eax, 0x80000000
je 0x47e862
cmp edi, eax
jle 0x47e8d4
cmp bl, 0xc
je 0x47e8d4
mov eax, dword [esp + 0x50]
add eax, edi
mov dword [esp + 0xa8], eax
cmp bl, 0xc
jne 0x47e8a7
mov ecx, dword [0x4ea160]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa8], eax
test dword [esp + 0x14], 0x100000
je 0x47e8d4
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa8], eax
jmp 0x47e8d4
cmp bl, 4
jne 0x47e8d4
mov edx, dword [esp + 0xb10]
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
lea edx, [eax + ecx + 2]
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0xa4]
cmp eax, 0x80000000
je 0x47e8e6
cmp esi, eax
jle 0x47e928
add esi, ebp
mov byte [esp + 0x4b], 1
mov dword [esp + 0xa4], esi
cmp bl, 4
jne 0x47e928
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xb10]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4e9820]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0xa4], eax
mov edi, dword [esp + 0xb10]
cmp dword [esp + 0xa4], 0x80000000
jne case.0x47e983.1
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4ea160]
push 0x60
push ecx
push eax
call esi
mov ecx, dword [esp + 0x74]
cmp ecx, 0x17
ja case.0x47e983.1
movzx edx, byte [ecx + 0x480f1c]
jmp dword [edx*4 + 0x480ef8]
add eax, eax
jmp case.0x47e983.4
test byte [esp + 0x14], 0x40
jne case.0x47e983.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4ea160]
push 0x60
add eax, eax
push ecx
push eax
call esi
jmp case.0x47e983.4
mov ecx, dword [esp + 0x14]
test cl, 2
je case.0x47e983.4
mov eax, dword [esp + 0xc8]
push ecx
call fcn.00489b20
jmp case.0x47e983.4
test byte [esp + 0x14], 4
je case.0x47e983.4
mov edx, dword [edi + 0x50]
mov eax, dword [0x4e9820]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
mov ecx, dword [0x4ea160]
push 0x60
add eax, eax
push ecx
push eax
call esi
jmp case.0x47e983.4
mov edx, dword [edi + 0x78]
lea eax, [eax + edx*2]
jmp case.0x47e983.4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0xa4], edx
jmp case.0x47e983.1
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x47e983.1
mov edx, dword [eax + 4]
lea ecx, [esp + 0x25c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x264]
sub eax, dword [esp + 0x25c]
mov dword [esp + 0xa4], eax
cmp byte [esp + 0xb14], 0xc
jne 0x47eb75
test byte [esp + 0x14], 4
jne 0x47eb75
fld1
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 0x41
jne 0x47eb75
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x47eab8
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x94
mov esi, eax
mov eax, dword [0x4e9820]
mov ecx, dword [edx + eax + 0x90]
push ecx
push esi
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x270]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [0x4ea160]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x14]
sub esi, eax
sub esi, dword [esp + 0x270]
mov dword [esp + 0x34], esi
test ebx, 0x100000
je 0x47eb05
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x34], esi
test esi, esi
jle 0x47eb6c
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x270]
add ecx, edx
mov dword [esp + 0x34], ecx
fidiv dword [esp + 0x34]
fadd qword [0x4de7d0]
fstp dword [esp + 0xac]
fld dword [0x4de87c]
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 5
jp 0x47eb75
mov eax, dword [esp + 0x80]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x14], ebx
test bl, 4
je 0x47eb75
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x47eb75
fld1
fstp dword [esp + 0xac]
mov esi, dword [esp + 0xb10]
cmp byte [esp + 0x20d], 0
mov eax, dword [esi + 4]
mov ebp, dword [esi + 0x10]
sete byte [esp + 0x48]
push eax
mov byte [esp + 0x33], 0
add ebp, 3
mov dword [esp + 0x28], eax
mov byte [esp + 0x27], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47ebbe
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x1b], 1
test eax, eax
je 0x47ebc3
mov byte [esp + 0x1b], 0
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 6], 0xff
mov byte [esp + 0x4a], 0
jae 0x47ec97
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47ec8f
mov eax, dword [eax]
push str.ahk_dlg
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47ec41
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0xb10]
push 1
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x40], edx
mov edx, dword [edi + 4]
push eax
mov esi, eax
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
jmp 0x47ec47
mov edi, esi
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x47ec85
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebx + 7]
cmp eax, ecx
jne 0x47ec85
mov dl, byte [esp + 0x1b]
mov byte [esp + 0x4a], dl
jmp 0x47ec9d
and dword [esp + 0x14], 0xefffffff
jmp 0x47ec9d
and dword [esp + 0x14], 0xefffffff
mov edi, esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
dec eax
cmp eax, 0x19
ja case.0x47ecab.20
jmp dword [eax*4 + 0x480f34]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ecc7
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47ecc7
mov ecx, eax
jmp 0x47ecc9
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47ecda
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ecdc
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0xb38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ed44
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47ed44
mov ecx, eax
jmp 0x47ed46
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47ed57
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ed59
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0xb38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push str.SysLink
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
jmp case.0x47ecab.20
mov esi, dword [esp + 0xa4]
cmp esi, 0x80000000
jne 0x47edc4
xor esi, esi
mov dword [esp + 0xa4], esi
mov edx, dword [esp + 0xa8]
cmp edx, 0x80000000
jne 0x47eddc
xor edx, edx
mov dword [esp + 0xa8], edx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47edf1
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47edf1
mov ecx, eax
jmp 0x47edf3
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47ee04
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ee06
xor eax, eax
mov edi, dword [0x4e7ecc]
push 0
push edi
mov edi, dword [esp + 0x2c]
push ebp
push edi
push edx
mov edx, dword [esp + 0xb4]
push esi
mov esi, dword [esp + 0xb34]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push esi
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push ecx
push edx
mov edx, dword [esp + 0xf4]
push esi
mov esi, ebx
call fcn.004849d0
test eax, eax
je case.0x47ecab.20
mov byte [esp + 0x2f], 1
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ee98
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47ee98
mov ecx, eax
jmp 0x47ee9a
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47eeab
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47eead
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0xb38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ef15
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47ef15
mov ecx, eax
jmp 0x47ef17
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47ef28
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ef2a
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0xb38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
test byte [esp + 0x14], 1
je case.0x47ecab.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x47efc9
mov edx, dword [edi + 0x18]
push 1
shl eax, 6
mov eax, dword [eax + edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
shl ecx, 6
mov eax, dword [ecx + edx]
push 0xf4
push eax
call esi
jmp 0x47efcf
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 0
mov dword [edi + 0x1c], eax
add eax, 3
push eax
push 0x401
push ecx
call esi
movzx edx, word [esp + 0x14]
mov eax, dword [ebx]
push 1
push edx
push 0xf4
push eax
call esi
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f012
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f012
mov ecx, eax
jmp 0x47f014
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47f025
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f027
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0xb38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je case.0x47ecab.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ecab.20
cmp dword [esp + 0xe0], 0
je 0x47f0b5
cmp byte [ebx + 4], 8
jne 0x47f0b5
and dword [esp + 0x14], 0xffffffbf
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f0ca
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f0ca
mov ecx, eax
jmp 0x47f0cc
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47f0dd
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f0df
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x1b]
imul edx, edx, 0x94
push ecx
mov ecx, dword [0x4e9820]
mov edx, dword [edx + ecx + 0x90]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x2c], 0
mov byte [esp + 0x23], 1
je 0x47f203
mov eax, dword [ebx]
push 0
push 0
push 0x154
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x14], 1
mov edi, eax
mov dword [esp + 0x50], edi
je 0x47f193
test byte [esp + 0x14], 2
mov esi, 4
je 0x47f198
mov esi, 2
mov ecx, dword [0x4ea160]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
push 8
call ebp
mov ecx, dword [esp + 0xa8]
add eax, esi
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47f1c6
mov ecx, eax
mov dword [esp + 0xa8], ecx
jmp 0x47f20a
fldz
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 5
jp 0x47f20a
mov edx, dword [0x4ea160]
push 0x60
push edx
push 8
call ebp
fild dword [esp + 0x50]
mov edi, eax
fmul dword [esp + 0xac]
call fcn.004b9c20
lea ecx, [edi + eax]
add ecx, esi
mov dword [esp + 0xa8], ecx
jmp 0x47f20a
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
push 1
push ecx
mov ecx, dword [esp + 0xa8]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x2f], 1
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f24d
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f24d
mov ecx, eax
jmp 0x47f24f
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47f260
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f262
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.Listbox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov ecx, dword [esp + 0x1b8]
test ecx, ecx
je 0x47f2d5
lea edx, [esp + 0xf0]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xb10]
mov edx, dword [ecx + 0x50]
movzx eax, byte [esp + 0x1b]
imul edx, edx, 0x94
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [0x4e9820]
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebx]
push ecx
push 0x30
push edx
call esi
mov eax, dword [ebx]
push 0
push 0
push 0x1a1
push eax
mov byte [esp + 0x33], 1
call esi
mov ecx, dword [0x4ea160]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
mov edi, eax
push 8
mov dword [esp + 0x5c], edi
call ebp
lea esi, [edi + eax]
mov edi, dword [esp + 0x14]
and edi, 0x100000
je 0x47f34a
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0xa8]
cmp ecx, esi
jge 0x47f359
mov ecx, esi
jmp 0x47f3a7
fldz
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 5
jp 0x47f3ae
mov edx, dword [0x4ea160]
push 0x60
push edx
push 8
call ebp
fild dword [esp + 0x50]
mov esi, eax
fmul dword [esp + 0xac]
call fcn.004b9c20
lea ecx, [esi + eax]
mov dword [esp + 0xa8], ecx
test edi, edi
je 0x47f3ae
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa8]
add ecx, eax
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
push 1
push ecx
mov ecx, dword [esp + 0xa8]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x2f], 1
jmp case.0x47ecab.20
mov eax, dword [esp + 0x90]
cmp eax, 4
je 0x47f3f5
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xa8]
cmp edx, 0x80000000
jne 0x47f409
mov edx, 0xc8
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f41e
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f41e
mov ecx, eax
jmp 0x47f420
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47f431
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f433
xor eax, eax
mov esi, dword [0x4e7ecc]
push 0
push esi
mov esi, dword [esp + 0x2c]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebx], esi
test esi, esi
je case.0x47ecab.20
push 0x3f8
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x47f4ac
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx], 0
jmp case.0x47ecab.20
push 0x3f8
mov dword [edi + 0x48], ebx
mov ecx, dword [ebx + 0x10]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov edx, dword [ebx + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebx + 0x10]
mov cl, byte [esp + 0x21a]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x47f4e4
or byte [eax + 5], 0x80
cmp dword [esp + 0x90], 4
jne 0x47f500
mov edx, dword [ebx]
push 0
push 4
push 0x108e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47f51c
push eax
mov eax, dword [ebx]
push 0
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x7c]
mov edi, ebx
call fcn.00489c90
cmp dword [esp + 0xa8], 0x80000000
jne case.0x47ecab.20
mov ebp, dword [esp + 0xb10]
mov edx, dword [ebp + 0x50]
movzx ecx, byte [esp + 0x1b]
imul edx, edx, 0x94
mov eax, dword [0x4e9820]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebx]
push ecx
push 0x30
push edx
call esi
mov eax, dword [esp + 0x90]
dec eax
mov byte [esp + 0x23], 1
je 0x47f6da
sub eax, 3
je 0x47f6ad
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x47f5be
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x270]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x90], 0
jne 0x47f671
mov edx, dword [ebx]
push 0
push 0
push 0x1033
push edx
call esi
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
test eax, eax
jns 0x47f5fb
fadd dword [0x4de808]
fld dword [esp + 0xac]
push 0xc
fsub qword [0x4de7d0]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
shr eax, 0x10
mov dword [esp + 0x38], eax
fldcw word [esp + 0x30]
fild dword [esp + 0x38]
fstp qword [esp + 0x238]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fmul dword [esp + 0xac]
fadd qword [esp + 0x234]
call fcn.004b9c20
mov ecx, dword [esp + 0x270]
lea eax, [eax + ecx + 0x10]
jmp 0x47f717
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x34], eax
cmp eax, ecx
jg 0x47f68c
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
fld dword [esp + 0xac]
fld st(0)
fmulp st(2)
fsub qword [0x4de7d0]
faddp st(1)
call fcn.004b9c20
add eax, 0xb
jmp 0x47f717
mov edx, dword [ebx]
push 0
push 0
push 0x1033
push edx
call esi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fmul dword [esp + 0xac]
call fcn.004b9c20
add eax, 7
jmp 0x47f717
fld dword [esp + 0xac]
mov ecx, dword [ebx]
fnstcw word [esp + 0x2c]
push 0xffffffffffffffff
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x38]
push ecx
call esi
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
push 1
push eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa8]
push edx
push eax
jmp 0x4807af
mov edx, dword [esp + 0xa8]
cmp edx, 0x80000000
jne 0x47f751
mov edx, 0xc8
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f766
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f766
mov ecx, eax
jmp 0x47f768
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47f779
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f77b
xor eax, eax
mov esi, dword [0x4e7ecc]
push 0
push esi
mov esi, dword [esp + 0x2c]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.SysTreeView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
cmp dword [esp + 0xe8], 0
mov dword [edi + 0x4c], ebx
je 0x47f7ee
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
or ecx, 0x100
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x7c]
mov esi, ebx
call fcn.00489d40
mov eax, dword [esp + 0x94]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47f817
push eax
mov eax, dword [ebx]
push 0
push 0x1109
push eax
call esi
cmp dword [esp + 0xa8], 0x80000000
jne case.0x47ecab.20
mov edi, dword [esp + 0xb10]
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x1b]
imul edx, edx, 0x94
mov eax, dword [0x4e9820]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebx]
push ecx
push 0x30
push edx
call esi
mov eax, dword [ebx]
push 0
push 0
push 0x111c
push eax
mov byte [esp + 0x33], 1
call esi
mov dword [esp + 0xa8], eax
cmp eax, 2
jge 0x47f890
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
add eax, eax
mov dword [esp + 0xa8], eax
fild dword [esp + 0xa8]
fmul dword [esp + 0xac]
call fcn.004b9c20
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push 1
add eax, 4
push eax
push ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebx]
push edx
push eax
push ecx
jmp 0x4807b3
mov eax, dword [esp + 0x14]
test al, 4
jne 0x47f8fe
cmp dword [esp + 0xe0], 0
jge 0x47f8e9
and eax, 0xffefff7f
jmp 0x47f8fa
mov edx, dword [esp + 0x80]
not edx
and edx, 0x80
or eax, edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xb1c]
cmp word [ecx], 0
je 0x47f921
test al, 4
je 0x47f921
mov edi, ecx
call fcn.0049f340
mov edi, dword [esp + 0xb10]
mov esi, eax
jmp 0x47f923
mov esi, ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f938
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f938
mov edx, eax
jmp 0x47f93a
xor edx, edx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47f94f
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47f94f
mov ecx, eax
jmp 0x47f951
xor ecx, ecx
mov eax, esi
test esi, esi
jne 0x47f95e
mov eax, dword [esp + 0xb1c]
mov edi, dword [0x4e7ecc]
push 0
push edi
mov edi, dword [esp + 0x2c]
push ebp
push edi
mov edi, dword [esp + 0xb8]
push edi
mov edi, dword [esp + 0xb8]
push edi
mov edi, dword [esp + 0xb8]
sub edi, edx
mov edx, dword [esp + 0xb4]
push edi
sub edx, ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x48]
push ecx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je 0x47fa1c
test byte [esp + 0x14], 0x20
je 0x47f9d7
mov cx, word [esp + 0x208]
test cx, cx
je 0x47f9d7
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call edi
jmp 0x47f9dd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xe0]
test eax, eax
jns 0x47f9f1
xor eax, eax
mov dword [esp + 0xe0], eax
mov edx, dword [ebx]
push 0
push eax
push 0xc5
push edx
call edi
mov eax, dword [esp + 0x1b8]
test eax, eax
je 0x47fa1c
mov edx, dword [ebx]
lea ecx, [esp + 0xf0]
push ecx
push eax
push 0xcb
push edx
call edi
test esi, esi
je case.0x47ecab.20
cmp esi, dword [esp + 0xb1c]
je case.0x47ecab.20
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp case.0x47ecab.20
mov edi, dword [esp + 0xb1c]
xor bl, bl
cmp word [edi], 0
je 0x47fa95
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str.LongDate
push edi
call esi
add esp, 8
test eax, eax
jne 0x47fa74
mov eax, dword [esp + 0x14]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0x14], eax
jmp 0x47fa95
push str.Time
push edi
call esi
add esp, 8
test eax, eax
jne 0x47fa93
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x14], ecx
jmp 0x47fa95
mov bl, 1
mov eax, 2
cmp dword [esp + 0xb0], eax
jne 0x47faa7
or dword [esp + 0x14], eax
mov edx, dword [esp + 0xb10]
mov eax, dword [edx + 0xcc]
test eax, eax
je 0x47fac3
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47fac3
mov ecx, eax
jmp 0x47fac5
xor ecx, ecx
mov eax, dword [edx + 0xd0]
test eax, eax
je 0x47fad6
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47fad8
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0x2c]
push ebp
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
test eax, eax
je case.0x47ecab.20
test bl, bl
je 0x47fb4a
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1032
push eax
call edi
jmp 0x47fb50
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x200]
test eax, eax
je 0x47fb6e
mov edx, dword [esi]
lea ecx, [esp + 0x1dc]
push ecx
push eax
push 0x1004
push edx
call edi
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x47fb94
xor edx, edx
cmp eax, 1
mov eax, dword [esi]
setne dl
lea ecx, [esp + 0x1bc]
push ecx
push edx
push 0x1002
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
je case.0x47ecab.20
mov ecx, dword [esi]
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x47ecab.20
cmp dword [esp + 0x1fc], 0
jne 0x47fbe8
mov ecx, dword [esp + 0xb1c]
cmp word [ecx], 0
je 0x47fbe8
lea eax, [esp + 0x1bc]
call fcn.0049e010
mov dword [esp + 0x1fc], eax
cmp eax, 3
jne 0x47fbe8
or dword [esp + 0x14], 2
mov eax, dword [esp + 0xa8]
mov esi, 0x64
cmp eax, 0x80000000
je 0x47fbfd
mov esi, eax
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x47fc0d
mov edx, 0x64
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47fc22
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47fc22
mov ecx, eax
jmp 0x47fc24
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47fc35
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47fc37
xor eax, eax
mov edi, dword [0x4e7ecc]
push 0
push edi
mov edi, dword [esp + 0x2c]
push ebp
push edi
push esi
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov esi, dword [esp + 0x14]
and esi, 2
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
je 0x47fc9e
push 0
push 0x16e
push 0x1004
push eax
call ebp
mov eax, dword [esp + 0x200]
mov edi, ebx
test eax, eax
je 0x47fcbe
mov edx, dword [edi]
lea ecx, [esp + 0x1dc]
push ecx
push eax
push 0x1012
push edx
call ebp
mov eax, dword [esp + 0x1fc]
test eax, eax
je 0x47fd32
test esi, esi
je 0x47fd1e
cmp eax, 1
jne 0x47fd0a
mov eax, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1c4]
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x1d0], ecx
mov dword [esp + 0x1d4], edx
mov dword [esp + 0x1d8], eax
mov edx, dword [edi]
lea ecx, [esp + 0x1bc]
push ecx
push 0
push 0x1006
push edx
jmp 0x47fd30
mov ecx, dword [edi]
lea eax, [esp + 0x1bc]
push eax
push 0
push 0x1002
push ecx
call ebp
mov eax, dword [edi + 0x10]
cmp eax, 0xff000000
je 0x47fd49
mov edx, dword [edi]
push eax
push 1
push 0x100a
push edx
call ebp
mov ebx, dword [esp + 0xb10]
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x1b]
imul ecx, ecx, 0x94
mov edx, dword [0x4e9820]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [edi]
push eax
push 0x30
push ecx
call ebp
mov esi, connect
mov byte [esp + 0x23], 1
cmp dword [esp + 0xa4], esi
je 0x47fd94
cmp dword [esp + 0xa8], esi
jne case.0x47ecab.20
mov eax, dword [edi]
lea edx, [esp + 0x58]
push edx
push 0
push 0x1009
push eax
call ebp
test eax, eax
je case.0x47ecab.20
cmp dword [esp + 0xa4], 0
jge 0x47fe04
test byte [esp + 0x14], 0x10
je 0x47fdc4
mov eax, dword [esp + 0x60]
jmp 0x47fddc
mov ecx, dword [edi]
push 0
push 0
push 0x1015
push ecx
call ebp
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jge 0x47fddc
mov eax, ecx
mov ecx, dword [esp + 0xa4]
cmp ecx, esi
jne 0x47fdf0
mov dword [esp + 0xa4], eax
jmp 0x47fe04
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0xa8]
cmp ecx, esi
jne 0x47fefe
fldz
mov ecx, dword [esp + 0x64]
fld dword [esp + 0xac]
mov dword [esp + 0xa8], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x47fefc
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x47fefe
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x47fe7f
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov esi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push esi
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x270]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x14], 0x10
mov esi, dword [esp + 0x270]
je 0x47feae
mov edx, dword [esp + 0xa8]
lea eax, [edx + esi + 4]
mov dword [esp + 0xa8], eax
fild dword [esp + 0xa8]
fld dword [esp + 0xac]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.004b9c20
add esi, 0xfffffffe
mov dword [esp + 0xa8], eax
fild dword [esp + 0xa8]
mov dword [esp + 0x34], esi
fild dword [esp + 0x34]
fxch st(2)
fsub qword [0x4de7d0]
fmulp st(2)
fsubrp st(1)
call fcn.004b9c20
mov ecx, eax
mov dword [esp + 0xa8], ecx
jmp 0x47fefe
fstp st(0)
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push 1
push ecx
mov ecx, dword [esp + 0xac]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
jmp 0x4807b3
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ff36
mov eax, dword [eax + 0x14]
test eax, eax
je 0x47ff36
mov ecx, eax
jmp 0x47ff38
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x47ff49
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ff4b
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov eax, dword [esp + 0xb1c]
cmp word [eax], 0
je 0x47ffc6
push 0
call fcn.004898a0
movzx ecx, ax
push ecx
mov edx, ebx
mov eax, dword [edx]
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xe0]
test eax, eax
jle case.0x47ecab.20
push 6
push eax
mov ecx, ebx
mov edx, dword [ecx]
push 0x403
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ecab.20
test byte [esp + 0x14], 0x10
je 0x48002b
cmp dword [edi + 8], 0
jne 0x480008
mov eax, dword [esp + 0x54]
test eax, eax
je 0x48002b
test byte [eax + 5], 0x80
je 0x48002b
and dword [esp + 0x14], 0xffffffef
mov bl, 1
mov edi, dword [esp + 0xb10]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x48002f
mov eax, dword [eax + 0x14]
test eax, eax
je 0x48002f
mov ecx, eax
jmp 0x480031
xor bl, bl
jmp 0x48000f
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x480042
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x480044
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
mov ebp, dword [esp + 0x30]
push ebp
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.msctls_updown32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
test eax, eax
je case.0x47ecab.20
mov esi, dword [esp + 0x78]
test bl, bl
je 0x4800b8
mov edx, dword [esi]
push 0
push edx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x10], 0
je 0x480225
test byte [esp + 0x14], 0x10
jne 0x4800d1
test bl, bl
je 0x480225
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x58]
push eax
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea eax, [esp + 0x5c]
push eax
push ebp
push 0
call ebx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
sub edx, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], ecx
sub eax, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov edx, dword [esi]
push ecx
push edx
call edi
push 2
lea eax, [esp + 0x38]
push eax
push ebp
push 0
call ebx
mov ecx, dword [esp + 0xb10]
cmp byte [ecx + 0xc7], 0
mov bl, byte [esp + 0x14]
je 0x4801c0
test bl, 4
je 0x480192
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x9c]
add dword [esp + 0x60], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0xac]
push eax
mov dword [esp + 0xac], ecx
push ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add eax, dword [esp + 0xa4]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
sub eax, edx
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x4801df
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
sub ecx, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], ecx
jmp 0x4801ee
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x58]
mov dword [esp + 0xa4], edx
cmp byte [esp + 0x20a], 0
jne 0x480242
cmp byte [esi + 4], 9
jne 0x48022f
mov byte [esp + 0x20a], 1
test bl, 0x40
je 0x480218
mov dword [esp + 0xb8], 0x7fff
jmp 0x480242
mov dword [esp + 0xb4], 0x7fff
jmp 0x480242
cmp byte [esp + 0x20a], 0
jne 0x480242
mov byte [esp + 0x20a], 1
mov dword [esp + 0xb8], 0x64
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
mov eax, edi
call fcn.00489ad0
mov esi, dword [esp + 0xb1c]
call fcn.00417490
mov edx, dword [edi]
push eax
mov al, byte [edi + 5]
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xa
push 0
add ecx, 0x467
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x480299
mov eax, dword [eax + 0x14]
test eax, eax
je 0x480299
mov ecx, eax
jmp 0x48029b
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x4802ac
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4802ae
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
lea eax, [esp + 0x7c]
mov esi, ebx
call fcn.00489bb0
mov ecx, dword [esp + 0xb1c]
cmp word [ecx], 0
je case.0x47ecab.20
mov esi, ecx
call fcn.00417490
mov edi, ebx
test byte [edi + 5], 0x80
je 0x480332
push eax
call fcn.00489b70
mov edx, dword [edi]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x48035d
mov eax, dword [eax + 0x14]
test eax, eax
je 0x48035d
mov ecx, eax
jmp 0x48035f
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x480370
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x480372
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb10]
push ecx
mov edi, ebx
push edx
lea eax, [esp + 0x84]
mov ecx, edi
call fcn.00489d90
mov esi, dword [esp + 0xb1c]
cmp word [esi], 0
je 0x480405
push 0
call fcn.00417490
push eax
mov eax, dword [edi]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x48], 0
jmp case.0x47ecab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x480424
mov eax, dword [eax + 0x14]
test eax, eax
je 0x480424
mov ecx, eax
jmp 0x480426
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x480437
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x480439
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0xb0]
push ebp
push esi
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4bd2c4
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
cmp byte [esp + 0x20f], 0
mov esi, dword [esp + 0xb10]
je 0x4804bf
lea ecx, [esp + 0x7c]
push ecx
call fcn.0048aa40
test eax, eax
jne 0x4804bf
mov edx, dword [ebx]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx], 0
jmp case.0x47ecab.20
mov al, byte [esp + 0x210]
test al, al
je 0x4804dc
mov ecx, dword [ebx]
movsx eax, al
push eax
push str.ahk_autosize
push ecx
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [esi + 0xc0]
mov byte [esi + 0xc1], al
inc al
push 0x4893c0
mov byte [esi + 0xc2], 0
mov byte [esi + 0xc0], al
mov edx, dword [ebx]
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4e7f0c], eax
jmp case.0x47ecab.20
cmp byte [0x4eaf74], 0
jne 0x480556
push 0x4db768
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x480556
push str.AtlAxWinInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x480546
call eax
test eax, eax
setne byte [0x4eaf74]
cmp byte [0x4eaf74], 0
jne 0x480556
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x48056b
mov eax, dword [eax + 0x14]
test eax, eax
je 0x48056b
mov ecx, eax
jmp 0x48056d
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x48057e
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x480580
xor eax, eax
mov edx, dword [0x4e7ecc]
push 0
push edx
mov edx, dword [esp + 0x2c]
push ebp
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0xb38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push str.AtlAxWin
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
push eax
call fcn.004769b0
add esp, 4
test eax, eax
jne 0x4805fd
mov esi, ebx
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47ecab.20
mov ecx, ebx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x480612
mov edi, eax
call fcn.004a2b40
jmp case.0x47ecab.20
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp case.0x47ecab.20
mov dx, word [esp + 0x212]
test dx, dx
jne 0x480645
push 0x4bd2c4
push str.A_window_class_is_required.
mov ecx, 0x4ea1d0
call fcn.00449df0
jmp 0x480dab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x48065a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x48065a
mov ecx, eax
jmp 0x48065c
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x48066d
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x48066f
xor eax, eax
mov edi, dword [0x4e7ecc]
push 0
push edi
push ebp
push esi
mov esi, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xb8]
sub esi, ecx
mov ecx, dword [esp + 0xb4]
push esi
sub ecx, eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xb3c]
push eax
mov eax, dword [esp + 0x4c]
movzx edx, dx
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
jmp case.0x47ecab.20
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0xb1c]
mov eax, dword [esp + 0x14]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebx], eax
test eax, eax
je case.0x47ecab.20
mov ecx, dword [esp + 0xb10]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xdc]
cmp ecx, 0xffffffff
je case.0x47ecab.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ecab.20
mov eax, dword [esp + 0x6c]
test eax, eax
je case.0x47ecab.20
mov edx, dword [eax + 4]
mov dword [ebx], edx
cmp dword [eax + 0xa8], 0
jne 0x480738
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0xa8], ecx
cmp dword [eax + 0xac], 0
jne 0x48074e
mov edx, dword [esp + 0xa8]
mov dword [eax + 0xac], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx]
add eax, 3
push eax
push 0xfffffffffffffff4
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x480775
mov eax, dword [eax + 0x14]
test eax, eax
je 0x480775
mov ecx, eax
jmp 0x480777
xor ecx, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x480788
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x48078a
xor eax, eax
mov edx, dword [esp + 0xa8]
push 1
push edx
mov edx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0xac]
sub edx, ecx
mov ecx, dword [esp + 0xa8]
push edx
sub ecx, eax
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4807e5
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4807d1
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0xb10]
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4807ec
mov edi, dword [esp + 0xb10]
mov esi, dword [esp + 0x1c]
cmp dword [esi], 0
jne 0x48080e
push 0x4bd2c4
push str.Cant_create_control.
mov ecx, 0x4ea1d0
call fcn.00449df0
jmp 0x480dab
mov edx, dword [esp + 0x98]
mov cl, byte [esp + 0x4b]
mov eax, dword [esp + 0x22c]
mov ebx, 1
add dword [edi + 0x10], ebx
mov byte [edi + 0xc7], cl
test edx, edx
jne 0x48083a
test eax, eax
je 0x4808cb
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x4808c2
lea edx, [esp + 0x244]
mov dword [esp + 0x34], edx
mov dword [esp + 0x244], eax
mov eax, dword [esi]
lea edx, [esp + 0x234]
mov dword [esp + 0x38], edx
cdq
mov dword [esp + 0x238], edx
push 2
lea edx, [esp + 0x38]
push edx
push ebx
lea edx, [esp + 0x268]
push edx
mov dword [esp + 0x244], eax
lea edx, [esp + 0x2bc]
mov dword [esp + 0x25c], 0
mov dword [esp + 0x258], 0xffffffff
mov dword [esp + 0x24c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edx
push ecx
call eax
mov ecx, dword [esp + 0x22c]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x4808cb
mov eax, dword [esi]
push eax
push edx
call fcn.004a1f60
cmp byte [esi + 4], 6
jne 0x4808ef
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x4808ea
push eax
mov eax, dword [edi + 0x10]
sub eax, ebx
push esi
mov ecx, edi
call fcn.00489a10
mov byte [edi + 0x44], bl
jmp 0x4808f3
mov byte [edi + 0x44], 0
test dword [esp + 0x80], 0x10000000
je 0x480904
or byte [esi + 5], 8
test dword [esp + 0x7c], 0x8000000
je 0x480912
or byte [esi + 5], 0x10
cmp byte [esp + 0x48], 0
jne 0x48093d
cmp dword [esi + 0x10], 0xff000000
je 0x480931
mov al, byte [esi + 4]
cmp al, 5
je 0x48093d
cmp al, 6
je 0x48093d
cmp al, 3
je 0x48093d
cmp byte [esi + 4], 3
jne 0x480948
test byte [esi + 5], 0x40
je 0x480948
mov ecx, dword [esi]
push ecx
call fcn.004a0880
add esp, 4
cmp byte [esp + 0x23], 0
jne 0x48097e
cmp byte [esp + 0x49], 0
je 0x48097e
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x1b]
imul eax, eax, 0x94
mov ecx, dword [0x4e9820]
push edx
mov edx, dword [eax + ecx + 0x90]
mov eax, dword [esi]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x204], 4
jne 0x480997
mov ecx, dword [esi]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0xb1c]
cmp word [edx], 0
je 0x4809bd
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb10]
push eax
push ecx
mov eax, edx
mov edi, esi
call fcn.00484750
mov ebp, esi
mov cl, byte [ebp + 4]
cmp cl, 0x13
jne 0x480a92
fldz
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 5
jp 0x480a73
mov eax, dword [ebp]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x14]
test al, 2
je 0x4809fa
test al, al
jns 0x4809fe
xor bl, bl
jmp 0x480a12
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp]
lea eax, [esp + 0x58]
push eax
push 1
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x480a3d
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push 1
push eax
push ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x480a92
cmp cl, 0x13
jne 0x480a92
cmp byte [esp + 0x20f], 0
je 0x480a92
mov edx, dword [esp + 0xb10]
mov eax, dword [ebp]
push edx
call fcn.0048ab10
cmp byte [esp + 0x2f], 0
je 0x480b01
mov ecx, dword [ebp]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
sub eax, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
cmp byte [esp + 0xb14], 9
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
jne 0x480b01
test dword [esp + 0x14], 0x100000
je 0x480b01
mov eax, dword [esp + 0xe4]
test eax, eax
jns 0x480aef
lea eax, [ecx + ecx*2]
mov dword [esp + 0xe4], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x54]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [esp + 0xb10]
test edi, edi
je 0x480b72
mov eax, dword [esp + 0x24]
cmp eax, dword [ebx + 4]
jne 0x480b72
cmp byte [esp + 0x4a], 0
je 0x480b59
mov edx, dword [ebp]
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 4]
push 2
lea eax, [esp + 0x5c]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx + 4]
push 0
lea edx, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [edi + 5], 0x80
je 0x480b72
mov ecx, dword [ebp]
mov edx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ecx
push edx
call esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x480b88
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0xb14], 0x19
je 0x480da6
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0x24], eax
je 0x480be0
mov edx, dword [esp + 0xa0]
push 1
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
push eax
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
jmp 0x480be7
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x24]
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], esi
add edx, ecx
add esi, eax
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x84], eax
cmp edi, dword [ebx + 4]
jne 0x480c40
cmp byte [esp + 0x210], 0
jne 0x480c40
cmp edx, dword [ebx + 0x90]
jle 0x480c32
mov dword [ebx + 0x90], edx
cmp esi, dword [ebx + 0x94]
jle 0x480c40
mov dword [ebx + 0x94], esi
cmp byte [esp + 0x20c], 0
jne 0x480c8d
mov edi, dword [esp + 0xb10]
mov edi, dword [edi + 0x10]
cmp edi, 1
je 0x480c8d
cmp edi, 2
jne 0x480c6e
mov edi, dword [esp + 0xb10]
mov edi, dword [edi + 0x18]
cmp byte [edi + 4], 0x19
je 0x480c8d
mov edi, dword [esp + 0xb10]
cmp edx, dword [edi + 0xa0]
jle 0x480c83
mov dword [edi + 0xa0], edx
cmp esi, dword [edi + 0xa4]
jle 0x480cac
jmp 0x480ca6
mov edi, dword [esp + 0xb10]
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa0], edx
mov dword [edi + 0xa4], esi
test dword [edi + 0x3c], 0x100000
mov esi, dword [sym.imp.USER32.dll_SetScrollInfo]
je 0x480ce2
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x480ce2
mov ecx, dword [edi + 0x90]
add ecx, dword [edi + 0x78]
push 1
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0xd0]
mov eax, dword [edi + 4]
push edx
push 0
push eax
call esi
test dword [edi + 0x3c], 0x200000
je 0x480d12
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x480d12
mov ecx, dword [edi + 0x94]
add ecx, dword [edi + 0x7c]
push 1
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0xcc]
mov eax, dword [edi + 4]
push edx
push 1
push eax
call esi
fld dword [esp + 0x214]
mov eax, ebp
fstp dword [eax + 0x24]
fld dword [esp + 0x218]
fstp dword [eax + 0x28]
fld dword [esp + 0x21c]
fstp dword [eax + 0x2c]
fld dword [esp + 0x220]
fstp dword [eax + 0x30]
movzx ecx, byte [esp + 0x224]
mov byte [eax + 0x34], cl
movzx edx, byte [esp + 0x225]
mov byte [eax + 0x35], dl
movzx ecx, byte [esp + 0x226]
mov byte [eax + 0x36], cl
movzx edx, byte [esp + 0x227]
mov byte [eax + 0x37], dl
movzx ecx, byte [esp + 0x228]
mov byte [eax + 0x38], cl
movzx edx, byte [esp + 0x229]
mov byte [eax + 0x39], dl
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0xa8]
mov dword [eax + 0x20], edx
mov eax, 1
mov ecx, dword [esp + 0xb00]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xafc
ret 0x10