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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5d1eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
xor edi, edi
push 1
mov dword [esp + 0x74], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edi
call fcn.004d1ed0
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x4a523d
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov ecx, ebx
mov esi, eax
call fcn.004d1f90
test eax, 0x1000
mov byte [esp + 0x3e], 0
je 0x4a3a8e
cmp esi, 3
jne 0x4a3a8e
mov byte [esp + 0x3e], 1
cmp esi, 4
mov byte [esp + 0x3f], 0
mov dword [esp + 0x58], edi
jne 0x4a3ab1
mov ecx, ebx
mov byte [esp + 0x3f], 1
mov byte [esp + 0x3e], 1
call fcn.005023a0
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 0x28]
mov eax, dword [edx + 0x10]
add esi, 0x28
push 1
mov ecx, esi
call eax
mov edi, eax
test edi, edi
je 0x4a523d
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 4]
push 0
push eax
push 0x18
call fcn.004b5290
add esp, 0xc
test eax, eax
je 0x4a3af3
mov ecx, eax
call fcn.004b9d40
mov dword [esp + 0x34], eax
jmp 0x4a3afb
mov dword [esp + 0x34], 0
push 0x5f37dc
lea ecx, [esp + 0xb8]
call fcn.0048cd50
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
mov dword [esp + 0x288], 0
call fcn.004ba020
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0x280], 0xffffffff
mov dword [esp + 0xb4], 0x5f1558
jb 0x4a3b5b
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004274fc
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
lea ecx, [esp + 0x40]
push esi
push ecx
mov dword [esp + 0x40], eax
call fcn.004a3110
xor esi, esi
add esp, 8
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
lea edx, [esp + 0x60]
push edx
mov ecx, ebx
mov dword [esp + 0x284], 1
call fcn.004a3640
mov eax, dword [esp + 0x64]
cmp eax, esi
je 0x4a3bdc
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a3bea
lea ecx, [esp + 0x60]
call fcn.004a64a0
jmp 0x4a523d
mov ecx, ebx
call fcn.004d7290
mov esi, eax
test esi, esi
mov dword [esp + 0x5c], esi
je 0x4a3bdc
push 0x5f37e4
lea ecx, [esp + 0x224]
call fcn.0048cd50
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x284], 2
call fcn.004e1ee0
test al, al
jne 0x4a3c40
mov edx, dword [esp + 0x48]
mov edi, dword [edx + 4]
mov ecx, esi
call fcn.004e69d0
push eax
mov ecx, edi
call fcn.00480290
mov esi, eax
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 4]
push 0
push eax
push 0x10
call fcn.004b5290
add esp, 0xc
test eax, eax
je 0x4a3c62
push esi
mov ecx, eax
call fcn.004b5410
jmp 0x4a3c64
xor eax, eax
mov ecx, dword [esp + 0x34]
push eax
lea eax, [esp + 0x224]
push eax
call fcn.004ba020
mov ecx, ebx
call fcn.004d2ce0
fstp qword [esp + 0x7c]
mov ecx, ebx
call fcn.004d38c0
cmp eax, 2
je 0x4a3c92
cmp eax, 3
jne 0x4a3c9c
fld qword [esp + 0x7c]
fadd st(0), st(0)
fstp qword [esp + 0x7c]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.004b8090
fld qword [esp + 0xdc]
fsub qword [esp + 0xd4]
push 0x48
fstp qword [esp + 0xe0]
fldz
fst qword [esp + 0xd8]
fld qword [esp + 0xe8]
fsub qword [esp + 0xf0]
fstp qword [esp + 0xe8]
fstp qword [esp + 0xf0]
call fcn.004274d1
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4a3d28
fld qword [esp + 0x7c]
sub esp, 0x20
fld st(0)
mov ecx, eax
fadd st(1)
fld qword [esp + 0x104]
fsub st(1)
fstp qword [esp + 0x18]
fsubr qword [esp + 0xfc]
fstp qword [esp + 0x10]
fst qword [esp + 8]
fstp qword [esp]
call fcn.0049d2d0
jmp 0x4a3d2a
xor eax, eax
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.0049f040
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push edi
lea eax, [esp + 0x50]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edx
call fcn.0049d770
push 4
call fcn.004274d1
add esp, 4
cmp eax, edi
je 0x4a3d83
mov dword [eax], 0x5f2ce8
mov dword [esp + 0x34], eax
jmp 0x4a3d87
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.0049f040
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edi
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.0049d770
push 4
call fcn.004274d1
add esp, 4
cmp eax, edi
je 0x4a3dd8
mov dword [eax], 0x5f2cd0
mov dword [esp + 0x34], eax
jmp 0x4a3ddc
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x34]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x58]
push edx
call fcn.0049f040
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
lea eax, [esp + 0x50]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edx
call fcn.0049d770
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xe
mov dword [esp + 0x38], eax
call esi
fld qword [esp + 0x7c]
fmul qword [0x5f2d48]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x64]
fsubr qword [esp + 0xe0]
mov dword [esp + 0x58], eax
fstp qword [esp + 0xa8]
fldz
fstp qword [esp + 0x78]
call fcn.004bba00
mov ebx, dword [eax]
mov esi, dword [eax + 4]
lea ecx, [ecx]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x64], eax
mov edi, eax
jbe 0x4a3e71
call fcn.0044b7ad
test ebx, ebx
je 0x4a3e7d
lea edx, [esp + 0x60]
cmp ebx, edx
je 0x4a3e82
call fcn.0044b7ad
cmp esi, edi
je 0x4a3eef
test ebx, ebx
jne 0x4a3e8f
call fcn.0044b7ad
cmp esi, dword [ebx + 8]
jb 0x4a3e99
call fcn.0044b7ad
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x4a3ea6
mov eax, dword [edi]
jmp 0x4a3ea8
mov eax, edi
mov ecx, dword [esp + 0x5c]
push eax
call fcn.004e67a0
fcomp qword [esp + 0x74]
fnstsw ax
test ah, 5
jnp 0x4a3edd
cmp esi, dword [ebx + 8]
jb 0x4a3ec7
call fcn.0044b7ad
cmp dword [esi + 0x18], 8
jb 0x4a3ecf
mov edi, dword [edi]
mov ecx, dword [esp + 0x5c]
push edi
call fcn.004e67a0
fstp qword [esp + 0x74]
cmp esi, dword [ebx + 8]
jb 0x4a3ee7
call fcn.0044b7ad
add esi, 0x1c
jmp 0x4a3e60
fld qword [0x6010c8]
mov edi, dword [esp + 0x70]
mov ecx, edi
fstp qword [esp + 0x8c]
call fcn.004d4610
fst qword [esp + 0x84]
fld st(0)
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x4a3fe1
cmp byte [esp + 0x3f], 0
fstp st(1)
je 0x4a3f3e
fstp st(0)
fld qword [0x5f38b8]
fst qword [esp + 0x84]
jmp 0x4a3fe3
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4a3f5f
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
fld qword [esp + 0x7c]
fadd st(0), st(0)
mov dword [esp + 0x48], eax
fsubr qword [esp + 0xe4]
fild dword [esp + 0x48]
jge 0x4a3f7e
fadd qword [0x659f10]
fmul qword [esp + 0x8c]
fdivp st(1)
fst qword [esp + 0x84]
fld qword [esp + 0x74]
fmul st(1)
fucom st(2)
fnstsw ax
fstp st(2)
test ah, 0x44
jnp 0x4a3fbe
fld qword [esp + 0xa4]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4a3fbc
fmulp st(1)
fdivrp st(1)
fst qword [esp + 0x84]
jmp 0x4a3fc0
fstp st(2)
fstp st(1)
cmp byte [esp + 0x3e], 0
je 0x4a3fe3
fld qword [0x5f38b8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4a3fe1
fstp st(1)
fst qword [esp + 0x84]
jmp 0x4a3fe3
fstp st(0)
fmul qword [esp + 0x8c]
mov ecx, edi
fstp qword [esp + 0x12c]
call fcn.004d4130
mov ecx, edi
mov esi, eax
call fcn.004d4250
mov ebx, eax
lea eax, [esp + 0x184]
push eax
mov ecx, edi
call fcn.004d4340
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
push 1
push eax
lea ecx, [esp + 0x1d4]
call fcn.004b9e70
test esi, esi
mov byte [esp + 0x280], 3
je 0x4a4064
mov ecx, esi
call fcn.004b57d0
mov edi, dword [eax + 0x14]
mov ecx, esi
call fcn.004b57d0
cmp dword [eax + 0x18], 0x10
jb 0x4a4050
mov eax, dword [eax + 4]
jmp 0x4a4053
add eax, 4
push 0
push edi
push eax
lea edx, [esp + 0x1e8]
push edx
call fcn.004b6c70
test ebx, ebx
je 0x4a4082
push 1
lea ecx, [esp + 0x1f8]
call fcn.00506250
test eax, eax
je 0x4a4082
push eax
mov ecx, ebx
call fcn.004ba060
lea ecx, [esp + 0x1f4]
call fcn.004b5e10
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp eax, 4
mov edi, 0x5f14a0
jne 0x4a4364
push 0x38
call fcn.004274d1
mov esi, eax
add esp, 4
test esi, esi
je 0x4a415e
mov eax, dword [esp + 0x34]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov dword [esp + 0x30], edx
mov dword [esp + 0x134], edi
fild dword [esp + 0x30]
fld qword [0x5f38b0]
fdiv st(1), st(0)
fxch st(1)
fstp qword [esp + 0x13c]
movzx ecx, ah
mov dword [esp + 0x30], ecx
mov dword [esp + 0x144], edi
fild dword [esp + 0x30]
fdiv st(1)
fstp qword [esp + 0x14c]
movzx edx, al
mov dword [esp + 0x30], edx
mov dword [esp + 0x8c], edi
fild dword [esp + 0x30]
fdivrp st(1)
fstp qword [esp + 0x94]
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x148]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x100]
call fcn.004a5940
push eax
mov ecx, esi
mov dword [esp + 0x284], 7
mov dword [esp + 0x30], 0xf
call fcn.004a5810
jmp 0x4a4160
xor eax, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.0049f040
mov esi, eax
cmp dword [esi], 0
jne 0x4a418d
call fcn.0044b7ad
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp edx, dword [ecx + 4]
jne 0x4a419c
call fcn.0044b7ad
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi]
mov dword [esi + 4], eax
mov esi, eax
mov eax, dword [esp + 0x2c]
test al, 8
mov dword [esp + 0x40], ecx
je 0x4a41bb
and eax, 0xfffffff7
mov dword [esp + 0x2c], eax
test al, 4
je 0x4a41c6
and eax, 0xfffffffb
mov dword [esp + 0x2c], eax
test al, 2
je 0x4a41d1
and eax, 0xfffffffd
mov dword [esp + 0x2c], eax
test al, 1
mov dword [esp + 0x280], 3
je 0x4a41e7
and eax, 0xfffffffe
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov ecx, 1
sub ecx, eax
mov ebx, eax
mov dword [esp + 0x30], ecx
jmp 0x4a4200
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4a4368
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4a4368
mov ecx, dword [esp + 0x70]
push ebx
call fcn.00501a00
test al, al
je 0x4a435c
push 0x48
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a42ac
fld qword [esp + 0xe4]
mov edx, dword [esp + 0x30]
fld qword [esp + 0x7c]
add edx, ebx
test edx, edx
fsub st(1), st(0)
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
jge 0x4a4272
fadd qword [0x659f10]
fld qword [esp + 0x12c]
fmul st(1), st(0)
fxch st(3)
fsubrp st(1)
fld st(1)
fadd st(0), st(0)
fsubr qword [esp + 0xdc]
mov dword [eax], 0x5f2c08
mov dword [eax + 8], edi
fxch st(2)
fstp qword [eax + 0x10]
mov dword [eax + 0x18], edi
fstp qword [eax + 0x20]
mov dword [eax + 0x28], edi
fstp qword [eax + 0x30]
mov dword [eax + 0x38], edi
fstp qword [eax + 0x40]
jmp 0x4a42ae
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x58]
push edx
call fcn.0049f040
mov esi, eax
cmp dword [esi], 0
jne 0x4a42d7
call fcn.0044b7ad
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 4]
jne 0x4a42e6
call fcn.0044b7ad
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov edi, dword [esi]
mov dword [esi + 4], eax
push 4
mov esi, eax
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a430c
mov dword [eax], 0x5f3820
mov dword [esp + 0x34], eax
jmp 0x4a4314
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push esi
push edi
lea edx, [esp + 0x140]
push edx
call fcn.0049f040
mov esi, eax
cmp dword [esi], 0
jne 0x4a4338
call fcn.0044b7ad
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 4]
jne 0x4a4347
call fcn.0044b7ad
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov ecx, dword [esi]
mov dword [esi + 4], eax
mov dword [esp + 0x40], ecx
mov esi, eax
mov edi, 0x5f14a0
add ebx, 1
jmp 0x4a4200
mov esi, dword [esp + 0x44]
push 0x38
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a4427
fld qword [esp + 0x194]
mov dword [esp + 0x164], edi
fst qword [esp + 0x16c]
mov ecx, dword [esp + 0x2c]
fld qword [esp + 0x18c]
fst qword [esp + 0x15c]
or ecx, 0x10
mov dword [esp + 0x154], edi
fld qword [esp + 0x184]
fst qword [esp + 0x17c]
or ecx, 0x20
mov dword [esp + 0x174], edi
fst qword [esp + 0xfc]
fxch st(1)
or ecx, 0x40
fst qword [esp + 0x10c]
mov dword [esp + 0xf4], edi
fxch st(2)
mov dword [esp + 0x104], edi
fst qword [esp + 0x11c]
mov dword [esp + 0x114], edi
fxch st(1)
mov dword [eax], 0x5f3868
fstp qword [eax + 0x10]
mov dword [eax + 8], edi
fxch st(1)
fstp qword [eax + 0x20]
or ecx, 0x80
mov dword [eax + 0x18], edi
fstp qword [eax + 0x30]
mov dword [esp + 0x280], 0xb
mov dword [esp + 0x2c], ecx
mov dword [eax + 0x28], edi
jmp 0x4a4429
xor eax, eax
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
push edx
push eax
push esi
mov dword [esp + 0x5c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov edi, eax
call fcn.004b3d50
test ebx, ebx
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
jne 0x4a4466
call fcn.0044b7ad
mov esi, dword [esi + 4]
cmp esi, dword [ebx + 4]
jne 0x4a4473
call fcn.0044b7ad
cmp esi, dword [ebx + 4]
mov dword [esp + 0x50], esi
jne 0x4a4481
call fcn.0044b7ad
mov eax, dword [esp + 0x2c]
test al, al
mov esi, dword [esi]
jns 0x4a4494
and eax, 0xffffff7f
mov dword [esp + 0x2c], eax
test al, 0x40
je 0x4a449f
and eax, 0xffffffbf
mov dword [esp + 0x2c], eax
test al, 0x20
je 0x4a44aa
and eax, 0xffffffdf
mov dword [esp + 0x2c], eax
test al, 0x10
mov dword [esp + 0x280], 3
je 0x4a44c0
and eax, 0xffffffef
mov dword [esp + 0x2c], eax
push 4
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a44da
mov dword [eax], 0x5f3838
mov dword [esp + 0x34], eax
jmp 0x4a44e2
mov dword [esp + 0x34], 0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push esi
mov dword [esp + 0x5c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov edi, eax
call fcn.004b3d50
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov esi, dword [esi + 4]
cmp esi, dword [ebx + 4]
jne 0x4a451b
call fcn.0044b7ad
cmp esi, dword [ebx + 4]
mov edi, ebx
mov dword [esp + 0x50], esi
jne 0x4a452b
call fcn.0044b7ad
mov esi, dword [esi]
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x40], edi
call fcn.00504b00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
cmp edi, ecx
je 0x4a463b
cmp edi, dword [eax + 4]
jne 0x4a4565
call fcn.0044b7ad
mov ebx, dword [edi + 8]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
cmp eax, 0x38
jne 0x4a4594
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x22c]
push ecx
lea ecx, [ebx + 8]
call fcn.00402bb0
fld qword [esp + 0x84]
fstp qword [ebx + 0x30]
mov edx, dword [esp + 0x34]
cmp edi, dword [edx + 4]
jne 0x4a45a2
call fcn.0044b7ad
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
push edx
push esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov ebx, eax
call fcn.004b3d50
cmp dword [esp + 0x40], 0
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jne 0x4a45f6
call fcn.0044b7ad
mov esi, dword [esi + 4]
mov ebx, dword [esp + 0x8c]
cmp esi, dword [ebx + 4]
jne 0x4a460a
call fcn.0044b7ad
cmp esi, dword [ebx + 4]
mov dword [esp + 0x50], esi
jne 0x4a4618
call fcn.0044b7ad
mov ecx, dword [esp + 0x34]
cmp edi, dword [ecx + 4]
mov esi, dword [esi]
mov dword [esp + 0x40], ebx
jne 0x4a462c
call fcn.0044b7ad
mov edi, dword [edi]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
jmp 0x4a4553
mov ebx, dword [esp + 0x5c]
lea edx, [esp + 0xf4]
push edx
mov ecx, ebx
call fcn.004e0b10
mov ecx, eax
mov byte [esp + 0x280], 0xc
call fcn.004dcb40
fstp qword [esp + 0x4c]
mov eax, dword [esp + 0x104]
test eax, eax
mov byte [esp + 0x280], 3
je 0x4a46ae
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4a46ae
test edi, edi
je 0x4a46ae
mov eax, dword [edi]
test eax, eax
je 0x4a4695
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x4a46a5
push eax
call fcn.004274fc
add esp, 4
push edi
call fcn.004274fc
add esp, 4
fldz
mov edi, dword [esp + 0x64]
test edi, edi
fstp qword [esp + 0x9c]
je 0x4a46da
mov ecx, dword [esp + 0x68]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a46e3
call fcn.0044b7ad
mov edi, dword [esp + 0x64]
cmp dword [edi + 0x18], 8
jb 0x4a46ee
mov edi, dword [edi + 4]
jmp 0x4a46f1
add edi, 4
push edi
mov ecx, ebx
call fcn.004e67a0
fmul qword [esp + 0x84]
mov ecx, dword [esp + 0x70]
fstp qword [esp + 0x74]
call fcn.004d3f10
sub eax, 1
fld qword [0x659f30]
je 0x4a472a
sub eax, 1
jne 0x4a473e
fld qword [esp + 0xa4]
fsub qword [esp + 0x74]
jmp 0x4a4737
fld qword [esp + 0xa4]
fsub qword [esp + 0x74]
fmul st(1)
fstp qword [esp + 0x9c]
cmp byte [esp + 0x3e], 0
fld qword [esp + 0x7c]
fadd st(0), st(0)
fst qword [esp + 0x8c]
fsubr qword [esp + 0xe4]
je 0x4a476f
fld qword [esp + 0x12c]
fsub st(1), st(0)
fsub qword [esp + 0x84]
fmulp st(2)
faddp st(1)
jmp 0x4a4778
fsub qword [esp + 0x84]
fmulp st(1)
push 0x28
fstp qword [esp + 0xb0]
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a47ca
fld qword [esp + 0x8c]
mov dword [eax], 0x5f37f0
fadd qword [esp + 0x9c]
mov ecx, 0x5f14a0
mov dword [eax + 8], ecx
fstp qword [eax + 0x10]
mov dword [eax + 0x18], ecx
fld qword [esp + 0x4c]
fmul qword [esp + 0x84]
fsubr qword [esp + 0x7c]
fadd qword [esp + 0xac]
fstp qword [eax + 0x20]
jmp 0x4a47cc
xor eax, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov edi, eax
call fcn.004b3d50
test ebx, ebx
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
jne 0x4a4809
call fcn.0044b7ad
mov esi, dword [esi + 4]
cmp esi, dword [ebx + 4]
jne 0x4a4816
call fcn.0044b7ad
cmp esi, dword [ebx + 4]
mov edi, ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
jne 0x4a482a
call fcn.0044b7ad
cmp byte [esp + 0x3e], 0
mov esi, dword [esi]
mov dword [esp + 0x40], edi
je 0x4a4f8f
mov ecx, dword [esp + 0x58]
fldz
lea eax, [ecx*8]
fstp qword [esp + 0x9c]
sub eax, ecx
add eax, eax
add eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], 0
jmp 0x4a4870
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x4a5120
mov ecx, dword [esp + 0x68]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x48], eax
jae 0x4a5120
mov eax, dword [esp + 0x34]
cmp dword [eax + ebx + 0x18], 8
jb 0x4a48b0
mov ebx, dword [eax + ebx + 4]
jmp 0x4a48b4
lea ebx, [eax + ebx + 4]
mov ecx, dword [esp + 0x5c]
push ebx
call fcn.004e67a0
fmul qword [esp + 0x84]
mov ebx, dword [esp + 0x70]
mov ecx, ebx
fstp qword [esp + 0x8c]
call fcn.004d3f10
sub eax, 1
je 0x4a48ee
sub eax, 1
jne 0x4a4906
fld qword [esp + 0x74]
fsub qword [esp + 0x8c]
jmp 0x4a48ff
fld qword [esp + 0x74]
fsub qword [esp + 0x8c]
fmul qword [0x659f30]
fstp qword [esp + 0x9c]
cmp dword [esp + 0x58], 0
je 0x4a49b9
push 0x28
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a4948
fld qword [esp + 0x9c]
mov dword [eax], 0x5f37f0
fstp qword [eax + 0x10]
mov ecx, 0x5f14a0
fld qword [esp + 0x12c]
mov dword [eax + 8], ecx
fchs
mov dword [eax + 0x18], ecx
fstp qword [eax + 0x20]
jmp 0x4a494a
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov ebx, eax
call fcn.004b3d50
test edi, edi
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jne 0x4a498d
call fcn.0044b7ad
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x144]
cmp esi, dword [edi + 4]
jne 0x4a49a1
call fcn.0044b7ad
cmp esi, dword [edi + 4]
mov dword [esp + 0x78], esi
jne 0x4a49af
call fcn.0044b7ad
mov esi, dword [esi]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x40], edi
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
mov byte [esp + 0x3f], 0
call eax
cmp eax, 4
jne 0x4a4bb0
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.00501a00
test al, al
mov byte [esp + 0x3f], al
je 0x4a4bb0
push 0x38
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a4ada
mov ebx, dword [esp + 0x54]
mov edx, ebx
shr edx, 0x10
movzx ecx, dl
mov dword [esp + 0x30], ecx
mov ecx, 0x5f14a0
fild dword [esp + 0x30]
mov dword [esp + 0x1ac], ecx
fld qword [0x5f38b0]
fdiv st(1), st(0)
fxch st(1)
fst qword [esp + 0x1b4]
movzx ebx, bh
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x2c]
fild dword [esp + 0x30]
or edx, 0x100
mov dword [esp + 0x19c], ecx
fdiv st(2)
fst qword [esp + 0x1a4]
movzx ebx, byte [esp + 0x54]
mov dword [esp + 0x30], ebx
or edx, 0x200
fild dword [esp + 0x30]
mov dword [esp + 0x1bc], ecx
fdivrp st(3)
fxch st(2)
fst qword [esp + 0x1c4]
fst qword [esp + 0xfc]
fxch st(2)
or edx, 0x400
fst qword [esp + 0x10c]
mov dword [esp + 0xf4], ecx
fxch st(1)
mov dword [esp + 0x104], ecx
fst qword [esp + 0x11c]
mov dword [esp + 0x114], ecx
fxch st(2)
mov dword [eax], 0x5f3868
fstp qword [eax + 0x10]
mov dword [eax + 8], ecx
or edx, 0x800
fstp qword [eax + 0x20]
mov dword [eax + 0x18], ecx
mov dword [esp + 0x280], 0x10
fstp qword [eax + 0x30]
mov dword [esp + 0x2c], edx
mov dword [eax + 0x28], ecx
jmp 0x4a4adc
xor eax, eax
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
push edx
push eax
push esi
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov ebx, eax
call fcn.004b3d50
test edi, edi
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jne 0x4a4b1f
call fcn.0044b7ad
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x134]
cmp esi, dword [edi + 4]
jne 0x4a4b33
call fcn.0044b7ad
cmp esi, dword [edi + 4]
mov dword [esp + 0x78], esi
jne 0x4a4b41
call fcn.0044b7ad
mov eax, dword [esp + 0x2c]
test eax, 0x800
mov esi, dword [esi]
mov dword [esp + 0x40], edi
je 0x4a4b5b
and eax, 0xfffff7ff
mov dword [esp + 0x2c], eax
test eax, 0x400
mov ecx, 0x5f13d0
je 0x4a4b77
and eax, 0xfffffbff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1bc], ecx
test eax, 0x200
je 0x4a4b8e
and eax, 0xfffffdff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x19c], ecx
test eax, 0x100
mov dword [esp + 0x280], 3
je 0x4a4bb0
and eax, 0xfffffeff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1ac], ecx
push 0x24
call fcn.004274d1
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
mov byte [esp + 0x280], 0x11
je 0x4a4ca6
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4a4bf7
mov ecx, dword [esp + 0x68]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x48], eax
jb 0x4a4c00
call fcn.0044b7ad
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x34]
cmp dword [eax + edi + 0x18], 8
jb 0x4a4c11
mov eax, dword [eax + edi + 4]
jmp 0x4a4c15
lea eax, [eax + edi + 4]
push eax
lea ecx, [esp + 0xf8]
push ecx
mov ecx, dword [esp + 0x64]
call fcn.004e65a0
or dword [esp + 0x2c], 0x1000
lea edx, [esp + 0xb4]
push edx
mov ecx, eax
mov byte [esp + 0x284], 0x12
call fcn.0048c670
or dword [esp + 0x2c], 0x2000
lea edi, [ebx + 4]
mov dword [esp + 0x280], 0x14
mov dword [ebx], 0x5f3898
mov dword [esp + 0x7c], edi
push 0xffffffffffffffff
lea ecx, [edi + 4]
mov dword [edi], 0x5f1558
push 0
lea eax, [esp + 0xbc]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [esp + 0x28c], 0x15
mov byte [ecx + 4], 0
call fcn.00402bb0
mov dword [edi], 0x5f1580
mov edi, dword [esp + 0x40]
jmp 0x4a4ca8
xor ebx, ebx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push esi
mov dword [esp + 0x28c], 0x17
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov ebx, eax
call fcn.004b3d50
test edi, edi
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jne 0x4a4cf0
call fcn.0044b7ad
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x4c]
cmp esi, dword [edi + 4]
jne 0x4a4d01
call fcn.0044b7ad
cmp esi, dword [edi + 4]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
jne 0x4a4d19
call fcn.0044b7ad
mov ebx, dword [esp + 0x2c]
test ebx, 0x2000
mov edi, dword [esp + 0xa4]
mov esi, dword [esi]
mov dword [esp + 0x40], edi
je 0x4a4d74
and ebx, 0xffffdfff
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0x2c], ebx
jb 0x4a4d56
mov eax, dword [esp + 0xb8]
push eax
call fcn.004274fc
add esp, 4
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
test ebx, 0x1000
mov dword [esp + 0x280], 3
je 0x4a4dba
and ebx, 0xffffefff
cmp dword [esp + 0x110], 0x10
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xf4], 0x5f1558
jb 0x4a4dba
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.004274fc
mov edi, dword [esp + 0x44]
add esp, 4
cmp byte [esp + 0x3f], 0
je 0x4a4f6d
push 0x38
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a4e8e
fld qword [esp + 0x194]
mov ecx, 0x5f14a0
fst qword [esp + 0x16c]
mov dword [esp + 0x164], ecx
fld qword [esp + 0x18c]
fst qword [esp + 0x15c]
or ebx, 0x4000
mov dword [esp + 0x154], ecx
fld qword [esp + 0x184]
fst qword [esp + 0x17c]
or ebx, 0x8000
mov dword [esp + 0x174], ecx
fst qword [esp + 0xfc]
fxch st(1)
or ebx, 0x10000
fst qword [esp + 0x10c]
mov dword [esp + 0xf4], ecx
fxch st(2)
mov dword [esp + 0x104], ecx
fst qword [esp + 0x11c]
mov dword [esp + 0x114], ecx
fxch st(1)
mov dword [eax], 0x5f3868
fstp qword [eax + 0x10]
mov dword [eax + 8], ecx
fxch st(1)
fstp qword [eax + 0x20]
or ebx, 0x20000
mov dword [eax + 0x18], ecx
fstp qword [eax + 0x30]
mov dword [esp + 0x280], 0x1b
mov dword [esp + 0x2c], ebx
mov dword [eax + 0x28], ecx
jmp 0x4a4e90
xor eax, eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push esi
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov edi, eax
call fcn.004b3d50
mov edx, dword [esp + 0xac]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov esi, dword [esi + 4]
cmp esi, dword [edx + 4]
jne 0x4a4ee5
call fcn.0044b7ad
mov edi, dword [esp + 0xac]
cmp esi, dword [edi + 4]
mov dword [esp + 0x78], esi
jne 0x4a4efa
call fcn.0044b7ad
test ebx, 0x20000
mov esi, dword [esi]
mov dword [esp + 0x40], edi
je 0x4a4f12
and ebx, 0xfffdffff
mov dword [esp + 0x2c], ebx
test ebx, 0x10000
mov eax, 0x5f13d0
je 0x4a4f30
and ebx, 0xfffeffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x174], eax
test ebx, 0x8000
je 0x4a4f49
and ebx, 0xffff7fff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x154], eax
test ebx, 0x4000
mov dword [esp + 0x280], 3
je 0x4a4f6d
and ebx, 0xffffbfff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x164], eax
fld qword [esp + 0x8c]
mov eax, 1
add dword [esp + 0x48], eax
fstp qword [esp + 0x74]
add dword [esp + 0x58], eax
add dword [esp + 0x34], 0x1c
jmp 0x4a4870
push 0x24
call fcn.004274d1
mov ebx, eax
add esp, 4
mov dword [esp + 0x7c], ebx
test ebx, ebx
mov byte [esp + 0x280], 0x1c
je 0x4a503e
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4a4fd2
mov ecx, dword [esp + 0x68]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a4fdb
call fcn.0044b7ad
mov edi, dword [esp + 0x64]
cmp dword [edi + 0x18], 8
jb 0x4a4fe6
mov eax, dword [edi + 4]
jmp 0x4a4fe9
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0xf8]
push ecx
mov ecx, dword [esp + 0x64]
call fcn.004e65a0
or dword [esp + 0x2c], 0x40000
lea edx, [esp + 0xb4]
push edx
mov ecx, eax
mov byte [esp + 0x284], 0x1d
call fcn.0048c670
or dword [esp + 0x2c], 0x80000
lea eax, [esp + 0xb4]
push eax
mov ecx, ebx
mov dword [esp + 0x284], 0x1e
call fcn.004a5ea0
jmp 0x4a5040
xor eax, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push esi
mov dword [esp + 0x28c], 0x20
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov edi, eax
call fcn.004b3d50
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov esi, dword [esi + 4]
cmp esi, dword [ebx + 4]
jne 0x4a508c
call fcn.0044b7ad
cmp esi, dword [ebx + 4]
mov edi, ebx
mov dword [esp + 0x50], esi
jne 0x4a509c
call fcn.0044b7ad
mov ebx, dword [esp + 0x2c]
test ebx, 0x80000
mov esi, dword [esi]
je 0x4a50e8
and ebx, 0xfff7ffff
cmp dword [esp + 0xcc], 0x10
jb 0x4a50ca
mov eax, dword [esp + 0xb8]
push eax
call fcn.004274fc
add esp, 4
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
test ebx, 0x40000
mov dword [esp + 0x280], 3
je 0x4a5120
cmp dword [esp + 0x110], 0x10
mov dword [esp + 0xf4], 0x5f1558
jb 0x4a5120
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.004274fc
add esp, 4
push 4
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a513a
mov dword [eax], 0x5f3850
mov dword [esp + 0x54], eax
jmp 0x4a5142
mov dword [esp + 0x54], 0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x54]
push edx
push eax
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
call fcn.005c9550
mov ecx, dword [esp + 0x38]
push 1
mov ebx, eax
call fcn.004b3d50
test edi, edi
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jne 0x4a517b
call fcn.0044b7ad
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x4c]
cmp esi, dword [edi + 4]
jne 0x4a5196
call fcn.0044b7ad
cmp esi, dword [edi + 4]
jne 0x4a5196
call fcn.0044b7ad
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x280], 2
call fcn.004b9bf0
cmp dword [esp + 0x23c], 0x10
mov dword [esp + 0x220], 0x5f1558
jb 0x4a51cf
mov ecx, dword [esp + 0x228]
push ecx
call fcn.004274fc
add esp, 4
mov esi, dword [esp + 0x64]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x23c], 0xf
mov dword [esp + 0x238], ebx
mov byte [esp + 0x228], bl
mov dword [esp + method.CScrollView.virtual_364], 0x5f13d0
je 0x4a523d
mov edi, dword [esp + 0x68]
cmp esi, edi
je 0x4a5234
add esi, 0x18
cmp dword [esi], 8
jb 0x4a5219
mov edx, dword [esi - 0x14]
push edx
call fcn.004274fc
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x4a5208
mov esi, dword [esp + 0x64]
push esi
call fcn.004274fc
add esp, 4
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044abb9
mov esp, ebp
pop ebp
ret 4